Agent Blueprint
Official# agentblueprint
CLI and MCP server for [Agent Blueprint](https://agentblueprint.ai). Create structured business profiles, generate pipeline artifacts, explore blueprint data, sync implementation state, and download full Agent Skills directories. Vendor-agnostic output works with ServiceNow, Salesforce, OpenClaw, or any platform.
Agent Blueprint is delivered through hands-on engagements; API tokens are issued to client teams. If your organization works with Agent Blueprint, this package connects your coding agents to your blueprint registry.
**Not a client? You don't need this package.** Agent Blueprint also has free tools that need no account or token:
- **Draw your agent:** have your coding agent draw a one-page blueprint of itself (what it can read, what it can change, who has to say yes) at [agentblueprint.ai/personal](https://agentblueprint.ai/personal). No sign-up.
- **Remote MCP server:** `https://agentblueprint.ai/mcp` (Streamable HTTP). No sign-in, read-only, keeps nothing. Tools: `list_benchmark_jobs`, `estimate_agent_cost`, `check_agent_one_page`, `render_agent_map`. Instructions for agents are at [agentblueprint.ai/agents](https://agentblueprint.ai/agents).
- **One-page agent template:** [agentblueprint.ai/agent-one-page-template](https://agentblueprint.ai/agent-one-page-template).
- **Agent cost benchmark:** measured cost and tokens for ten everyday jobs on Claude Code and Codex at [agentblueprint.ai/agent-cost-benchmark](https://agentblueprint.ai/agent-cost-benchmark).
## CLI Quick Start
```bash
# Install globally
npm install -g agentblueprint
# Store your API token (one-time)
agentblueprint login
# List blueprints
agentblueprint list
# Get a blueprint summary (JSON to stdout)
agentblueprint get blueprint <id>
# Get other artifacts
agentblueprint get business-case <id>
agentblueprint get use-case <id>
agentblueprint get implementation-plan <id>
agentblueprint get implementation-spec <id>
agentblueprint get business-profile
# Download as Agent Skills directory
agentblueprint download <id>
# Partner cross-org access
agentblueprint list --org <customer-org-id>
agentblueprint get blueprint <id> --org <customer-org-id>
```
Or run without installing via npx:
```bash
npx agentblueprint list --token <your-api-key>
npx agentblueprint get blueprint <id> --token <your-api-key>
```
## MCP Server Setup
The same binary auto-detects MCP mode when stdin is piped (non-interactive). No separate command needed.
Add to your Claude Code MCP config (`.claude/settings.json` or project settings):
```json
{
"mcpServers": {
"agent-blueprint": {
"command": "npx",
"args": ["-y", "agentblueprint", "serve"],
"env": {
"AGENT_BLUEPRINT_API_KEY": "<your-api-key>"
}
}
}
}
```
You can also start the MCP server explicitly with `agentblueprint serve`.
## Get an API Key
API access comes with an Agent Blueprint engagement. If your organization is a client:
1. Go to [Agent Blueprint Settings > API Tokens](https://app.agentblueprint.ai/settings/api-tokens)
2. Click "Create Token"
3. Copy the token (shown once)
Not a client yet? Get in touch at [agentblueprint.ai](https://agentblueprint.ai/#contact).
## Supported Headless Workflow
Current scope is intentionally narrow:
`existing PAT + existing org -> create_business_profile -> generate_use_cases -> generate_blueprint or trigger_full_pipeline -> get_generation_status -> download_blueprint`
This release does **not** handle organization creation, OAuth bootstrap, or free-form context extraction into the business profile.
## Download Blueprint as Agent Skills
Download a blueprint as a local Agent Skills directory that any coding agent can read from the filesystem. This is the recommended way to work with blueprints.
```bash
# Using the CLI (after `agentblueprint login`)
agentblueprint download <id>
agentblueprint download <id> --dir ./my-skills
# Or via npx
npx agentblueprint download --token <key> --blueprint <id>
```
This creates an Agent Skills directory structure:
```
.agent-blueprint/<blueprint-slug>/
├── SKILL.md # Overview + frontmatter (auto-discovered by agents)
├── references/
│ ├── business-context.md # Use case, pain points, transformation story
│ ├── agent-specifications.md # Full agent specs with tools, guardrails, metrics
│ ├── financial-case.md # ROI, cost breakdown, sensitivity, 5-year projection
│ ├── implementation-roadmap.md # Epics, stories, timeline, roles, dependencies
│ ├── architecture-decisions.md # Platform, pattern, integration gaps, feasibility
│ └── guardrails-and-governance.md # Risks, mitigation, per-agent guardrails
└── scripts/
└── validate-spec.sh # Structure completeness checker
```
The [Agent Skills](https://agentskills.io) standard is supported by Claude Code, Codex, Cursor, GitHub Copilot, Windsurf, and 18+ other coding agents. SKILL.md loads automatically at activation (~100 tokens), reference files load on demand.
## Available Tools
| Tool | Description |
|------|-------------|
| `create_business_profile` | Create or upsert a structured business profile for an existing organization |
| `generate_use_cases` | Generate normalized use cases from the current business profile and readiness assessment |
| `generate_blueprint` | Start blueprint generation for a chosen use case and return an `auditId` |
| `trigger_full_pipeline` | Start the full pipeline for an existing business profile and return a `jobId` |
| `get_generation_status` | Poll either blueprint generation or full-pipeline generation status |
| `list_blueprints` | List all blueprints (summaries) |
| `get_blueprint` | Blueprint summary — title, agents, phases, pattern |
| `get_business_case` | Business case summary — ROI, pilot economics, recommendation |
| `get_implementation_plan` | Implementation plan summary — epics, timeline, story counts |
| `get_use_case` | Use case analysis for a blueprint |
| `get_implementation_spec` | Implementation spec metadata |
| `get_business_profile` | Organization business profile |
| `download_blueprint` | Download full blueprint as Agent Skills file manifest |
The `generate_blueprint` and `trigger_full_pipeline` tools are asynchronous. Use `get_generation_status` to poll until the run completes, then call `download_blueprint` with the resolved `blueprintId`.
The `get_blueprint`, `get_business_case`, and `get_implementation_plan` tools return concise summaries optimized for agent context windows. For full details (agent specs, financial projections, user stories), use `download_blueprint` to get the complete Agent Skills directory.
## Available Resources
| URI | Description |
|-----|-------------|
| `agentblueprint://blueprints` | Blueprint list (JSON) |
| `agentblueprint://blueprints/{id}` | Blueprint detail (Markdown) |
| `agentblueprint://blueprints/{id}/spec` | Implementation spec (Markdown) |
## Authentication
Three ways to provide your API token (checked in this order):
1. `--token <key>` flag on any command
2. `AGENT_BLUEPRINT_API_KEY` environment variable
3. `agentblueprint login` (saved to `~/.config/agentblueprint/config.json`)
## Environment Variables
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `AGENT_BLUEPRINT_API_KEY` | No | — | Your API token (alternative to `agentblueprint login`) |
| `AGENT_BLUEPRINT_API_URL` | No | `https://app.agentblueprint.ai` | API base URL |
TDQS
Scored across 23 tools
Each tool targets a distinct entity or action (profile, blueprint, use case, etc.), with clear descriptions that differentiate similar operations like get_blueprint (summary) vs download_blueprint (full data). No two tools appear to overlap in purpose.
All 23 tools follow a consistent verb_noun pattern in snake_case (e.g., create_business_profile, list_blueprints, sync_implementation_state). The naming is predictable and easy to navigate.
23 tools is slightly above the typical well-scoped range of 3-15, but the complexity of managing blueprints, profiles, use cases, implementation plans, and progress tracking justifies the count. Each tool serves a necessary function.
The tool set covers the full lifecycle from profile creation to implementation tracking, including financial recalculation and metric reporting. Minor gaps like missing delete operations exist, but the core workflow is well-supported.