> ## Documentation Index
> Fetch the complete documentation index at: https://docs.negentro.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Client SDKs (TypeScript & Python)

> Official client libraries for TypeScript/Node.js ( @piyapi/sdk ) and Python ( piyapi-memory ).

## TypeScript / Node.js SDK (@piyapi/sdk)

```typescript TypeScript theme={null}
import { PiyAPIClient } from '@piyapi/sdk';

const client = new PiyAPIClient({
  apiKey: process.env.PIYAPI_API_KEY || 'sk_live_...',
});

async function main() {
  const memory = await client.memories.create({
    content: 'User prefers PostgreSQL and Python for AI projects.',
    tags: ['preferences', 'tech-stack'],
  });
  console.log('Created Memory ID:', memory.id);
}
main();
```

## Python SDK (piyapi-memory)

```python Python theme={null}
from piyapi_memory import PiyAPIClient

client = PiyAPIClient(api_key="sk_live_your_key_here")
memory = client.memories.create(
    content="User prefers PostgreSQL and Python for AI projects.",
    tags=["preferences", "tech-stack"]
)
print("Created Memory ID:", memory.id)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.