Skip to content
Search docs
Search the docs and jump to the section
Sign in

Registry

Every part the platform has, by whether the generator can use it. Generated from packages/domain/src/registry.ts by pnpm docs:registry; do not edit. See Creation schema.

Offered to the generator

Built, and the generator can use it when it turns a description into a plan.

  • thing agent: One agent doing one job: a name, a role and a task.
  • thing workflow: Ordered steps, each a task done by one agent.
  • thing schedule: Runs a saved agent or workflow every hour, day or week at a time in a time zone.
  • trigger now: The work runs once, when it is described.
  • trigger schedule: Every hour, day or week at a time in a time zone.
  • ability code: Reason, and run JavaScript with no files or network.
  • ability ask_user: Stop and ask the person who asked for the work.
  • ability classify: Label or score data against questions.
  • ability shell: Run commands in the run’s own Linux sandbox.
  • ability files: Write files in /work, the work’s project, kept with the run and for its next run.
  • ability web: Read web pages: the hosts the sandbox network allows, or any page through a connected service that fetches pages.
  • ability provider_api: Call a connected model provider from the sandbox, the key held by the gateway.
  • ability http_service: Call a connected HTTP API or GitHub.
  • ability mcp_service: Call the tools of a connected MCP server.
  • ability github_git: Clone, fetch and push a GitHub repository.
  • ability web_search: Search the web through a connected search service.

Built, not offered to the generator

A person or the platform can use these; the generator cannot. Each says why.

  • thing equipment: The procedure an agent worked out, given to its later runs. Why: An agent works it out on a run; it is not planned ahead.
  • thing run: One execution, with its step results and kept files. Why: A run is the work being done, not a part of a plan.
  • thing factory: A saved team: a lead and members that work in rooms. Why: Made from /new by define_factory beside a plan, not as a step of one.
  • thing factory_member: An agent in a factory, with a role, a model and allowed tools. Why: Written with its factory: from a starter, or by the run that fits the team to its brief.
  • thing factory_team: A team inside a factory: a name, one line of purpose, a lead and its members. Why: Written with its factory, or changed by asking; plans do not make one.
  • thing project: The folder of files a workflow, agent or factory keeps between runs, with a version for each save. Why: Every run with a sandbox works in its project; the generator has nothing to choose (apps/site/src/content/docs/engineering/projects.md).
  • thing factory_starter: A saved team (members and room settings) new factories start from. Why: A person saves a team as a starter; plans do not make one.
  • thing room: A conversation in a factory, with its participants. Why: Opened in a factory by a person or a member, not by a plan.
  • thing factory_message: A message in a room, and a member’s ask of other members. Why: Written in a room by a person or a member, not by a plan.
  • thing connection: Where an external service is reached, and its key. Why: It holds credentials; a person connects a service.
  • thing capability_binding: Which connection and model serve a capability. Why: An operator setting.
  • thing model_allow_list: The models a workspace may use; none listed means all. Why: An admin setting.
  • thing workspace: A workspace and the people in it. Why: Access, not work.
  • thing role_override: A workspace’s change to what a role may do. Why: Access, not work.
  • thing instance_settings: Worker concurrency, the email connection and the sandbox: host, network, limits, the images a sandbox can start from with what a probe found installed in each, and how many days to keep run detail, audit events and ended items. Why: An operator setting.
  • thing workspace_limit: How many runs a workspace may have running at once. Why: An operator setting.
  • thing instance_prices: What sandbox time and service calls cost, for the cost of a run. Why: An operator setting.
  • thing score: A question a judge answers about a sample of finished runs, pass or fail. Why: A workspace setting made on Observability → Scores.
  • ability team: Ask other members of a factory, or open a room. Why: Only a factory turn has other members to ask.

Planned

Not built. The generator can name one as the reason a request cannot be met.

  • trigger event: Incoming work, such as a new issue. Why: Not built.
  • ability standing_input: A value the person gives once, kept for later runs. Why: An answer is kept only for the run that asked.
  • ability file_input: A file the person supplies. Why: There is no upload.
  • ability delivery: Send the result somewhere, or notify someone. Why: Notifications are not built.

