AI - Agent Kit
The platformOS Agent Kit is everything platformOS gives an AI coding agent: a setup command, four MCP servers, and the Agent Playbook that runs inside the editor. Together they are what makes an agent able to work on a platformOS project without guessing.
If you only want to switch it on, start with AI-Assisted Development in Get Started. This section is the reference.
The pieces
| Piece | Command | Role |
|---|---|---|
| Setup wizard | pos-cli ai init |
Registers the servers below in your AI tool's own configuration file |
| Instance server | pos-cli mcp |
Operations on an instance: deploy, logs, GraphQL, Liquid, pages, tests, lint |
| Validation server | pos-cli-supervisor |
One tool, validate_code, run before a file is written |
| Liquid knowledge | hosted | Every Liquid tag, filter and object, looked up by name |
| GraphQL knowledge | hosted | Every GraphQL operation and type, with arguments and nullability |
| platformOS Agent Playbook | downloaded | The order of work, per-directory rules, topic files and a platformOS coding agent |
The servers are covered in MCP Servers. The Playbook has its own page.
Why a platform needs this
platformOS Liquid is its own dialect, with tags and filters other implementations do not have, and platformOS has GraphQL shapes of its own. The characteristic failure is not an error — it is code that deploys, answers 200, and quietly does the wrong thing:
- A bare
{{ product }}renders empty rather than raising, because everything lives undercontext.. {% assign list = list | array_add: item %}works, and dropping the assignment leaves the array empty.{% graphql %}placed below its own result renders blank with no error.- A missing translation key renders
translation missing: en.x.yas visible page copy, with a200status.
None of that is discoverable by trying harder. It needs a lookup — which is what the two knowledge servers are for — and a gate that reads the buffer before it reaches disk, which is what validate_code is for.
How the pieces fit together
The Agent Playbook sets out one order of work, and almost every step of it is a tool one of these servers provides:
| Step | Served by |
|---|---|
| Look the symbol up | platformos-liquid, platformos-graphql |
| Validate the buffer before writing | validate_code |
| Write the files | the editor, not a server |
| Preview, then deploy | deploy-dry-run, deploy-start |
| Make a real request | page-fetch |
| Read the data back | graphql-exec |
The servers make the order possible; the Playbook is what makes an agent follow it.