# A2CR AI Agent Guide
AI agents should use A2CR through MCP tools as working memory. Do not guess direct HTTP API calls.
The official WorkBaton path is the local stdio MCP wrapper named a2cr.
Do not use the legacy local SQLite API for WorkBaton saves.
Rules:
- When a resume prompt provides a Slot, first call resume_context(slot_name="...") or resume_context(slot_number=N).
- Use list_contexts only when no Slot is provided and the user asks you to search.
- During work, call save_context before the conversation gets long or at important milestones.
- Save only goal, current_state, next_action, and compact supporting facts.
- Never save secrets, API keys, Authorization headers, private database URLs, full transcripts, or long logs.
- Call get_account_limits before automatic saves.
Encryption:
- The local client key is managed by the user.
- Client-encrypted WorkBaton slots cannot be decrypted by the A2CR server.
- If the local client key is lost, old client-encrypted slots cannot be recovered.
- Slots saved after creating a new local client key can be read with that new key.