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.
pronoia agent
Agents: list, view and read their runs
pronoia agent list
The workspace's agents
pronoia agent list # Every agent you can see.Exits: 0, 3, 4, 8, 9, 10, 11
pronoia agent logs <agent>
The latest (or --run) run's events: text, tool calls, results and notices
| Flag | Does |
|---|---|
--run | A run's id instead of the latest |
pronoia agent logs @noia # What Noia did last.Exits: 0, 3, 4, 5, 8, 9, 10, 11
pronoia agent view <agent>
One agent
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 <method> <path>
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 |
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 |
pronoia chat list @noia # Your conversations with Noia.Exits: 0, 3, 4, 8, 9, 10, 11
pronoia chat send <conversation|@agent|#channel> [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 |
pronoia chat send @noia 'What is left on PRO-12?' # Start a conversation with Noia.
pronoia chat send <id> --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 <conversation>
A conversation's transcript
pronoia chat view <id> # 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
pronoia completion zsh > ~/.zfunc/_pronoia # Install zsh completion.Exits: 0, 2
pronoia computer
Computers: list, view, start and stop
pronoia computer list
Your Computers
pronoia computer list # Every Computer you have.Exits: 0, 3, 4, 8, 9, 10, 11
pronoia computer start <computer>
Wake a Computer Writes.
pronoia computer start <id> # Wake it.Exits: 0, 3, 4, 5, 7, 8, 9, 10, 11
pronoia computer stop <computer>
Put a Computer to sleep; its disk is kept Writes.
pronoia computer stop <id> # Let it sleep.Exits: 0, 3, 4, 5, 7, 8, 9, 10, 11
pronoia computer view <computer>
One Computer
pronoia computer view <id> # 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
pronoia config edit --help # Its flags and arguments.Exits: 0, 2
pronoia config get <key>
One preference
pronoia config get --help # Its flags and arguments.Exits: 0, 2
pronoia config list
Every preference that is set
pronoia config list --help # Its flags and arguments.Exits: 0, 2
pronoia config path
Where config.toml lives
pronoia config path --help # Its flags and arguments.Exits: 0, 2
pronoia config set <key> <value>
Set a preference Writes.
pronoia config set --help # Its flags and arguments.Exits: 0, 2
pronoia config unset <key>
Back to the default Writes.
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) |
pronoia context add --help # Its flags and arguments.Exits: 0, 2, 3, 5
pronoia context current
The context commands use here, and why
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 |
pronoia context link --help # Its flags and arguments.Exits: 0, 2, 3
pronoia context list
Every context on this machine
pronoia context list --help # Its flags and arguments.Exits: 0
pronoia context remove <name>
Remove a context from this machine (pronoia logout also ends its session) Writes.
pronoia context remove --help # Its flags and arguments.Exits: 0, 2, 3
pronoia context rename <old> <new>
Rename a context Writes.
pronoia context rename --help # Its flags and arguments.Exits: 0, 2, 3
pronoia context unlink
Remove this directory's .pronoia.toml Writes.
pronoia context unlink --help # Its flags and arguments.Exits: 0, 2, 3
pronoia context use <name>
Make a context current Writes.
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
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) |
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) |
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 |
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
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 |
pronoia run list --agent @noia # Noia's runs.Exits: 0, 3, 4, 8, 9, 10, 11
pronoia run logs <run>
A run's stored events
pronoia run logs <id> # What the run did.Exits: 0, 3, 4, 5, 8, 9, 10, 11
pronoia run view <run>
One run
pronoia run view <id> # 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 |
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.
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) |
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) |
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
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
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
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 <item> [who]
Assign a Work item to a member, @agent or @me; assigning an agent starts its run Writes.
| Flag | Does |
|---|---|
--none | Unassign |
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 <item> [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 |
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 <item>
One bundle for an agent: the item, Parent item, dependencies, comments and the Project's brief
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 |
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 <item> [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) |
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 <item>
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 |
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) |
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 <item> [list|get|set|unset] [key] [value]
A Work item's metadata; set plan <value> replaces its Steps Writes.
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) |
pronoia work ready # What can be started now.Exits: 0, 3, 4, 6, 8, 9, 10, 11
pronoia work status <item> <status>
Set a Work item's status Writes.
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 <item>
One Work item: its Parent item, Sub-items, Steps and metadata
| Flag | Does |
|---|---|
--comments | Also print its comments |
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