AgentPlaybooks is a portable runtime environment for AI agents, with the core goal of no longer binding agent configuration to a single platform or editor. Through the concept of a "playbook," it centrally manages an agent's persona, project instructions, skills, MCP servers, memory, and skill attachments, forming a portable single source of truth. Users can sync or simultaneously use the same configuration across multiple platforms such as Claude, ChatGPT, Cursor, Codex, Gemini, and local models, thereby avoiding vendor lock-in.
Main capabilities include:
- Unified storage of personas, instructions, skills, MCP servers, and memory; skills follow the Agent Skills format, preserve frontmatter, and support round-trip syncing of attachments (scripts, references, templates).
- Support for "demonstrations," i.e., recordings of skill execution processes (YouTube, fixed URLs, or LeRobot datasets), with timestamped segments, suitable for agents that learn by watching.
- Provides an encrypted secrets vault (AES-256-GCM, with per-user derived keys); agents reference secrets by name, the platform injects them server-side, and secret values never enter the agent context; supports per-secret host allowlists and enforced expiration.
- Supports federation, connecting other MCP servers and OpenAPI services as tools into a playbook, with credentials resolved by name from the same vault.
- Provides audit trails recording federated calls, vault operations (including denials), configuration changes, and memory/canvas writes, without recording secret values or document bodies; the CLI can export JSONL/CSV and verify the hash chain.
- Supports canvas, i.e., versioned Markdown working documents, isolated by playbook run, making it easy for multiple teams to execute the same playbook without sharing work artifacts.
- Provides a CLI tool that can audit local agent configurations (instructions, skills, custom agents, MCP servers, hardcoded secrets, drift, etc.) and sync playbooks to Claude Code, Cursor, ChatGPT/Codex, GitHub Copilot, Gemini CLI, Google Antigravity, Grok Bot, Hermes Agent, and other targets.
- Supports export to formats such as Agent Plugin ZIP, JSON, OpenAPI, MCP, Anthropic, and Markdown; skills of public playbooks can be served over HTTP as plain Markdown, allowing installation from a URL without registration.
- Provides role-based access control (Viewer, Coworker, Admin), supports team collaboration, one-time edit invitation links, and sharing of public/private playbooks.
- Supports self-hosting, allowing users to keep agent configurations and credentials on their own infrastructure, and provides security and audit documentation.
Usage: Users can install the CLI via npm, run agentplaybooks doctor <project> to audit local configurations, run agentplaybooks sync <project> to generate a canonical agentplaybook.json and fill in files missing from target platforms. They can also use login、playbooks、pull、push Commands such as these are synchronized with the hosted playbook. Claude users can add it through the plugin marketplace, and Cursor and VS Code provide one-click installation links. The project also provides API and MCP interfaces for integration by other clients.
Use cases: developers who need to migrate between multiple AI platforms or use agent configurations in parallel; teams that want unified management of skills, MCP tools, and memory; enterprises with requirements for credential security and auditing; and organizations that want to self-host the agent runtime environment.
Limitations: The project requires Node.js 22+ and npm 11+, requires a Supabase project, and Cloudflare deployment is optional. Some features (such as audit forwarding and retention policies) require manual configuration by the operator. The hash chain provides tamper-evident evidence, but it is not a digital signature. RLS is not the primary runtime authorization mechanism; most API routes use the service role key to bypass RLS, and authorization is enforced in the application code.