Multi-Tenancy Pods
Pods provide logical isolation for groups of agents within your Anima organization. Each pod has its own agents, API keys, budgets, and security policies, enabling multi-tenant architectures and environment separation.Core Concepts
- Pod — An isolated namespace containing agents, keys, and resources
- API Key Scoping — Keys are scoped to a specific pod and cannot access resources in other pods
- Resource Isolation — Agents in one pod cannot interact with agents in another unless explicitly allowed
- Cross-Pod Policies — Configure controlled communication between pods when needed
Creating Pods
- Tab Title
- Tab Title
- Tab Title
API Key Scoping
API keys are scoped to a single pod. An agent created with a pod-scoped key automatically belongs to that pod.Resource Isolation
Each pod maintains isolation for:| Resource | Isolation Behavior |
|---|---|
| Agents | Agents only exist within their pod |
| API Keys | Keys only access resources in their pod |
| Email Domains | Domains are assigned per pod |
| Vault Secrets | Secrets are encrypted per-pod with separate keys |
| Cards | Card programs are scoped to pods |
| Webhooks | Webhook subscriptions are per-pod |
| Audit Logs | Logs are tagged with pod ID for filtering |
Cross-Pod Communication
When you need agents in different pods to communicate:Listing and Managing Pods
API Reference
| Endpoint | Method | Description |
|---|---|---|
https://api.useanima.sh/api/pods | POST | Create a pod |
https://api.useanima.sh/api/pods | GET | List all pods |
https://api.useanima.sh/api/pods/:id | GET | Get pod details |
https://api.useanima.sh/api/pods/:id | PUT | Update pod settings |
https://api.useanima.sh/api/pods/:id | DELETE | Delete a pod |
https://api.useanima.sh/api/pods/:id/api-keys | POST | Create a pod-scoped API key |
https://api.useanima.sh/api/pods/:id/api-keys | GET | List pod API keys |
https://api.useanima.sh/api/pods/:id/stats | GET | Get pod usage statistics |
https://api.useanima.sh/api/pods/bridges | POST | Create a cross-pod bridge |
Configuration
| Variable | Default | Description |
|---|---|---|
ANIMA_PODS_MAX_PER_ORG | 20 | Maximum pods per organization |
ANIMA_PODS_DEFAULT_MAX_AGENTS | 100 | Default max agents per pod |
ANIMA_PODS_CROSS_POD_DEFAULT | false | Allow cross-pod communication by default |
Next Steps
- Security — Pod-level security policies
- Audit Log — Filter audit events by pod
- Agent Registry — Register agents with pod context
