One canonical YAML. Apply to Codex, Claude, OpenCode, or Gemini — without rewriting a single rule.
$ npm install -g @agentstack/cli + @agentstack/cli@0.1.0 $ agentstack init ✓ Canonical profile created → agentstack.yaml Stop configuring AI tools from scratch every time you switch.
One YAML, any AI tool. Switch providers without rewriting rules or instructions.
Build, share and install profiles from GitHub. Community-driven tooling templates.
API keys never in plaintext. Backed by OS keychain or encrypted file backend.
Native support for Codex, Claude, OpenCode and Gemini — with more on the way.
Zero-config sync keeps your setup consistent across machines and teammates.
MIT-licensed CLI. No SaaS dependency, no lock-in. Your config, your way.
agentstack import --from codex --source ~/.codex/ Capture your existing AI tool configuration into a canonical profile.
# edit agentstack.yaml Add instructions, MCP servers, and skills to your canonical profile.
agentstack apply --to claude Deploy your profile to any supported AI tool — instantly.
version: 3
profile:
name: my-dev-setup
description: My portable AI coding environment
providers:
claude:
enabled: true
codex:
enabled: true
opencode:
enabled: false
instructions:
global: |
You are a senior TypeScript developer.
Prefer functional patterns and explicit types.
Always write tests for new code.
mcp_servers:
- id: filesystem
transport: stdio
command: npx
args: ["-y", "@modelcontextprotocol/server-filesystem", "."]
enabled: true
permissions:
command_policy: on-request One file, infinite portability
Works with your tools
One canonical profile — applied to any tool with a single command.