# Resources

## Top-level resources

| Namespace            | Purpose                     |
| -------------------- | --------------------------- |
| `client.pod`         | Pods and nested resources   |
| `client.agent`       | Agents and versions         |
| `client.skill`       | Skills and versions         |
| `client.mcp`         | MCP servers and OAuth       |
| `client.vault`       | Vaults                      |
| `client.credential`  | Credentials                 |
| `client.fileStore`   | File stores                 |
| `client.memoryStore` | Memory stores               |
| `client.environment` | Environments                |
| `client.pat`         | Personal access tokens      |
| `client.session`     | Sessions                    |
| `client.replay`      | Replays                     |
| `client.registry`    | Public registry (read-only) |

## Nested under pods

| Namespace                        | Purpose               |
| -------------------------------- | --------------------- |
| `client.pod.project`             | Projects              |
| `client.pod.project.agent`       | Link agents           |
| `client.pod.project.fileStore`   | Attach file stores    |
| `client.pod.project.memoryStore` | Attach memory stores  |
| `client.pod.member`              | Manage members        |
| `client.pod.vault`               | Attach vaults         |
| `client.pod.session`             | Sessions and messages |
| `client.pod.routine`             | Routines and triggers |

## Method shape

```ts
const { data, error } = await client.agent.get({ path: { id } })

const { data } = await client.pod.project.create({
  path: { podId },
  body: { name, slug },
})

const { data } = await client.session.list({ query: { limit: 50 } })
```

Every method returns `{ data, error, request, response }`.

## Related

- **[Client](/sdk/client)** — client configuration.
- **[Errors](/sdk/errors)** — error handling.
- **[API reference](/api-reference)** — all endpoints.