# CLI

> The @sommatic/cli command line will print any docs page as Markdown and set up the docs in your coding agent. Planned commands, and the plain HTTP you can use today.

Source: https://docs.sommatic.ai/en/agents/cli/ (updated 2026-11-26)

The CLI brings these docs to your terminal and to agents that work through a shell: one command prints a page as
Markdown, another configures your coding agent with the docs MCP server and the skills.

> **Note: Coming soon**
>
> `@sommatic/cli` ships from github.com/sommatic/sommatic-agent-toolkit and is not published yet. The commands below
> are the planned interface.

## Planned commands

| Command                         | What it will do                                                                            |
| ------------------------------- | ------------------------------------------------------------------------------------------ |
| `npx @sommatic/cli docs <path>` | Print a docs page as Markdown, for example `npx @sommatic/cli docs en/workflows/triggers`. |
| `npx @sommatic/cli agent setup` | Set up the docs in your coding agent: the MCP server and the skills, in one step.          |

Installed globally, the same commands run as `sommatic docs <path>` and `sommatic agent setup`.

## Today: plain HTTP

Every page is already available as Markdown at its address ending in `.md`, so any shell can read the docs now:

```bash
curl -s https://docs.sommatic.ai/en/workflows/triggers.md
curl -s https://docs.sommatic.ai/catalog/manifest.json
```

The same works for generated pages: a node is `https://docs.sommatic.ai/en/nodes/flow.if.md` and an API group is
`https://docs.sommatic.ai/en/api/reference/triggers.md`.

## Next steps

- [llms.txt and the catalog](https://docs.sommatic.ai/en/agents/llms-txt.md): Find the path of the page you need.
- [MCP server](https://docs.sommatic.ai/en/agents/mcp.md): The same docs as tools for your agent.
