# Build with Pronoia > The same agents, from a terminal, a script, your own code or another AI tool. | Door | Use it to | Start | |---|---|---| | Terminal | Talk to agents and run work from a shell, CI or cron | [Install · sign in](/build/terminal) | | API | Call Pronoia from your own code | [API reference](/build/api) | | Webhooks | Start a routine when something happens elsewhere | [Webhooks](/build/webhooks) | | MCP | Give Claude Code, Codex or any MCP client your workspace's tools | [MCP](/build/mcp) | | Recipes | Copy a working script | [Recipes](/build/recipes) | Every door uses the same agents, threads, memory and approvals as the app. Nothing a script does skips a card. Every page here is also plain Markdown: add `.md` to its address. [`/llms.txt`](/llms.txt) lists them all, and [`/llms-full.txt`](/llms-full.txt) holds them in full. --- # API reference > 350 operations of pronoia.api/v1, version 1.0.0-draft. **52 of 350** operations are live today; the rest are the draft contract and answer 404 until they land. Live means the server registers the route. ## Sign in Send a personal access token as `Authorization: Bearer ` (make one in **Settings → Connections → MCP**), and name the workspace in the `Pronoia-Workspace` header. Every `POST` takes an `Idempotency-Key`. The full OpenAPI document is `contracts/openapi/pronoia.v1.yaml` in the source. Errors: [Errors, decoded](/use/errors#api). ## Meta What this server is and supports | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/meta` | Live | Server version, capabilities, extensions and limits | | GET | `/api/v1/server/doctor` | Live | The server's own checks, in pronoia doctor's report shape | ## Me The signed-in person | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/me` | Live | The signed-in person | | PATCH | `/api/v1/me` | Coming | Update your profile and onboarding | | GET | `/api/v1/me/export` | Coming | Everything Pronoia holds about you, as a JSON download | | GET | `/api/v1/me/invitations` | Coming | Invitations addressed to you | | GET | `/api/v1/me/invitations/{invitation}` | Coming | One invitation addressed to you | | POST | `/api/v1/me/invitations/{invitation}/accept` | Coming | Accept an invitation | | POST | `/api/v1/me/invitations/{invitation}/decline` | Coming | Decline an invitation | | POST | `/api/v1/me/account-links` | Coming | Link an outside chat account to you with the code it showed | | GET | `/api/v1/me/model-accounts` | Live | Your own model accounts | | POST | `/api/v1/me/model-accounts/connect` | Live | Start signing in to a model provider, on the provider's page or on a Computer | | GET | `/api/v1/me/model-accounts/connect/{card}` | Live | Where one of your model sign-ins on a Computer is (SIGNIN-FLOW) | | GET | `/api/v1/me/model-accounts/{account}` | Coming | One of your model accounts | | PATCH | `/api/v1/me/model-accounts/{account}` | Coming | Rename it, or make it your default for its provider | | DELETE | `/api/v1/me/model-accounts/{account}` | Coming | Disconnect it | ## Workspaces Workspaces | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/workspaces` | Live | Workspaces you are a member of | | POST | `/api/v1/workspaces` | Coming | Create a workspace (you become its owner) | | GET | `/api/v1/workspaces/{workspace}` | Live | Get a workspace | | PATCH | `/api/v1/workspaces/{workspace}` | Coming | Update a workspace (owner or admin) | | DELETE | `/api/v1/workspaces/{workspace}` | Coming | Delete a workspace | | POST | `/api/v1/workspaces/{workspace}/leave` | Coming | Leave a workspace | ## Members People in a workspace and invitations | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/members` | Live | Members of the workspace | | GET | `/api/v1/members/{member}` | Coming | One member (me for yourself) | | PATCH | `/api/v1/members/{member}` | Coming | Change a member's role (step-up) | | DELETE | `/api/v1/members/{member}` | Coming | Remove a member (step-up) | | GET | `/api/v1/invitations` | Coming | Open invitations to the workspace | | POST | `/api/v1/invitations` | Coming | Invite someone by email | | DELETE | `/api/v1/invitations/{invitation}` | Coming | Revoke an invitation | ## Agents Agents and templates | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/agents` | Live | List agents | | POST | `/api/v1/agents` | Coming | Create agent | | GET | `/api/v1/agents/{agent}` | Live | Get agent | | PATCH | `/api/v1/agents/{agent}` | Coming | Update agent | | DELETE | `/api/v1/agents/{agent}` | Coming | Delete agent | | POST | `/api/v1/agents/{agent}/archive` | Coming | Archive an agent | | POST | `/api/v1/agents/{agent}/restore` | Coming | Restore an agent | | POST | `/api/v1/agents/{agent}/cancel-runs` | Coming | Cancel every active run of an agent | | POST | `/api/v1/agents/batch` | Coming | Archive or delete up to 100 agents (delete needs step-up) | | GET | `/api/v1/agents/{agent}/model-accounts` | Coming | The Agent's per-provider order of your own model accounts (ruling 481) | | PUT | `/api/v1/agents/{agent}/model-accounts` | Coming | Set the order | | GET | `/api/v1/agents/{agent}/skills` | Coming | Skills an agent has | | PUT | `/api/v1/agents/{agent}/skills` | Coming | Replace an agent's Skills | | PUT | `/api/v1/agents/{agent}/skills/{skill}` | Coming | Give an agent a Skill (idempotent) | | PATCH | `/api/v1/agents/{agent}/skills/{skill}` | Coming | Enable or disable one of an agent's Skills | | DELETE | `/api/v1/agents/{agent}/skills/{skill}` | Coming | Take a Skill away from an agent | | GET | `/api/v1/agent-templates` | Coming | Agent templates | | GET | `/api/v1/agent-templates/{template}` | Coming | One agent template | ## Teams Teams of people and agents | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/teams` | Coming | List teams | | POST | `/api/v1/teams` | Coming | Create team | | GET | `/api/v1/teams/{team}` | Coming | Get team | | PATCH | `/api/v1/teams/{team}` | Coming | Update team | | DELETE | `/api/v1/teams/{team}` | Coming | Delete team | | POST | `/api/v1/teams/{team}/archive` | Coming | Archive a team | | POST | `/api/v1/teams/{team}/restore` | Coming | Restore a team | | GET | `/api/v1/teams/{team}/members` | Coming | People and agents on a team | | PUT | `/api/v1/teams/{team}/members/{principal}` | Coming | Add a person or agent to a team (idempotent; me joins) | | PATCH | `/api/v1/teams/{team}/members/{principal}` | Coming | Change a team member's role | | DELETE | `/api/v1/teams/{team}/members/{principal}` | Coming | Remove a person or agent from a team | ## Channels Channels | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/channels` | Live | List channels | | POST | `/api/v1/channels` | Coming | Create channel | | GET | `/api/v1/channels/{channel}` | Coming | Get channel | | PATCH | `/api/v1/channels/{channel}` | Coming | Update channel | | DELETE | `/api/v1/channels/{channel}` | Coming | Delete channel | | POST | `/api/v1/channels/{channel}/archive` | Coming | Archive a channel | | POST | `/api/v1/channels/{channel}/restore` | Coming | Restore a channel | | GET | `/api/v1/channels/{channel}/members` | Coming | Who is in a channel | | PUT | `/api/v1/channels/{channel}/members/{principal}` | Coming | Add a person or agent to a channel (idempotent) | | DELETE | `/api/v1/channels/{channel}/members/{principal}` | Coming | Remove a person or agent from a channel | ## Conversations Conversations with an agent or in a channel, and their messages | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/conversations` | Live | List conversations | | POST | `/api/v1/conversations` | Live | Create conversation | | POST | `/api/v1/direct-messages` | Live | Open a direct message | | GET | `/api/v1/conversations/{conversation}` | Live | Get conversation | | PATCH | `/api/v1/conversations/{conversation}` | Coming | Update conversation | | DELETE | `/api/v1/conversations/{conversation}` | Coming | Delete conversation | | POST | `/api/v1/conversations/{conversation}/read` | Coming | Mark a conversation read up to now | | GET | `/api/v1/conversations/{conversation}/cloud-computer` | Coming | The signed-in person's Cloud computer here, its state and History | | GET | `/api/v1/conversations/{conversation}/cloud-computer/apps/{app}/files` | Coming | An app's files on the Cloud computer's History, read-only | | GET | `/api/v1/conversations/{conversation}/cloud-computer/apps/{app}/file` | Coming | One file of an app, read-only | | POST | `/api/v1/conversations/{conversation}/cloud-computer/restore` | Coming | Restore a History point as a new point | | POST | `/api/v1/conversations/{conversation}/cloud-computer/size` | Coming | Choose the Cloud computer's size from its next wake | | POST | `/api/v1/conversations/{conversation}/cloud-computer/keep` | Coming | Keep the conversation's Cloud work in a project (files it there) | | GET | `/api/v1/conversations/{conversation}/messages` | Live | Messages, newest first by default | | POST | `/api/v1/conversations/{conversation}/messages` | Live | Send a message; the answer arrives as a run | | GET | `/api/v1/conversations/{conversation}/messages/{message}` | Coming | One message, with where its answer stands | | POST | `/api/v1/conversations/{conversation}/messages/{message}/rerun` | Coming | Ask again from this message (optionally edited or on another model); later messages fold | | POST | `/api/v1/conversations/{conversation}/messages/{message}/follow-ups` | Coming | Suggest fresh follow-ups for an answer | | GET | `/api/v1/conversations/{conversation}/drafts` | Coming | Unsent text the server kept for you | | DELETE | `/api/v1/conversations/{conversation}/drafts/{draft}` | Coming | Take a kept draft (it is gone after) | ## Work Work items, comments, dependencies, metadata, labels and pull requests | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/work-items` | Live | List Work items | | POST | `/api/v1/work-items` | Live | Create Work item | | GET | `/api/v1/work-items/{item}` | Live | Get Work item | | PATCH | `/api/v1/work-items/{item}` | Live | Update Work item | | DELETE | `/api/v1/work-items/{item}` | Coming | Delete Work item | | POST | `/api/v1/work-items/batch` | Coming | Update or delete up to 100 Work items; each id answers on its own | | GET | `/api/v1/work-items/summary` | Coming | Counts grouped by a field, with the list filters | | GET | `/api/v1/work-items/{item}/comments` | Live | Comments on a Work item, oldest first | | POST | `/api/v1/work-items/{item}/comments` | Live | Comment (mentions may start runs; dry_run shows which) | | GET | `/api/v1/comments/{comment}` | Coming | One comment | | PATCH | `/api/v1/comments/{comment}` | Coming | Edit your comment, or resolve or reopen it | | DELETE | `/api/v1/comments/{comment}` | Coming | Delete your comment | | PUT | `/api/v1/comments/{comment}/reactions/{emoji}` | Coming | React to a comment (idempotent) | | DELETE | `/api/v1/comments/{comment}/reactions/{emoji}` | Coming | Remove your reaction | | GET | `/api/v1/work-items/{item}/timeline` | Live | Comments and changes, in order | | GET | `/api/v1/work-items/{item}/dependencies` | Live | What this item depends on and what depends on it | | POST | `/api/v1/work-items/{item}/dependencies` | Live | Add a dependency (cycles are refused with dependency_cycle) | | DELETE | `/api/v1/work-items/{item}/dependencies/{dependency}` | Live | Remove a dependency | | GET | `/api/v1/work-items/{item}/metadata` | Live | Metadata entries | | PUT | `/api/v1/work-items/{item}/metadata/{key}` | Live | Set one metadata value | | DELETE | `/api/v1/work-items/{item}/metadata/{key}` | Live | Remove one metadata value | | PUT | `/api/v1/work-items/{item}/labels/{label}` | Coming | Label a Work item (idempotent) | | DELETE | `/api/v1/work-items/{item}/labels/{label}` | Coming | Unlabel a Work item | | PUT | `/api/v1/work-items/{item}/reactions/{emoji}` | Coming | React to a Work item (idempotent) | | DELETE | `/api/v1/work-items/{item}/reactions/{emoji}` | Coming | Remove your reaction | | GET | `/api/v1/work-items/{item}/followers` | Coming | Who is notified about this item | | PUT | `/api/v1/work-items/{item}/followers/{member}` | Coming | Follow (me) or add a follower | | DELETE | `/api/v1/work-items/{item}/followers/{member}` | Coming | Stop following | | GET | `/api/v1/work-items/{item}/runs` | Live | Runs for this item (same as /runs?work_item=) | | POST | `/api/v1/work-items/{item}/runs` | Coming | Run the assignee on this item again | | GET | `/api/v1/work-items/{item}/context` | Live | What an agent would be given for this item | | GET | `/api/v1/work-items/{item}/pull-requests` | Live | Pull requests linked to this item | | POST | `/api/v1/work-items/{item}/pull-requests` | Coming | Link a pull request by URL | | POST | `/api/v1/pull-requests/{pr}/merge` | Coming | Merge a linked pull request (a person's action) | | GET | `/api/v1/work-items/{item}/links` | Coming | Outside issues and pages linked to this item | | POST | `/api/v1/work-items/{item}/links` | Coming | Link an outside issue or page | | GET | `/api/v1/work-items/{item}/deployments` | Coming | Deployments of this item's change | | POST | `/api/v1/work-items/{item}/deployments` | Coming | Deploy this item's change (answers a card when approval is needed) | | POST | `/api/v1/work-items/{item}/move` | Coming | Keep working in the cloud, or pull to my laptop | | GET | `/api/v1/work-items/{item}/moves` | Coming | An item's moves | | GET | `/api/v1/work-items/{item}/moves/{handoff}` | Coming | One move | | GET | `/api/v1/labels` | Coming | List labels | | POST | `/api/v1/labels` | Coming | Create label | | GET | `/api/v1/labels/{label}` | Coming | Get label | | PATCH | `/api/v1/labels/{label}` | Coming | Update label | | DELETE | `/api/v1/labels/{label}` | Coming | Delete label | ## Projects Projects | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/projects` | Coming | List projects | | POST | `/api/v1/projects` | Coming | Create project | | GET | `/api/v1/projects/{project}` | Coming | Get project | | PATCH | `/api/v1/projects/{project}` | Coming | Update project | | DELETE | `/api/v1/projects/{project}` | Coming | Delete project | | GET | `/api/v1/projects/{project}/summary` | Coming | Where a project stands | | GET | `/api/v1/projects/{project}/resources` | Coming | Repositories, documents and links of a project | | POST | `/api/v1/projects/{project}/resources` | Coming | Add a resource to a project | | PATCH | `/api/v1/projects/{project}/resources/{resource}` | Coming | Update a project resource | | DELETE | `/api/v1/projects/{project}/resources/{resource}` | Coming | Remove a project resource | | GET | `/api/v1/projects/{project}/snapshots` | Coming | What the Project's task sandboxes fork from | | GET | `/api/v1/projects/{project}/snapshots/{snapshot}` | Coming | One snapshot and its scan | | POST | `/api/v1/projects/{project}/snapshots/rebuild` | Coming | Rebuild a repository's snapshot | ## Routines Routines, triggers, runs and deliveries | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/routines` | Coming | List routines | | POST | `/api/v1/routines` | Coming | Create routine | | GET | `/api/v1/routines/{routine}` | Coming | Get routine | | PATCH | `/api/v1/routines/{routine}` | Coming | Update routine | | DELETE | `/api/v1/routines/{routine}` | Coming | Delete routine | | POST | `/api/v1/routines/{routine}/activate` | Coming | Arm or resume a Routine: a card for a person, or a direct resume | | GET | `/api/v1/routines/{routine}/triggers` | Coming | A Routine's triggers | | POST | `/api/v1/routines/{routine}/triggers` | Coming | Add a trigger (a webhook trigger answers its secret once in the Location resource) | | PATCH | `/api/v1/routines/{routine}/triggers/{trigger}` | Coming | Update a trigger | | DELETE | `/api/v1/routines/{routine}/triggers/{trigger}` | Coming | Remove a trigger | | POST | `/api/v1/routines/{routine}/triggers/{trigger}/rotate-secret` | Coming | Rotate a webhook trigger's signing secret (answered once) | | PUT | `/api/v1/routines/{routine}/triggers/{trigger}/signing-secret` | Coming | Set a webhook trigger's signing secret (write-only) | | PUT | `/api/v1/routines/{routine}/collaborators/{member}` | Coming | Let a member edit this Routine | | DELETE | `/api/v1/routines/{routine}/collaborators/{member}` | Coming | Stop a member editing this Routine | | GET | `/api/v1/routines/{routine}/deliveries` | Coming | A Routine's inbound deliveries: each request its webhook triggers accepted or refused | | GET | `/api/v1/routines/{routine}/deliveries/{delivery}` | Coming | One inbound delivery, with its stored body | | POST | `/api/v1/routines/{routine}/deliveries/{delivery}/replay` | Coming | Replay an inbound delivery (re-dispatches the stored body with the same delivery id) | | GET | `/api/v1/routine-runs` | Coming | Routine runs | | POST | `/api/v1/routine-runs` | Coming | Run an active Routine now | | GET | `/api/v1/routine-runs/{routine_run}` | Coming | One Routine run | | POST | `/api/webhooks/v1/routines/{trigger}` | Coming | A signed delivery to a Routine's webhook trigger | ## Skills Skills | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/skills` | Coming | List skills | | POST | `/api/v1/skills` | Coming | Create skill | | GET | `/api/v1/skills/{skill}` | Coming | Get skill | | PATCH | `/api/v1/skills/{skill}` | Coming | Update skill | | DELETE | `/api/v1/skills/{skill}` | Coming | Delete skill | | GET | `/api/v1/skills/{skill}/revisions` | Coming | A Skill's history | | GET | `/api/v1/skills/{skill}/revisions/{revision}` | Coming | One revision | | POST | `/api/v1/skills/{skill}/revisions/{revision}/restore` | Coming | Make an old revision current (a new revision) | | GET | `/api/v1/skills/{skill}/files` | Coming | Files of a Skill | | GET | `/api/v1/skills/{skill}/files/{path}` | Coming | One file of a Skill | | PUT | `/api/v1/skills/{skill}/files/{path}` | Coming | Write one file (a new revision; If-Match is the Skill's rev) | | DELETE | `/api/v1/skills/{skill}/files/{path}` | Coming | Remove one file (a new revision) | | GET | `/api/v1/skills/{skill}/export` | Coming | The Skill as a plain folder, or its package | | POST | `/api/v1/skills/{skill}/test` | Coming | Run the Skill's tests | | GET | `/api/v1/skills/{skill}/eval-runs` | Coming | A Skill's test runs | | GET | `/api/v1/skills/{skill}/eval-runs/{run}` | Coming | One test run | | POST | `/api/v1/skills/{skill}/publish` | Coming | Release a revision as the Skill's version | | POST | `/api/v1/skills/{skill}/observations` | Coming | Record what was learned using a Skill; held until a check accepts it | | POST | `/api/v1/skill-imports` | Coming | Import Skills from a URL, repository or upload (scan mode lists without importing) | | GET | `/api/v1/skill-attachments` | Coming | Which runs get which Skills | | POST | `/api/v1/skill-attachments` | Coming | Attach a Skill to the workspace, a Project, an Agent or a channel | | PATCH | `/api/v1/skill-attachments/{attachment}` | Coming | Pin, unpin, enable or disable | | DELETE | `/api/v1/skill-attachments/{attachment}` | Coming | Detach | ## Plugins Plugins and packs | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/plugins` | Coming | Plugins and packs you can install, and those installed | | POST | `/api/v1/plugins/import` | Coming | Import another agent tool's plugin, MCP Registry entry or Skills repository: a plan first, then apply | | GET | `/api/v1/plugins/{plugin}` | Coming | One plugin, with what it would add | | POST | `/api/v1/plugins/{plugin}/install` | Coming | Install: answers the confirm card | | POST | `/api/v1/plugins/{plugin}/uninstall` | Coming | Uninstall: answers the confirm card | | PATCH | `/api/v1/plugins/{plugin}/installation` | Coming | Configure an installed plugin | | POST | `/api/v1/plugins/{plugin}/installation/check` | Coming | Run the plugin's read-only health check now | | GET | `/api/v1/plugins/{plugin}/dependents` | Coming | What uses a plugin | | GET | `/api/v1/plugin-jobs` | Coming | The jobs core defines and what serves each | | GET | `/api/v1/plugin-jobs/{job}` | Coming | One job | | PUT | `/api/v1/plugin-jobs/{job}` | Coming | Set which plugins serve a job, in order | | GET | `/api/v1/plugin-jobs/{job}/targets/{target}` | Coming | A target's pick, or how it resolves without one | | PUT | `/api/v1/plugin-jobs/{job}/targets/{target}` | Coming | Pick the plugin for one target | | DELETE | `/api/v1/plugin-jobs/{job}/targets/{target}` | Coming | Clear a pick | | GET | `/api/v1/plugin-swaps` | Coming | Swaps | | POST | `/api/v1/plugin-swaps` | Coming | Move connections to another plugin | | GET | `/api/v1/plugin-swaps/{swap}` | Coming | One swap | | POST | `/api/v1/plugin-swaps/{swap}/cancel` | Coming | Cancel a swap | | POST | `/api/v1/plugin-swaps/{swap}/items/{item}/keep` | Coming | Keep one connection where it is | ## Connections Connectors, connections, repositories and tool servers | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/connectors` | Coming | Apps Pronoia can connect to | | GET | `/api/v1/connectors/{connector}` | Coming | One connector declaration | | GET | `/api/v1/connections` | Coming | List connections | | POST | `/api/v1/connections` | Live | Start connecting an app: a person's ceremony, answered as a CONNECT card | | GET | `/api/v1/connections/{connection}` | Coming | Get connection | | PATCH | `/api/v1/connections/{connection}` | Coming | Update connection | | DELETE | `/api/v1/connections/{connection}` | Live | Delete connection | | POST | `/api/v1/connections/{connection}/reconnect` | Coming | Redo the ceremony for a connection that needs attention | | GET | `/api/v1/connections/{connection}/resources` | Coming | Repositories, channels or folders the connection can reach | | POST | `/api/v1/connections/{connection}/check` | Coming | Run the connection's read-only health check now | | GET | `/api/v1/connections/{connection}/grants` | Coming | Standing grants on a connection, revoked ones included | | POST | `/api/v1/connections/{connection}/grants` | Coming | Always allow one operation for one Agent's runs acting for you | | DELETE | `/api/v1/connections/{connection}/grants/{grant}` | Coming | Revoke a standing grant | | GET | `/api/v1/connections/{connection}/subscriptions` | Coming | Trigger subscriptions on a connection | | GET | `/api/v1/external-targets` | Live | Every URL the server registered with an outside service, and its check | | GET | `/api/v1/repositories` | Coming | Repositories the workspace works in | | POST | `/api/v1/repositories` | Coming | Add a repository from a connection | | DELETE | `/api/v1/repositories/{repository}` | Coming | Stop working in a repository | | GET | `/api/v1/tool-servers` | Live | Every tool server this workspace's runs can reach | | GET | `/api/v1/tool-servers/{server}` | Live | One tool server | | GET | `/api/v1/tool-servers/{server}/snapshot` | Live | Its tool snapshot, with each tool not offered and why | | POST | `/api/v1/tool-servers/probe` | Live | Look at an address before connecting it (owners and admins) | | POST | `/api/v1/tool-servers/{server}/check` | Live | Probe it now and take a new snapshot (owners and admins) | | GET | `/api/connectors/v1/callback/{connector}` | Coming | Where a connection ceremony returns | | POST | `/api/webhooks/v1/connectors/{subscription}` | Coming | An app's trigger delivery | ## Runners Runners (read side) and harness profiles | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/runners` | Live | Machines that run agents here | | GET | `/api/v1/runners/{runner}` | Live | One runner | | PATCH | `/api/v1/runners/{runner}` | Coming | Rename a runner | | DELETE | `/api/v1/runners/{runner}` | Coming | Revoke a runner (archive_agents=true also archives agents placed only on it) | | POST | `/api/v1/runners/{runner}/requests` | Coming | Ask a runner to update, list models or list or import local Skills | | GET | `/api/v1/runners/{runner}/requests/{request}` | Coming | Where a runner request stands | | GET | `/api/v1/harness-profiles` | Coming | List harness profiles | | POST | `/api/v1/harness-profiles` | Coming | Create harness profile | | GET | `/api/v1/harness-profiles/{profile}` | Coming | Get harness profile | | PATCH | `/api/v1/harness-profiles/{profile}` | Coming | Update harness profile | | DELETE | `/api/v1/harness-profiles/{profile}` | Coming | Delete harness profile | ## Runs Runs | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/runs` | Live | Runs, newest first | | GET | `/api/v1/runs/summary` | Coming | Run counts and time, grouped | | GET | `/api/v1/runs/{run}` | Live | One run | | POST | `/api/v1/runs/{run}/cancel` | Coming | Stop a run | | POST | `/api/v1/runs/{run}/retry` | Coming | Try a finished or failed run again as a new attempt | | GET | `/api/v1/runs/{run}/events` | Live | The run's stored events in seq order (the transcript) | | GET | `/api/v1/runs/{run}/toolbox` | Coming | The tools and Skills the run was given | | GET | `/api/v1/runs/{run}/context` | Coming | What the run was given as context | | GET | `/api/v1/working` | Coming | The runs going on that the caller may see (ruling 766b, api.md section 6.15) | ## Knowledge Knowledge pages and facts | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/knowledge/pages` | Coming | Knowledge pages you can see | | GET | `/api/v1/knowledge/search` | Coming | Search Knowledge for your own scope | | GET | `/api/v1/knowledge/pages/{page_path}` | Coming | One page, with its content | | PUT | `/api/v1/knowledge/pages/{page_path}` | Coming | Create or replace a page (If-Match for replace; If-None-Match: * to create only) | | DELETE | `/api/v1/knowledge/pages/{page_path}` | Coming | Delete a page | | GET | `/api/v1/knowledge/facts` | Coming | Facts, with their sources | | POST | `/api/v1/knowledge/facts` | Coming | Assert a fact as a draft; it needs at least one source | | GET | `/api/v1/knowledge/facts/{fact}` | Coming | One fact | | PATCH | `/api/v1/knowledge/facts/{fact}` | Coming | Accept or reject a draft fact | ## Files Files and artifacts | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/files` | Coming | Files and artifacts you can see | | POST | `/api/v1/files` | Live | Upload a file (multipart; at most meta.limits.upload_max_bytes) | | GET | `/api/v1/files/{file}` | Coming | A file's record | | PATCH | `/api/v1/files/{file}` | Coming | Rename, re-scope, attach or detach | | DELETE | `/api/v1/files/{file}` | Coming | Delete a file | | GET | `/api/v1/files/{file}/content` | Coming | The bytes, after a membership and audience check (never a bearer link) | ## Cards Inline cards (pronoia.cards/v1) | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/cards` | Coming | Cards (pronoia.cards/v1) | | GET | `/api/v1/cards/{card}` | Coming | One card | | POST | `/api/v1/cards/{card}/answer` | Coming | Answer a card; CONNECT, SIGN_IN and CONFIRM need an attended session | ## Needs you Attention items | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/needs-you` | Coming | What is waiting on you | | GET | `/api/v1/needs-you/{attention}` | Coming | One item | | PATCH | `/api/v1/needs-you/{attention}` | Coming | Snooze, dismiss, reopen or mark done | ## Notifications Notifications, preferences and push devices | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/notifications` | Coming | Your notifications, newest first | | GET | `/api/v1/notifications/summary` | Coming | Unread counts | | PATCH | `/api/v1/notifications/{notification}` | Coming | Mark read or unread, archive or unarchive | | POST | `/api/v1/notifications/bulk` | Coming | Mark read or archive everything matching a filter | | GET | `/api/v1/notification-preferences` | Coming | How you want to be told | | PATCH | `/api/v1/notification-preferences` | Coming | Change how you want to be told | | POST | `/api/v1/push-devices` | Coming | Register a device for push (the token is write-only) | | DELETE | `/api/v1/push-devices/{device}` | Coming | Stop pushing to a device | ## Pins and views Pins and saved view state | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/pins` | Coming | Your pins, in order | | POST | `/api/v1/pins` | Coming | Pin something | | DELETE | `/api/v1/pins/{pin}` | Coming | Unpin | | PUT | `/api/v1/pins/order` | Coming | Put your pins in this order | | GET | `/api/v1/views/{view}` | Coming | A saved view state of yours (rail order, board positions) | | PUT | `/api/v1/views/{view}` | Coming | Save a view state of yours | ## Search Search | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/search` | Live | Search what you can see | ## Secrets Secrets (values are write-only) | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/secrets` | Live | List secrets | | POST | `/api/v1/secrets` | Live | Create secret | | POST | `/api/v1/secrets/entry` | Live | Ask for the vault page for a secret's name | | GET | `/api/v1/secrets/{secret}` | Coming | Get secret | | PATCH | `/api/v1/secrets/{secret}` | Coming | Update secret | | DELETE | `/api/v1/secrets/{secret}` | Coming | Delete secret | | PUT | `/api/v1/secrets/{secret}/value` | Coming | Replace a secret's value (write-only) | | GET | `/api/v1/secrets/{secret}/bindings` | Coming | Where a secret is used | | POST | `/api/v1/secrets/{secret}/bindings` | Coming | Use a secret for an agent, Routine or connection | | DELETE | `/api/v1/secrets/{secret}/bindings/{binding}` | Coming | Stop using a secret there | ## Audit Audit | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/audit` | Coming | Who did what; members see entries about records they can see, owners and admins see all | | GET | `/api/v1/audit/{entry}` | Coming | One audit entry | ## Webhooks Outbound webhooks | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/webhooks` | Coming | List webhooks | | POST | `/api/v1/webhooks` | Coming | Create webhook | | GET | `/api/v1/webhooks/{webhook}` | Coming | Get webhook | | PATCH | `/api/v1/webhooks/{webhook}` | Coming | Update webhook | | DELETE | `/api/v1/webhooks/{webhook}` | Coming | Delete webhook | | POST | `/api/v1/webhooks/{webhook}/rotate-secret` | Coming | Rotate the signing secret; the old one also signs for 24 hours | | POST | `/api/v1/webhooks/{webhook}/ping` | Coming | Send a signed test delivery now | | GET | `/api/v1/webhooks/{webhook}/deliveries` | Coming | Recent deliveries (kept 30 days) | | GET | `/api/v1/webhooks/{webhook}/deliveries/{webhook_delivery}` | Coming | One delivery | | POST | `/api/v1/webhooks/{webhook}/deliveries/{webhook_delivery}/redeliver` | Coming | Send that event again as a new delivery | ## Usage (Cloud) Metered usage, a Cloud extension | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/ext/cloud/usage` | Coming | Metered usage rows (Cloud edition only; core answers 404) | | GET | `/api/v1/ext/cloud/usage/summary` | Coming | Usage totals grouped (Cloud edition only) | ## Computers Computers (pronoia.computer/v1) | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/computer/v1/computers` | Coming | Your Computers in the workspace | | POST | `/api/computer/v1/computers` | Coming | Activate a Computer | | GET | `/api/computer/v1/computers/{computer}` | Coming | The Computer resource | | DELETE | `/api/computer/v1/computers/{computer}` | Coming | Retire a Computer | | POST | `/api/computer/v1/computers/{computer}/wake` | Coming | Wake a paused, offline or failed Computer; a Home Computer also wakes when its person starts typing | | POST | `/api/computer/v1/computers/{computer}/pause` | Coming | Pause a Computer | | POST | `/api/computer/v1/computers/{computer}/restart` | Coming | Restart the machine and its runner | | POST | `/api/computer/v1/computers/{computer}/control/take` | Coming | One press takes control of a conversation's Agent Computer in every state, waking it first (rulings 675, 676) | | POST | `/api/computer/v1/computers/{computer}/control/end` | Coming | End their control, a workspace owner's or admin's press (ruling 683) | | POST | `/api/computer/v1/computers/{computer}/webrtc` | Coming | One single-use 60 s viewer grant for the Computer's WebRTC screen (owner ruling 2026-10-16, behind a flag) | | GET | `/api/computer/v1/webrtc` | Coming | The WebRTC screen's signaling WebSocket | | POST | `/api/computer/v1/computers/{computer}/run` | Coming | Run the person's own command on their chat's Agent Computer (COMPUTER-LIVE, its Terminal) | | POST | `/api/computer/v1/computers/{computer}/tabs` | Coming | Open a blank browser page of the person's own on their own Computer (ruling 846u, PERSON-BROWSER) | | DELETE | `/api/computer/v1/computers/{computer}/tabs/{tab}` | Coming | Close a browser page of the person's own (ruling 846u, PERSON-BROWSER) | ## Models Model sources, tiers and the model endpoint (pronoia.models/v1) | Method | Path | Now | Does | |---|---|---|---| | GET | `/api/v1/model-sources` | Coming | Where the model endpoint sends this workspace's calls | | POST | `/api/v1/model-sources` | Coming | Add a model source | | GET | `/api/v1/model-sources/{source}` | Coming | One model source | | PATCH | `/api/v1/model-sources/{source}` | Coming | Rename, change its secret, or make it the default | | DELETE | `/api/v1/model-sources/{source}` | Coming | Remove a model source | | POST | `/api/v1/model-sources/{source}/test` | Coming | Read the upstream's model list through the source's credential | | GET | `/api/v1/model-sources/{source}/models` | Coming | The models a source offers | | GET | `/api/v1/model-tiers` | Coming | Light, Balanced and Deep, each a model of the default source | | PUT | `/api/v1/model-tiers` | Coming | Map the tiers | | POST | `/api/model/v1/responses` | Coming | OpenAI Responses, through the Agent's source | | POST | `/api/model/v1/chat/completions` | Coming | OpenAI Chat Completions, through the Agent's source | | POST | `/api/model/v1/messages` | Coming | Anthropic Messages, only where discovery lists messages/v1 | | POST | `/api/model/v1/embeddings` | Coming | OpenAI Embeddings, for Pronoia's own search indexes only | ## Identity Device sign-in, a VM runner's confirmation and a self-hosted server's first owner (pronoia.identity/v1 §7.3, §7.5) | Method | Path | Now | Does | |---|---|---|---| | POST | `/api/identity/v1/login/device/start` | Coming | Start a device sign-in or a runner enrollment | | POST | `/api/identity/v1/login/device/approve` | Coming | Approve or deny a device request | | POST | `/api/identity/v1/login/device/poll` | Coming | Exchange a device code, no faster than interval_seconds | | GET | `/api/identity/v1/runners/{runner_id}/confirmation` | Coming | What "Is this your VM?" shows | | POST | `/api/identity/v1/runners/{runner_id}/confirmation` | Coming | Confirm or reject a VM runner | | GET | `/api/invitation-preview` | Coming | The signed-out invitation page's preview | | POST | `/api/identity/v1/setup/open` | Coming | Trade the first-owner setup token for the setup cookie | | POST | `/api/identity/v1/setup/claim` | Coming | Become the server's first owner | --- # Commands > Every pronoia command, version 0.1.0. ## Global flags | Flag | Does | |---|---| | `--context` | Use this context for one command | | `--debug` | Request ids, timings, method, path and status on stderr; never headers or bodies | | `--dry-run` | On a command that writes: print the request and send nothing | | `--fields` | Choose columns (table, plain) or top-level fields (json) | | `--format` | Output format: table, plain, json or ndjson | | `--json` | Machine output; the same as --format json | | `--no-color` | No colour | | `--no-input` | Never prompt; missing input exits 2 | | `--no-pager` | Never use the pager | | `--pager` | Force the pager | | `-q, --quiet` | Print only the ids or keys of what was created or changed | | `--server` | Use this server for one command; needs a stored credential for it | | `--timeout` | Per-request timeout (default 30s) | | `-w, --workspace` | Use this workspace (id or slug) for one command | | `-y, --yes` | Answer yes to confirmations | Exit codes: [Errors, decoded](/use/errors#terminal). ## pronoia agent Agents: list, view and read their runs ### `pronoia agent list` The workspace's agents ```sh pronoia agent list # Every agent you can see. ``` Exits: 0, 3, 4, 8, 9, 10, 11 ### `pronoia agent logs ` The latest (or --run) run's events: text, tool calls, results and notices | Flag | Does | |---|---| | `--run` | A run's id instead of the latest | ```sh pronoia agent logs @noia # What Noia did last. ``` Exits: 0, 3, 4, 5, 8, 9, 10, 11 ### `pronoia agent view ` One agent ```sh pronoia agent view @noia # Read one agent. ``` Exits: 0, 3, 4, 5, 8, 9, 10, 11 ## pronoia api A raw call to the member API with this context's credential and workspace ### `pronoia api ` A raw call to the member API with this context's credential and workspace Writes. | Flag | Does | |---|---| | `-f, --field` | A body field (or query parameter on GET), key=value | | `--header` | An extra header 'Name: value' (never Authorization) | | `--input` | The request body, from a file (- for stdin) | | `--paginate` | Follow every page of a list | ```sh pronoia api GET /work-items/PRO-12 # Read one Work item as the API returns it. pronoia api POST /work-items -f title=Draft # Create one. ``` Exits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 21 ## pronoia chat Conversations with an agent or a channel ### `pronoia chat list [@agent|#channel]` Conversations, with one destination or all | Flag | Does | |---|---| | `--archived` | Archived ones | | `--mine` | Only conversations you started | ```sh pronoia chat list @noia # Your conversations with Noia. ``` Exits: 0, 3, 4, 8, 9, 10, 11 ### `pronoia chat send [text]` Send a message; a destination without a conversation starts one Writes. | Flag | Does | |---|---| | `--file` | Attach a file (repeatable) | | `--idempotency-key` | Your own Idempotency-Key, so a retried command sends once | | `--message-file` | The message, from a file (- for stdin) | | `-p, --print` | Print mode: the same as --wait | | `--title` | A title for a new conversation | | `--wait` | Wait for the reply and print it (exit 20 when a card waits) | | `--wait-timeout` | How long --wait waits before exit 22 | ```sh pronoia chat send @noia 'What is left on PRO-12?' # Start a conversation with Noia. pronoia chat send --message-file notes.md --file shot.png # Reply with a file. echo 'How did Sprouts do?' | pronoia chat send @ava --wait --json # Print the reply; exit 20 when a card waits. ``` Exits: 0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 20, 21, 22 ### `pronoia chat view ` A conversation's transcript ```sh pronoia chat view # Read the transcript. ``` Exits: 0, 3, 4, 5, 8, 9, 10, 11 ## pronoia completion Generate the autocompletion script for the specified shell ### `pronoia completion` Generate the autocompletion script for the specified shell ```sh pronoia completion zsh > ~/.zfunc/_pronoia # Install zsh completion. ``` Exits: 0, 2 ## pronoia computer Computers: list, view, start and stop ### `pronoia computer list` Your Computers ```sh pronoia computer list # Every Computer you have. ``` Exits: 0, 3, 4, 8, 9, 10, 11 ### `pronoia computer start ` Wake a Computer Writes. ```sh pronoia computer start # Wake it. ``` Exits: 0, 3, 4, 5, 7, 8, 9, 10, 11 ### `pronoia computer stop ` Put a Computer to sleep; its disk is kept Writes. ```sh pronoia computer stop # Let it sleep. ``` Exits: 0, 3, 4, 5, 7, 8, 9, 10, 11 ### `pronoia computer view ` One Computer ```sh pronoia computer view # Read one Computer. ``` Exits: 0, 3, 4, 5, 8, 9, 10, 11 ## pronoia config Preferences (never credentials) ### `pronoia config edit` Open config.toml in your editor ```sh pronoia config edit --help # Its flags and arguments. ``` Exits: 0, 2 ### `pronoia config get ` One preference ```sh pronoia config get --help # Its flags and arguments. ``` Exits: 0, 2 ### `pronoia config list` Every preference that is set ```sh pronoia config list --help # Its flags and arguments. ``` Exits: 0, 2 ### `pronoia config path` Where config.toml lives ```sh pronoia config path --help # Its flags and arguments. ``` Exits: 0, 2 ### `pronoia config set ` Set a preference Writes. ```sh pronoia config set --help # Its flags and arguments. ``` Exits: 0, 2 ### `pronoia config unset ` Back to the default Writes. ```sh pronoia config unset --help # Its flags and arguments. ``` Exits: 0, 2 ## pronoia context Named server, workspace and credential pairs ### `pronoia context add` Add a context for another workspace on a server you're signed in to Writes. | Flag | Does | |---|---| | `--name` | The context's name (default: the workspace's slug) | | `--server` | The server's URL | | `--workspace` | The workspace (slug or id) | ```sh pronoia context add --help # Its flags and arguments. ``` Exits: 0, 2, 3, 5 ### `pronoia context current` The context commands use here, and why ```sh pronoia context current --help # Its flags and arguments. ``` Exits: 0, 3 ### `pronoia context link [name]` Use a context for this directory and everything below it (.pronoia.toml) Writes. | Flag | Does | |---|---| | `--project` | A default Project for new Work items here | ```sh pronoia context link --help # Its flags and arguments. ``` Exits: 0, 2, 3 ### `pronoia context list` Every context on this machine ```sh pronoia context list --help # Its flags and arguments. ``` Exits: 0 ### `pronoia context remove ` Remove a context from this machine (pronoia logout also ends its session) Writes. ```sh pronoia context remove --help # Its flags and arguments. ``` Exits: 0, 2, 3 ### `pronoia context rename ` Rename a context Writes. ```sh pronoia context rename --help # Its flags and arguments. ``` Exits: 0, 2, 3 ### `pronoia context unlink` Remove this directory's .pronoia.toml Writes. ```sh pronoia context unlink --help # Its flags and arguments. ``` Exits: 0, 2, 3 ### `pronoia context use ` Make a context current Writes. ```sh pronoia context use --help # Its flags and arguments. ``` Exits: 0, 2, 3 ## pronoia harness Agent tools on this machine ### `pronoia harness list` The agent tools this machine has: family, version and path ```sh pronoia harness list # Which agent tools would this machine offer? ``` Exits: 0 ## pronoia help Help for any command; --tree --json prints the whole tree as data ### `pronoia help [command]` Help for any command; --tree --json prints the whole tree as data | Flag | Does | |---|---| | `--tree` | The whole command tree as data (with --json) | ```sh pronoia help --tree --json # Every command, flag and exit code as data. ``` Exits: 0, 2 ## pronoia login Sign in to a Pronoia server in the browser and make a context for it ### `pronoia login [server-url]` Sign in to a Pronoia server in the browser and make a context for it Writes. | Flag | Does | |---|---| | `--name` | The new context's name | | `--no-browser` | Print the link instead of opening a browser | | `--with-token` | Read a personal access token from stdin (scripts and CI) | | `--workspace` | The workspace to use (slug or id) | ```sh pronoia login https://pronoia.example.com # Sign in to your own server. pronoia login https://pronoia.example.com --with-token < token.txt # Sign in a script with a personal access token. ``` Exits: 0, 1, 2, 3, 8, 11, 130 ## pronoia logout End this context's session and remove the context ### `pronoia logout` End this context's session and remove the context Writes. | Flag | Does | |---|---| | `--all` | Sign out of every context | ```sh pronoia logout # Sign out of the current context. pronoia logout --all # Sign out everywhere on this machine. ``` Exits: 0, 2, 3 ## pronoia open Open the workspace, or a Work item, in the browser ### `pronoia open [record]` Open the workspace, or a Work item, in the browser ```sh pronoia open # Open the app. pronoia open PRO-12 # Open one Work item. ``` Exits: 0, 3, 5, 11 ## pronoia run Runs: one agent's turn of work (a Task) ### `pronoia run list` Runs, newest first | Flag | Does | |---|---| | `--agent` | Only this agent's runs | | `--all` | Follow every page | | `--limit` | At most this many | | `--since` | Only runs since this time (RFC 3339) | | `--sort` | Sort order the server understands | | `--status` | Only runs in this state | | `--work` | Only runs for this Work item | ```sh pronoia run list --agent @noia # Noia's runs. ``` Exits: 0, 3, 4, 8, 9, 10, 11 ### `pronoia run logs ` A run's stored events ```sh pronoia run logs # What the run did. ``` Exits: 0, 3, 4, 5, 8, 9, 10, 11 ### `pronoia run view ` One run ```sh pronoia run view # Read one run. ``` Exits: 0, 3, 4, 5, 8, 9, 10, 11 ## pronoia runner This machine as a runner: connect it, run it, check it, disconnect it ### `pronoia runner connect [server-url]` Add this computer: one approval in the browser, then agents can use its tools Writes. | Flag | Does | |---|---| | `--foreground` | After the approval, run the runner in this terminal | | `--join-token-stdin` | Read your VM's single-use join token from stdin | | `--name` | The name this machine shows on the approval page (default: its host name) | | `--no-browser` | Print the approval link instead of opening a browser | | `--service` | After the approval, start the runner in the background without asking | ```sh pronoia runner connect https://pronoia.example.com # Add this computer; approve it once in the browser. pronoia runner connect https://pronoia.example.com --no-browser # On a machine without a screen: print the link to open elsewhere. ``` Exits: 0, 1, 2, 3, 8, 11, 22, 130 ### `pronoia runner disconnect` Take this machine off its server and delete its runner credential here Writes. ```sh pronoia runner disconnect # Stop offering this machine's tools. ``` Exits: 0, 8 ### `pronoia runner logs` The local runner log | Flag | Does | |---|---| | `-f, --follow` | Keep printing new lines | | `-n, --lines` | How many of the last lines to print (0 for all) | ```sh pronoia runner logs --follow # Watch what the runner does. ``` Exits: 0 ### `pronoia runner run` The runner process: take work from the server and run it with this machine's agent tools Writes. | Flag | Does | |---|---| | `--exit-after` | Exit after this many runs have ended | | `--foreground` | Run it in this terminal (the default; what the service runs) | | `--service` | Install and start it as a per-user service (launchd on macOS, systemd on Linux) | ```sh pronoia runner run --service # Run it in the background, now and after each login. pronoia runner run --foreground # Run it in this terminal; Ctrl-C stops it. ``` Exits: 0, 1, 3, 5, 11, 130 ### `pronoia runner status` This machine's runner: server, state and each agent tool it offers ```sh pronoia runner status # Is this machine connected, and which tools does it offer? ``` Exits: 0 ## pronoia version The binary's version and the contract majors it speaks ### `pronoia version` The binary's version and the contract majors it speaks ```sh pronoia version --json # The version as data. ``` Exits: 0 ## pronoia whoami Who and where: person, server, workspace, context and credential ### `pronoia whoami` Who and where: person, server, workspace, context and credential ```sh pronoia whoami # Check which server and workspace commands go to. ``` Exits: 0, 3, 4, 8, 9, 11 ## pronoia work Work items: list, view, create, change and comment ### `pronoia work assign [who]` Assign a Work item to a member, @agent or @me; assigning an agent starts its run Writes. | Flag | Does | |---|---| | `--none` | Unassign | ```sh pronoia work assign PRO-13 @noia # Hand it to the agent Noia. pronoia work assign PRO-13 --none # Unassign it. ``` Exits: 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20 ### `pronoia work comment [text]` Comment on a Work item, or --list its comments Writes. | Flag | Does | |---|---| | `--body-file` | The comment, from a file (- for stdin) | | `--list` | List the comments instead | ```sh pronoia work comment PRO-12 'Done when the golden files pass.' # Add a comment. pronoia work comment PRO-12 --list # Read them. ``` Exits: 0, 2, 3, 4, 5, 6, 8, 9, 10, 11, 20 ### `pronoia work context ` One bundle for an agent: the item, Parent item, dependencies, comments and the Project's brief ```sh pronoia work context PRO-12 --json # Everything an agent needs about one item. ``` Exits: 0, 3, 4, 5, 8, 9, 10, 11 ### `pronoia work create` Create a Work item and print its key Writes. | Flag | Does | |---|---| | `--assignee` | @me, @agent or a member | | `--audience` | me, channel or workspace | | `--body-file` | The description, from a file (- for stdin) | | `--label` | A label's id (repeatable) | | `--parent` | The Parent item (key or id) | | `--priority` | urgent, high, medium, low or none | | `--project` | The Project's id | | `--title` | The title | ```sh pronoia work create --title 'Fix the header' --parent PRO-10 # A Sub-item of PRO-10. pronoia work create --title 'Plan' --body-file plan.md -q # Print only the new key. ``` Exits: 0, 2, 3, 4, 5, 6, 8, 9, 10, 11, 20 ### `pronoia work deps [list|add|remove]` A Work item's dependencies: what it's blocked by Writes. | Flag | Does | |---|---| | `--blocked-by` | The other Work item (key or id) | ```sh pronoia work deps PRO-12 # What blocks it. pronoia work deps PRO-12 add --blocked-by PRO-11 # Block it on PRO-11. ``` Exits: 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 ### `pronoia work edit ` Change a Work item; fields you don't name stay as they are Writes. | Flag | Does | |---|---| | `--body-file` | New description, from a file (- for stdin) | | `--parent` | New Parent item (key or id), or none | | `--placement` | this_laptop, home_computer, task_sandbox, or agent to follow its Agent | | `--priority` | New priority | | `--project` | New Project id, or none | | `--title` | New title | ```sh pronoia work edit PRO-12 --title 'Build work view' # Rename it. pronoia work edit PRO-12 --parent none # Make it top level. ``` Exits: 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20 ### `pronoia work list` Work items, filtered | Flag | Does | |---|---| | `--all` | Follow every page | | `--assignee` | @me, @agent, a member, or none | | `--audience` | me, channel or workspace | | `--label` | Only this label (id) | | `--limit` | At most this many | | `--metadata` | Exact metadata match, key=value | | `--parent` | Only Sub-items of this Parent item (key or id), or none | | `--project` | Only this Project (id, or none) | | `--ready` | Only items whose blockers are all done | | `--search` | Match title and description | | `--sort` | Sort order the server understands | | `--status` | Only these statuses (comma-separated) | ```sh pronoia work list --assignee @me --status in_progress # What you're working on. ``` Exits: 0, 3, 4, 6, 8, 9, 10, 11 ### `pronoia work metadata [list|get|set|unset] [key] [value]` A Work item's metadata; set plan <value> replaces its Steps Writes. ```sh pronoia work metadata PRO-12 get plan # Its Steps. pronoia work metadata PRO-12 set bead_id CPG-812 # Set one key. ``` Exits: 0, 2, 3, 4, 5, 6, 8, 9, 10, 11 ### `pronoia work ready` Open Work items whose blockers are all done, by priority | Flag | Does | |---|---| | `--all` | Follow every page | | `--assignee` | @me, @agent, a member, or none | | `--audience` | me, channel or workspace | | `--label` | Only this label (id) | | `--limit` | At most this many | | `--metadata` | Exact metadata match, key=value | | `--project` | Only this Project (id, or none) | | `--sort` | Sort order the server understands | | `--status` | Only these statuses (comma-separated) | ```sh pronoia work ready # What can be started now. ``` Exits: 0, 3, 4, 6, 8, 9, 10, 11 ### `pronoia work status ` Set a Work item's status Writes. ```sh pronoia work status PRO-12 in_review # Hand it to review. ``` Exits: 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20 ### `pronoia work view ` One Work item: its Parent item, Sub-items, Steps and metadata | Flag | Does | |---|---| | `--comments` | Also print its comments | ```sh pronoia work view PRO-12 # Read one item. pronoia work view PRO-12 --comments # With its comments. ``` Exits: 0, 3, 4, 5, 8, 9, 10, 11 --- # MCP > Give Claude Code, Codex or any MCP client your workspace's tools. One address serves every tool your agents have: `https:///api/mcp`. The same rules apply as in the app: secrets are typed only by people, and consequential writes come back as proposals a person approves. ## Claude Code ```sh claude mcp add --transport http pronoia https:///api/mcp ``` Then open `/mcp` in Claude Code and sign in. Your browser opens; you approve there and choose what it may change. ## Codex ```toml # ~/.codex/config.toml [mcp_servers.pronoia] url = "https:///api/mcp" ``` Then run `codex mcp login pronoia` once. ## No browser? Make a key in **Settings → Connections → MCP**, then send it as a header: ```sh claude mcp add --transport http pronoia https:///api/mcp --header "Authorization: Bearer " ``` For Codex, keep the key in your shell, not the file: ```toml [mcp_servers.pronoia] url = "https:///api/mcp" bearer_token_env_var = "PRONOIA_API_KEY" ``` ## Tool list The tools are your workspace's: the ones its agents have, filtered by what the key or sign-in allows. Your client lists them after it connects. The copyable lines above are also in **Settings → Connections → MCP**. **Coming:** `pronoia mcp serve`, a local MCP server built from the terminal's own commands. --- # Recipes > Working scripts to copy. Recipes use the terminal's print mode. **Coming with the next terminal release:** `-p`, `--wait` and piped input. ## Nightly report to Slack ```sh # crontab: 0 7 * * * PRONOIA_TOKEN=… pronoia chat @ava -p "Post yesterday's sales recap to #sales" \ --no-input --idempotency-key "recap-$(date +%F)" ``` The agent posts with its own Slack connection. If posting needs your approval, the command exits 20 and prints the card's link. ## Wait for an approval ```sh pronoia chat @ava -p "Send the recap to Jenna" --json > out.json case $? in 0) jq -r .message.content out.json ;; 20) echo "Approve: $(jq -r '.cards[0].url' out.json)" ;; 22) echo "Still running: pronoia chat follow $(jq -r .conversation_id out.json)" ;; *) exit 1 ;; esac ``` ## Pipe a CSV ```sh cat orders.csv | pronoia chat @ava -p "Top 3 SKUs by units, as a table" ``` ## A Work item from CI Works today: ```sh pronoia work create --title "Fix flaky checkout test" --assignee @ava --project web ``` Assigning an agent starts its run. `pronoia work view ` shows where it is. --- # Scripting > Same agents, same threads. Replies print; cards stop the script. **Coming with the next terminal release:** `--wait`, `-p`, piped input on `chat send`, `--idempotency-key`, `--wait-timeout` and `chat follow`. Today `chat send` sends and returns; see [Commands](/build/commands#pronoia-chat) for what ships now. ## One shot ```sh pronoia chat @ava -p "How did Sprouts do this week?" ``` `-p` is `chat send --wait`: it sends, waits for the reply, prints it, then exits. A bare `ava` reads as `@ava`. ## Pipe in ```sh cat orders.csv | pronoia chat @ava -p "Top 3 SKUs?" ``` With no text and no `--message-file`, piped stdin is the message. `--message-file -` reads stdin too, and works today. ## JSON out ```sh pronoia chat @ava -p "Recap" --json | jq -r .message.content ``` ```json { "conversation_id": "th_8f2c01", "run_id": "run_41a9de", "state": "needs_you", "message": { "content": "Draft ready. Send it?" }, "cards": [{ "kind": "send_email", "url": "https://…/t/th_8f2c01" }], "cost_usd": 0.031 } ``` `state` is `done`, `needs_you` or `still_running`. `cost_usd` is null until the server reports it. ## Continue a thread ```sh pronoia chat send th_8f2c01 --wait "Make it shorter" pronoia chat follow th_8f2c01 ``` ## Retry safely ```sh pronoia chat @ava -p "Nightly recap" --idempotency-key "recap-$(date +%F)" ``` The same key returns the same conversation and message, so a retried script never asks twice. ## CI and cron ```sh # key from Settings → Connections → MCP PRONOIA_TOKEN=… pronoia chat @ava -p "Nightly recap" --no-input --wait-timeout 15m ``` ## Exit codes | Code | Means | Do | |---|---|---| | 0 | Done | Read stdout | | 20 | A card waits for a person | Open the printed link | | 21 | Needs the browser | Open the printed link and act there | | 22 | Still running | Wait longer, or `chat follow` | | 1 | The run failed | Read the error on stderr | 20, 21 and 22 are not failures: branch on them. Every code: [Errors, decoded](/use/errors#terminal). --- # Install · sign in > Put pronoia on your machine and sign in once in the browser. ## Install ```sh curl -fsSL https://pronoia.sh/install | sh ``` **Coming:** the public release. The installer puts `pronoia` in `~/.local/bin` and needs no admin password. ## Sign in ```sh pronoia login ``` Your browser opens on a page that names this machine. Check the name and approve. Nothing is typed or copied. Over SSH or with no browser, the command prints one link to open on any device where you are signed in. ```sh pronoia login https://pronoia.example.com # a self-hosted server pronoia whoami # who and where ``` ## In CI Make a key in **Settings → Connections → MCP**, then either: ```sh PRONOIA_TOKEN=… pronoia whoami # from the environment pronoia login --with-token < token.txt # from stdin ``` A token is never a flag value: flags leak into process lists and shell history. ## Contexts A context is a server, a workspace and a credential. `pronoia context list` shows them; `pronoia context link` pins one to a folder. Next: [Scripting](/build/scripting) · [Commands](/build/commands). --- # Webhooks > Start a routine when something happens elsewhere. ## Inbound: start a routine 1. Add a **Webhook** trigger to a routine. You get its address and a signing secret, shown once. 2. Point the sender at the address and give it the secret. 3. Each signed request starts one run. The body reaches the agent as outside data, never as instructions. **Signing.** HMAC-SHA256 of the raw body, sent as `X-Hub-Signature-256: sha256=`. ```sh body='{"order":"1042"}' sig=$(printf '%s' "$body" | openssl dgst -sha256 -hmac "$SECRET" | sed 's/^.* //') curl -X POST "$ADDRESS" -H "content-type: application/json" \ -H "X-Hub-Signature-256: sha256=$sig" -d "$body" ``` | Answer | Means | |---|---| | 2xx | Accepted. A repeat of the same `Idempotency-Key` (or `X-GitHub-Delivery`) for this trigger is recorded once and starts no second run. | | 400 | The body is not valid JSON | | 401 | Missing or bad signature | | 404 | Unknown address, a disabled trigger or a routine that is off | | 413 | Body over 256 KiB | Send an `Idempotency-Key` with each event so a retried delivery never runs twice. Every delivery is kept 30 days on the routine's **Deliveries** list, where you can replay one. **Coming:** the v1 address `/api/webhooks/v1/routines/{trigger}` with no secret in it, and Standard Webhooks signing. Today's address carries a token; treat it as a secret. ## Outbound **Coming:** subscribe to workspace events (routine runs, Work items, messages) and receive them signed at your own address. --- # Use Pronoia > Hire agents, talk to them, and let them work while you don't. ## 60-second start 1. Paste your website. Noia reads it and shows a first result. 2. Save your team: sign in with Google or a 6-digit email code. No password, no card. 3. Pick a hire. Noia proposes three; each comes ready with its Skills and routines. 4. Ask for something real. The agent works on its own Computer, and you can watch. ## Where to go next | You want to | Read | |---|---| | Ask well and get finished work | [Talking to agents](/use/talking-to-agents) | | Add a teammate for a job | [Hire a role](/use/hiring) | | Understand a message you saw | [Errors, decoded](/use/errors) | | Let work run on a schedule, safely | [Routine safety](/use/routine-safety) | | Connect an app | [Connections](/use/connections) | | Talk to agents from a terminal or script | [Build with Pronoia](/build) | Stuck? Paste what you see to Noia in any chat. --- # Connections > Every app your agents can use, and how to connect it. Connect an app once, for the whole team or just you. Agents then use it as you allow. | App | Status | |---|---| | [Air Goods](/use/connections/air-goods) | Portal | | [Aisle](/use/connections/aisle) | Portal | | [Amazon Seller Central](/use/connections/amazon) | Connect now | | [BlueCart](/use/connections/bluecart) | Portal | | [DoorDash](/use/connections/doordash) | Portal | | [Faire](/use/connections/faire) | Portal | | [Glimpse](/use/connections/glimpse) | Portal | | [Gmail](/use/connections/gmail) | Connect now | | [GNC](/use/connections/gnc) | Portal | | [Google Ads](/use/connections/google-ads) | Connect now | | [Gopuff Ads](/use/connections/gopuff) | Portal | | [Instacart](/use/connections/instacart) | Portal | | [KeHE](/use/connections/kehe) | Portal | | [Klaviyo](/use/connections/klaviyo) | Needs setup | | [Kroger](/use/connections/kroger) | Portal | | [Mable](/use/connections/mable) | Portal | | [Mercury](/use/connections/mercury) | Needs setup | | [Meta Ads](/use/connections/meta-app) | Needs setup | | [Plaid](/use/connections/plaid) | Needs setup | | [Pod Foods](/use/connections/pod-foods) | Portal | | [QuickBooks](/use/connections/quickbooks) | Connect now | | [RangeMe](/use/connections/rangeme) | Portal | | [Shopify](/use/connections/shopify) | Needs setup | | [Slack](/use/connections/slack) | Connect now | | [Specialty Food Partners](/use/connections/sfp) | Portal | | [Sprouts](/use/connections/sprouts) | Portal | | [SPS Commerce](/use/connections/sps-commerce) | Portal | | [Sysco Marketplace](/use/connections/sysco) | Portal | | [Target](/use/connections/target) | Portal | | [TikTok Ads](/use/connections/tiktok-ads-manager) | Connect now | | [TikTok Shop](/use/connections/tiktok-shop) | Portal | | [UNFI](/use/connections/unfi) | Portal | | [Walmart Marketplace](/use/connections/walmart) | Portal | Many more apps connect from **Connections → Browse**. Ask Noia for any app by name. --- # Air Goods > Portal. ## Connect 1. Ask your agent in chat to sign in to Air Goods on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Aisle > Portal. ## Connect 1. Ask your agent in chat to sign in to Aisle on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Amazon Seller Central > Connect now. ## Connect 1. Open **Connections** and pick Amazon Seller Central. 2. Sign in on its own page. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Sales | Marketplace orders and sales reports, read when you ask; no board fills from them yet | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # BlueCart > Portal. ## Connect 1. Ask your agent in chat to sign in to BlueCart on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # DoorDash > Portal. ## Connect 1. Ask your agent in chat to sign in to DoorDash on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Faire > Portal. ## Connect 1. Ask your agent in chat to sign in to Faire on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Glimpse > Portal. ## Connect 1. Ask your agent in chat to sign in to Glimpse on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Gmail > Connect now. ## Connect 1. Open **Connections** and pick Gmail. 2. Sign in on its own page. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Home | Retailer and broker mail becomes searchable context | | Product data | Distributor feeds that arrive by mail get picked up | | Trade promotions | Deduction notices that arrive by mail land in the match queue on their own | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # GNC > Portal. ## Connect 1. Ask your agent in chat to sign in to GNC on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Google Ads > Connect now. ## Connect 1. Open **Connections** and pick Google Ads. 2. Sign in on its own page. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Growth | Spend and return on ad spend join the one paid-media board | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Gopuff Ads > Portal. ## Connect 1. Ask your agent in chat to sign in to Gopuff Ads on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Instacart > Portal. ## Connect 1. Ask your agent in chat to sign in to Instacart on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # KeHE > Portal. ## Connect 1. Ask your agent in chat to sign in to KeHE on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Klaviyo > Needs setup. ## Connect 1. Mint a private API key in Klaviyo settings. 2. Open **Connections** and pick Klaviyo. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Growth | Lifecycle email and text revenue joins paid media | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Kroger > Portal. ## Connect 1. Ask your agent in chat to sign in to Kroger on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Mable > Portal. ## Connect 1. Ask your agent in chat to sign in to Mable on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Mercury > Needs setup. ## Connect 1. Mint an API token in Mercury settings. 2. Open **Connections** and pick Mercury. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Banking | Operating-account balance and movement in the cash board | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Meta Ads > Needs setup. ## Connect 1. Allow access to your ad accounts when Meta's sign-in asks for it. 2. Open **Connections** and pick Meta Ads. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Growth | Meta spend and return join the same paid-media board | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Plaid > Needs setup. ## Connect 1. Mint API keys in your Plaid dashboard. 2. Open **Connections** and pick Plaid. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Banking | Balances and transactions from the bank itself | | Cash | Bank side of the bank-versus-books tie-out | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Pod Foods > Portal. ## Connect 1. Ask your agent in chat to sign in to Pod Foods on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # QuickBooks > Connect now. ## Connect 1. Open **Connections** and pick QuickBooks. 2. Sign in on its own page. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Home | Profit and loss and open invoices, read when you ask; no board fills from them yet | | Cash | Open and past-due invoices, read when you ask; no cash board fills from them yet | | Banking | No bank-versus-books tie-out reads the ledger yet; the bank side stands alone | | Margin | Cost of goods and expenses in the profit and loss, read when you ask; no margin board fills from them yet | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # RangeMe > Portal. ## Connect 1. Ask your agent in chat to sign in to RangeMe on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Specialty Food Partners > Portal. ## Connect 1. Ask your agent in chat to sign in to Specialty Food Partners on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Shopify > Needs setup. ## Connect 1. Create a custom app in your Shopify store admin, then paste its key and secret. 2. Open **Connections** and pick Shopify. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Home | Orders, products and customers land as your sales spine | | Sales | Real order and revenue history instead of an estimate | | Inventory | Product catalog that inventory cover is measured against | | Product data | Your approved catalog becomes the rows this board scores every shelf against | | Margin | List price and the units behind every gross-to-net waterfall | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Slack > Connect now. ## Connect 1. Open **Connections** and pick Slack. 2. Sign in on its own page. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Home | Your chief of staff can write a Slack message for you to send; nothing posts to Slack on its own | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Sprouts > Portal. ## Connect 1. Ask your agent in chat to sign in to Sprouts on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # SPS Commerce > Portal. ## Connect 1. Ask your agent in chat to sign in to SPS Commerce on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Sysco Marketplace > Portal. ## Connect 1. Ask your agent in chat to sign in to Sysco Marketplace on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Target > Portal. ## Connect 1. Ask your agent in chat to sign in to Target on its website. 2. Type your login on the card that opens, or let a saved login fill. Its weekly report also arrives by email: connect the mailbox it lands in (one used only for these reports is safest) and share it with the whole workspace (Settings → Email Accounts). ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # TikTok Ads > Connect now. ## Connect 1. Open **Connections** and pick TikTok Ads. 2. Sign in on its own page. 3. Choose who can use it: **Team** or **Private**. ## What it unlocks | Where | What | |---|---| | Growth | TikTok paid spend sits beside Google and Meta on one board | ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # TikTok Shop > Portal. ## Connect 1. Ask your agent in chat to sign in to TikTok Shop on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # UNFI > Portal. ## Connect 1. Ask your agent in chat to sign in to UNFI on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Walmart Marketplace > Portal. ## Connect 1. Ask your agent in chat to sign in to Walmart Marketplace on its website. 2. Type your login on the card that opens, or let a saved login fill. ## Who can use it **Team** or **Private**, chosen when you connect. Coming: each ability **Always**, **Ask first** or **Off**, for each agent. ## Trouble See [Errors, decoded](/use/errors#connecting-apps). --- # Errors, decoded > What you see, what it means, what to do. ## In chat When an agent asks a teammate and the teammate can't start, the chat shows one line: **Ava didn't start, because …** | You see | Reason | Do | |---|---|---| | [Agent] didn't start, because this workspace needs a plan or more credits | `billing` | Add credits or pick a plan in Settings → Billing. Nothing is lost. | | [Agent] didn't start, because it isn't in this channel | `not_in_room` | Add the agent to this channel, then ask again. | | [Agent] didn't start, because N teammates are already working here | `limit` | Wait for one to finish, or ask in a new chat. | | [Agent] didn't start, because the person who asked can't use it here | `not_allowed` | Ask an admin to give you access to that agent. | | [Agent] didn't start, because it's already working on this here | `already_open` | Nothing to do. Its reply lands in the same thread. | | [Agent] didn't start, because it isn't available right now | `unavailable` | Try again in a minute. If it repeats, open the agent's page. | ## Signing in and invites | You see | Do | |---|---| | We couldn’t send the code just now. Your email is fine. Try again in a moment. | Wait a moment, then send the code again. | | We just sent you a code. Wait a minute before asking for another. | Wait a minute, then ask for a new code. | | That code didn’t work. Use the newest email from us, or send a new code. | Use the newest code, or send a new one. | | We couldn’t check the code just now. Try again in a moment. | Try the same code again in a moment. | | Failed to authorize CLI. Please log in again. | Run `pronoia login` again. | | Invite only | Ask someone in the workspace to invite your email. | | Invite only · Waitlist at pronoia.sh | Join the waitlist, or ask for an invite. | | We couldn’t add you just now. Try again in a moment. | Open the invite link again. | | We couldn’t decline just now. Try again in a moment. | Open the invite link again. | | This invite expired before you accepted it. Ask [Name] for a new one. | Ask for a new invite. | | This invite is for another email. Sign in with the email it was sent to. | Sign out, then sign in with the invited email. | | Pronoia is invite only for now. | Ask for an invite. | A refused sign-in carries one of these reasons: | Reason | Do | |---|---| | `invite_only` | Ask someone in the workspace to invite your email. | | `email_not_allowed` | Sign in with an email the server allows, or ask its admin. | | `not_set_up` | The server's owner finishes setup first. | ## Connecting apps | You see | Do | |---|---| | Couldn't connect your [App] account | Nothing was saved. Press Try again. | | No confirmation yet | Open Connections: the account may already be there. | | The link is missing its token. Message the bot again in Slack to get a new one. | Message the bot in Slack for a new link. | | This link is invalid or expired (links are valid for 15 minutes). Message the bot again to get a new one. | Message the bot in Slack for a new link. | | This Slack account is already linked to a different Pronoia user. Account transfers must go through an explicit unbind first. | Unlink it from the other account first. | | You're signed in to a Pronoia account that isn't a member of this workspace. | Switch to the right account or workspace. | | Something went wrong. Try again, and if the problem persists, contact the workspace admin. | Try again. If it repeats, tell a workspace admin. | A connect card that fails says why: | You see | Code | Do | |---|---|---| | Sign-in to [App] didn't finish. | `not_finished` | Press Try again and finish the sign-in. | | You declined on [App]. | `denied` | Press Try again and allow access. | | The sign-in timed out. | `timed_out` | Press Try again. | | You started a newer sign-in. | `superseded` | Finish the newer sign-in. | | Several new [App] accounts appeared; pick one in Settings. | `ambiguous` | Pick the account in Connections. | | [App] sign-in is unavailable right now. | `provider_down` | Try again later. Nothing was saved. | | Couldn't finish connecting [App]. | `could_not_finish` | Press Try again. If it repeats, ask Noia. | | — | `commit_failed` | Nothing was changed. Press Try again. | | — | `checkout_failed` | Nothing was charged. Press Try again. | | — | `signin_rejected` | Check the sign-in details and try again. | | — | `wrong_account` | Sign in with the account the card names. | ## Cards Every card is in one of these states. | State | Means | |---|---| | `open` | Waiting for you. Press a button. | | `waiting` | You started the step. It finishes on its own. | | `done` | Answered. The agent carries on. | | `failed` | The step failed. Press Try again. | | `expired` | Too late for this one. You can still answer it. | | `skipped` | You said Not now. | | `superseded` | A newer card took its place. | | `canceled` | The agent withdrew the request. | ## Terminal Every `pronoia` command exits with one of these codes. 20, 21 and 22 are not failures: a script branches on them. | Exit | Name | Means | Do | |---|---|---|---| | 0 | `ok` | Done. | Read stdout. | | 1 | `failed` | Failed for a reason not below, including a followed run that failed. | Read the error line on stderr. | | 2 | `usage` | Bad command, flag or argument, or input needed with no terminal. Nothing was sent. | Check the command with --help. | | 3 | `sign_in` | No credential, or it is expired, revoked or refused (401). Run `pronoia login`. | Run `pronoia login`. | | 4 | `not_allowed` | The role, scope or run mode does not allow it (403 other than those in 21). | Ask an admin for the role or scope. | | 5 | `not_found` | The record does not exist or the person cannot see it. | Check the name or id. | | 6 | `invalid` | The server refused the input (400, 422), or a name was ambiguous. | Fix the input the error names. | | 7 | `conflict` | The record changed or is held (409: stale revision, already final, control held elsewhere). | Read the record again, then retry. | | 8 | `unreachable` | No answer: DNS, connect, TLS or timeout. | Check your network, then retry. | | 9 | `server_error` | The server failed (5xx after retries). | Retry later. | | 10 | `rate_limited` | Still 429 after retries. | Wait, then retry. | | 11 | `incompatible` | The server speaks a contract major this binary does not, lacks a capability the command needs, or requires a newer binary. | Install the latest pronoia. | | 20 | `proposed` | A consequential write is waiting for a person's approval. Nothing was written yet. | Open the printed link and answer the card. | | 21 | `needs_browser` | A person must act in the browser (human-only, step-up or a ceremony). `continue_url` says where. | Open the printed link in a browser. | | 22 | `still_waiting` | A `--wait` deadline passed while the thing is still pending. | Wait longer, or open the thread. | | 130 | `interrupted` | Ctrl-C before the command finished. | Run it again. | ## API Every error answer carries a stable `code`. Branch on the code; an unknown code is handled by its status and `retryable`. These are the v1 contract's codes: a route that is not live yet ([API reference](/build/api)) can't return its codes. | Code | Status | Retry | Means | Do | |---|---|---|---|---| | `invalid_body` | 400 | no | the body fails its schema (`errors` lists where) | Fix the fields listed in `errors`. | | `filter_unknown` | 400 | no | an unknown query parameter | Drop the unknown parameter. | | `filter_invalid` | 400 | no | a known filter with a bad value | Fix the filter's value. | | `sort_invalid` | 400 | no | an unknown or unsortable sort field | Sort on a listed field. | | `cursor_invalid` | 400 | no | a cursor that is malformed, expired, or from other filters, sort or person | Start again from the first page. | | `idempotency_key_required` | 400 | no | a `POST` without `Idempotency-Key` | Send an `Idempotency-Key` header. | | `workspace_required` | 400 | no | a workspace-scoped route without `Pronoia-Workspace` | Send the `Pronoia-Workspace` header. | | `unsupported_version` | 400 | no | `schema_version` above 1 | Send `schema_version: 1`. | | `credential_required` | 401 | no | no credential on a route that needs one | Send a token. | | `credential_invalid` | 401 | no | malformed, bad checksum, unknown, expired or revoked (one code for all, so none is distinguishable) | Make a new token in Settings → Connections → MCP. | | `credential_kind_refused` | 401 | no | a kind this route does not admit | Use a token kind this route takes. | | `forbidden` | 403 | no | the role does not allow it | Ask an admin for the role. | | `scope_missing` | 403 | no | carries `scope` | Make a token with the named `scope`. | | `human_required` | 403 | no | carries `continue_url` | Open `continue_url` in a browser. | | `step_up_required` | 403 | no | carries `action_class` and `continue_url` | Open `continue_url` and confirm it's you. | | `csrf_failed` | 403 | no | — | Reload the page and try again. | | `workspace_mismatch` | 403 | no | a credential bound to one workspace used for another | Use a token for this workspace. | | `not_found` | 404 | no | missing or not visible | Check the id and your access. | | `extension_absent` | 404 | no | `/ext/` this server does not have | This server doesn't have that extension. | | `method_not_allowed` | 405 | no | — | Use a method the path takes. | | `state_conflict` | 409 | no | a transition the current state does not allow; `detail` names the state | Read the record, then retry from its state. | | `name_taken` | 409 | no | a handle, channel name, Skill name, slug, secret name or page path already used | Pick another name. | | `dependency_cycle` | 409 | no | a Work item dependency that would close a loop | Remove the dependency that closes the loop. | | `last_owner` | 409 | no | the last owner cannot leave, be removed or be demoted | Make someone else an owner first. | | `idempotency_in_progress` | 409 | yes | — | Retry after the first request finishes. | | `rev_conflict` | 412 | no | carries `current_rev` | Read `current_rev`, then retry. | | `body_too_large` | 413 | no | — | Send less, or upload the file first. | | `unsupported_media_type` | 415 | no | — | Send `application/json`. | | `idempotency_key_reused` | 422 | no | — | Use a new key for a different request. | | `unprocessable` | 422 | no | a semantic refusal with no more specific code; `detail` says why | Read `detail` and fix the request. | | `work_item_depth_exceeded` | 422 | no | a write would put a Work item three levels deep | Attach it one level higher. | | `done_when_required` | 422 | no | an agent caller creates a Work item whose description lacks "Done when" | Add a Done when line. | | `plugin_in_use` | 409 | no | uninstalling a plugin, or taking the last plugin out of a one-at-a-time job, while something uses what it serves; carries `dependents [{kind, id, name}]` (at most 50) and `dependents_total` | Move what uses it first; `dependents` lists them. | | `connection_not_ready` | 409 | no | a check, share, grant or trigger subscription on a connection that is `pending` or `revoked`; `detail` names the connection by app and label | Finish or reconnect the connection. | | `plugin_not_available` | 422 | no | the plugin isn't offered in this edition, doesn't serve the job, or doesn't offer the connector; `detail` names the installed plugins that do | Use a plugin `detail` names. | | `plugin_not_ready` | 409 | no | the plugin is `needs_setup`, its health is `down` or `unknown`, or a Project lacks what a login add-on needs, for an order, a pick, a swap or a new connection | Finish the plugin's setup. | | `model_route_refused` | 422 | no | an Agent's model route its harness can't take, for example `vault_key` on a harness other than Claude Code or Gemini CLI; `detail` names the reason | Pick a model route this agent's tool takes. | | `skill_name_reserved` | 409 | no | a Skill write, import or plugin install takes a core Skill's name | Pick another Skill name. | | `skill_invalid` | 422 | no | a Skill package outside (size, path, binary file, credential-shaped value), or a publish `version` not higher than the last; `detail` names the file (and line), never a value | Fix the file `detail` names. | | `skill_unavailable` | 409 | no | loading a Skill whose requirements the run doesn't meet; carries `missing` | Add what `missing` lists. | | `skill_eval_missing` | 409 | no | publishing a revision with no finished test run on its `content_hash` | Run the Skill's tests, then publish. | | `import_format_unknown` | 422 | no | an import's input is in none of the listed formats; `formats` lists them, and the refusal never quotes the input | Use one of the `formats`. | | `import_unreadable` | 422 | no | an import's input holds a link, more than 2,000 files or folders more than 16 deep, or a manifest that doesn't parse; never quotes the input | Remove links, or split the import. | | `import_plan_changed` | 409 | no | applying an import whose input no longer has the plan's `input_digest`; carries the new `plan`, and nothing was written | Review the new `plan`, then apply it. | | `skill_eval_regression` | 409 | no | publishing while a case fails or errors on this hash, or one that passed on the last published hash is now skipped; no override; carries `cases` | Fix the failing `cases`, then publish. | | `precondition_required` | 428 | no | `If-Match` missing where required | Send `If-Match`. | | `rate_limited` | 429 | yes | with `Retry-After` | Wait `Retry-After`, then retry. | | `internal` | 500 | no | — | Retry later. Report the `request_id` if it repeats. | | `unavailable` | 503 | yes | with `Retry-After`; nothing was written | Wait `Retry-After`, then retry. Nothing was written. | | `token_replayed` | 401 | no | a service token's `token_id` seen before | Mint a new service token. | | `wrong_service` | 401 | no | a service token for another tool server | Use the token for this tool server. | | `code_invalid` | 400 | no | a wrong, expired, used or unknown email, step-up, device or first-owner code | Use the newest code, or ask for a new one. | | `code_match_required` | 400 | no | a device approve from another network without `code_matched: true` | Compare the codes, then press They match. | | `setup_closed` | 409 | no | a first-owner open or claim after a first owner exists | Sign in instead; setup is done. | | `setup_pending` | 403 | no | workspace creation before a first owner exists | The server's owner finishes setup first. | | `credential_in_url` | 400 | no | a setup request with a query string | Send it in the body, never the URL. | | `sign_in_refused` | 403 | no | a right code for an address that may not sign in; additive `reason`: `invite_only`, `email_not_allowed` or `not_set_up` | See the reason above. | | `code_cooldown` | 429 | yes | an email code was started for this address in the last 60 seconds; with `Retry-After` and `retry_after`; the same for an address with no account | Wait a minute, then ask again. | ## Not here? Paste the message to Noia in any chat. It reads the same list. --- # Hire a role > Add an agent for a job, from a role or from scratch. ## From a role 1. Open **Hire**. 2. Pick a role. It comes with its Skills, routines and the apps it needs. 3. Connect what it asks for, or skip and connect later. ## From scratch, or a remix - **Create** starts an empty agent: name it, say its job, add Skills. - **Remix** (coming) copies any agent you can open, with its Skills, routines, apps and cards, never its data. - **Publish** (coming) shares your version. A failed publish check blocks both marketplaces until every check passes. ## What each agent has | Part | What it is | |---|---| | Instructions | Its job, in your words | | Skills | Methods it loads when it needs them | | Connections | The apps it may use. Coming: each ability **Always**, **Ask first** or **Off** | | Computer | A machine it works on, which you can watch and take over | | Routines | Work it does on a schedule or when something happens | --- # Routine safety > What a routine can do on its own, and what always asks you. A routine is work an agent does on a schedule or when something happens: an email arrives, a file lands, a webhook fires. ## A person turns it on - An agent, a key, a plugin or an import can make a routine. Only a member turns it on, with one card. - The card says what will happen: the agent, what it does, where it posts, every trigger with its time zone, "Drafts only" when so, its limits and each connection it uses. - Installed and imported routines stay off until a member turns them on. ## It acts as you, never as someone else - Each run acts for the member who turned it on: their access, their connections. - If that member leaves or loses the role, the routine pauses. It never borrows someone else's sign-in. - An edit by someone else waits for a new card. ## It never spends or sends silently - **Drafts only** routines are offered no send at all. - Money, spend and outbound messages still ask with a card. A chat's **Always allow** never covers a routine. - You can set a spend cap and a time limit per routine. The workspace spend limit always applies. ## When it can't run | Situation | Means | Do | |---|---|---| | Paused after failed runs | Several runs in a row failed | Read the notice, fix the cause, turn it back on | | Paused · sign-in expired | A connection it needs logged out | Reconnect, once | | Paused · agent archived | Its agent is gone | Pick another agent and turn it on again | | Skipped | A run didn't start; the row says why | Press **Run now** if you still want it | A paused routine posts one notice to its chat, never one per failed run. --- # Talking to agents > Ask once, get finished work, answer cards when they come. ## Ask for the outcome Say what you want done and for whom: "Send Jenna the Sprouts recap for week 41." An agent reads your company context (goals, brand kit, products, people) before it asks you anything. ## Threads and hand-offs - Each agent keeps one main chat. Work it starts for a job gets its own thread under it. - An agent hands work to a teammate when the teammate owns the job, and the teammate's reply lands in the same thread. - If a teammate can't start, the chat says why in one line. See [Errors, decoded](/use/errors#in-chat). ## Cards When an agent needs you, it shows a card: a question, an approval or a sign-in. - A card has up to three buttons. The plain last one is always "no". - A question doesn't stop the agent. It keeps doing the parts that don't need your answer. - Anything that spends money or sends a message on your behalf asks first, unless you said **Always allow** for that agent. ## Where you can talk to them The same agents, threads and memory everywhere: the web app, the phone, the desktop app, Slack, email and the [terminal](/build/scripting).