Control what your AI agents store. Audit everything.
Block bad data before storage. Prove what happened. Rollback when things break.
Python: pip install anchorai
TypeScript/JavaScript: npm install anchorai
Sign up at getanchor.dev to get your API key and workspace ID.
from anchor import Anchor
anchor = Anchor(api_key="your-api-key")
agent = anchor.agents.create("support-bot")
anchor.config.update(agent.id, {"policies": {"block_pii": True}})import { Anchor } from 'anchorai';
const anchor = new Anchor({ apiKey: 'your-api-key' });
const agent = await anchor.agents.create('support-bot');
await anchor.config.update(agent.id, { policies: { block_pii: true } });| Namespace | Purpose | API coverage |
|---|---|---|
anchor.agents |
Manage agents | create, get, list, update, delete, suspend, activate |
anchor.config |
Version configurations | get, update, versions, get version, rollback |
anchor.data |
Store data with policy enforcement | write, read, read full, delete, delete prefix, list, search |
anchor.checkpoints |
Create state snapshots and restore | create, list, get, restore, delete |
anchor.audit |
Keep hash-chained audit trail | query, get, verify, export |
https://docs.getanchor.dev/
Contributing: Please see CONTRIBUTING.md for guidelines.
License: This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- Website: https://getanchor.dev
- GitHub Issues: https://github.com/anchorco/anchor-sdk/issues
- Available at (click):
- Support: [email protected]