Tools

  • codemode: provides code
  • finish_step: provides ask_user, files
  • define_workflow: only in a generation
  • request_details: provides ask_user; only in a generation
  • propose_brief: only in a generation
  • look_up: only in a generation
  • define_factory: only in a generation
  • propose_starter_change: only in a team change
  • ask_members: provides team; only in a factory turn
  • open_room: provides team; only in a factory turn
  • classify: provides classify; a factory member can be allowed it
  • classify_rows: provides classify
  • shell: provides shell, files, web, provider_api; a factory member can be allowed it
  • connections_list: provides http_service, mcp_service; the generator can call it to look at what is connected
  • connection_request: provides http_service, web, web_search
  • mcp_list_tools: provides mcp_service; the generator can call it to look at what is connected
  • mcp_call_tool: provides mcp_service
  • github_git: provides github_git

Capabilities

  • classify@1: the classify tool
  • shell@1: the shell tool

Connection adapters

  • openai (model)
  • anthropic (model)
  • google (model)
  • openrouter (model)
  • mistral (model)
  • groq (model)
  • xai (model)
  • fireworks (model)
  • typesafe (model)
  • github (service): gives a run connections_list, connection_request, github_git
  • http (service): gives a run connections_list, connection_request
  • mcp (service): gives a run connections_list, mcp_list_tools, mcp_call_tool
  • docker-gvisor (sandbox)
  • daytona (sandbox)
  • docker-cloud (sandbox)

Services

A connection made from one of these keeps its name, so a plan knows what the connection can do.

  • tavily (http, api.tavily.com): web_search, web
  • brave (http, api.search.brave.com): web_search
  • kagi (http, kagi.com): web_search
  • firecrawl (http, api.firecrawl.dev): web, web_search
  • exa (http, api.exa.ai): web_search, web
  • linkup (http, api.linkup.so): web_search

Tables that are records, not things

  • api_keys: A person’s keys for the CLI and MCP, kept as a hash. Nothing makes or reads one yet.
  • starter_changes: Each change to a starter or a factory’s team, asked for in words: the run that proposed it, the proposal and whether it was applied or discarded. A new factory’s team is fitted to its brief by one applied automatically.
  • audit_events: What people, the system and agents did, written as it happens.
  • emails: Emails to send and how each went: queued by the web app, sent by a worker.
  • analytics.page_views: Visitor analytics: one row per page view, written by the web app; no IP address or cookie.
  • analytics.page_view_salt: Today's random salt for visitor hashes, replaced each UTC day.
  • audit_event_entities: The things each audit event touched.
  • definition_versions: A snapshot of an agent, workflow, factory or starter each time it changes, written with the change, and the run that made it when there was one.
  • run_events: What a run did, written by the worker.
  • observability.run_usage: Tokens and cost of a run, written by the worker.
  • observability.run_spans: Each model turn and tool call of a run, written by the worker.
  • observability.run_scores: A judge's verdict on a run for one score, written by the worker.
  • observability.run_totals: What each run came to, written by the worker when it pauses or ends: the metrics per piece of work and the costs read these.
  • observability.run_agent_totals: Model spend per agent within a run, written with the run’s totals.
  • connection_models: Models a connection was found to offer, by a check.
  • auth.session: Sign-in state.
  • auth.account: Sign-in state.
  • auth.verification: Sign-in state.
  • auth.invitation: Workspace invitations, their expiry and latest queued email.
  • durable.runs: The next id and commit sequence of a run’s durable state.
  • durable.record_ids: Which record type owns each id of a run’s durable state.
  • durable.conversations: A run’s Pi conversations.
  • durable.entries: The entries of a run’s Pi conversations.
  • durable.tasks: A run’s Pi tasks.
  • durable.submissions: What was submitted to a run’s Pi conversations.
  • durable.documents: A run’s Pi documents.
  • durable.document_revisions: The content of a run’s Pi documents, as a base and deltas.
This page as markdown apps/site/src/content/docs/engineering/registry.md