Start in one command
npm create agentmark@latest (or agentmark init inside an existing repo) wires every method below into the editors you select: it installs the agent skill and registers the docs and gateway MCP servers. Nothing else to configure.
Pick a method
There are three ways to connect an agent to AgentMark, plus the CLI. They all share the same gateway API, so pick the one that fits how your agent works. Most setups use several at once: the skill and docs MCP for authoring, the gateway MCP or CLI for driving the API.| Method | What it gives the agent | Reach for it when |
|---|---|---|
| Agent skill | The full AgentMark playbook (CLI commands, .prompt.mdx authoring, datasets, experiments, evals, git deploys), auto-loaded at session start | You want any agent to use AgentMark correctly, in any project |
| Docs MCP | A live query interface over the AgentMark docs, so the agent authors files from current guidance instead of memory | The agent is creating or editing prompts, datasets, or config |
| Gateway MCP | One MCP tool per gateway endpoint: traces, spans, datasets, scores, experiments, apps, deployments, environments, alerts | The agent speaks MCP and needs to drive or inspect AgentMark |
| CLI | The same gateway API from the shell, so the agent can pre-filter results before they reach its context window | The agent can run bash |
The skill and docs MCP help an agent author AgentMark correctly. The gateway MCP and CLI let it drive the API (query traces, manage deployments). They compose: a typical session uses the skill for conventions, the docs MCP for authoring, and the gateway MCP or CLI to inspect results.
Related documentation
Agent skill
Install the playbook so your agent already knows AgentMark
Docs MCP
Let your editor author files from the live docs
Gateway MCP
Drive the full AgentMark API from your editor
CLI commands
The same API from the shell, for bash-capable agents
Have questions?
Reach out any time:
- Email the team at hello@agentmark.co for support
- Schedule an Enterprise Demo to learn about AgentMark’s business solutions