Build with a coding agent
Your agent writes the charts; the support server gives it the guides, a skill for building with tinyactors and the known issues with their workarounds. Every page of this site is Markdown for it too.
An agent writes one actor at a time
An actor reaches the world only through events. So an agent writes one from the events entering and leaving it, without reading the rest of your system.
A review of the agent's change reads one chart, where every state and transition is written down. In CI, tinyactors diff catches what a review can miss: here a renamed state that running orders still wait in.
tinyactors diff --breaking --exit-code deployed.tai order.scxml#### States
| State | Change | Breaking | Before | After |
| --- | --- | --- | --- | --- |
| paying | removed | yes | atomic in /scxml | |deployed.tai is the chart you last deployed, compiled with tinyactors compile (CI checks · tinyactors CLI). The command installs with mise or a release archive (Overview · tinyactors CLI).
Check charts in CI adds check, lint and diff to every pull request, so an agent's change that breaks a chart fails before anyone merges it.
Connect the support server
An agent that guesses at an API it has not seen writes code that fails at the first run. The server at https://mcp.tinyactors.dev/mcp lets it read the packages' guides instead, and reading needs no account.
In Claude Code, claude mcp add registers it under the name tinyactors-support:
claude mcp add --transport http tinyactors-support https://mcp.tinyactors.dev/mcpOn claude.ai, add it under Settings, Connectors, Add custom connector, with the same URL. Any other agent that connects to MCP servers over HTTP takes that URL too.
Then start with a prompt that names the skill, so the agent reads it whether or not your host lists the server's skills by itself:
Use the using-tinyactors skill from tinyactors-support to model my checkout as actors.What your agent can do there
- Search the docs
search_docssearches the packages' guides, andget_docreads one whole. - Read the skillsHosts with MCP's Skills extension list each skill as a
skill://resource; for the others,list_skillsandget_skillread them. - Find a workaround
known_issueslists the open issues, costliest first, with their workarounds, andget_issuereads one. - Report what cost it time
report_issue,attach_workaroundandattach_filestart a GitHub login the first time. Reports of the same problem become one issue, and the reporter hears when it changes. - Know what a report sendsOnly the fields your agent fills in, under your GitHub login. They are the repository and directory, a title, a body of what it did and saw, the minutes it cost, its commit and its session's link. No code goes with it unless the agent writes it into the body or attaches a file. Anyone can read an issue's title and first report, so keep secrets and private code out of them.
Where the host renders MCP Apps, as Claude, ChatGPT and VS Code do, known_issues opens an issue list to filter, read and report from.
The skill teaches your agent the workflow
The server's using-tinyactors skill says when a chart is worth its cost and how to build with one. Your agent reads it from the server, so there is nothing to install. Its workflow has five steps:
- Model the entitiesDecide which things are actors, who creates each kind, how they are named and how they end.
- Write the chartsOne
.scxmlfile per kind of actor, every side effect a send to an I/O processor or an invoked service. - Make the host and its processorsOne I/O processor per external system, such as a database or an HTTP client.
- Test on a simulated clockA
SimulatedClockand a stand-in for every processor, so timeouts take no time. - Decide what survives a restartPer kind of actor: a store with hibernation, snapshots of the whole host, or your own database.
A second skill, reporting-tinyactors-issues, has the agent look for a known issue before it reports one.
Every page is Markdown too
Add index.md to a page's address for its Markdown, as in /guides/hibernation/index.md. /llms.txt lists every page, and /llms-full.txt holds every page but the changelog in one file.