Docs

Commands

Every pronoia command, version 0.1.0.

Global flags

FlagDoes
--contextUse this context for one command
--debugRequest ids, timings, method, path and status on stderr; never headers or bodies
--dry-runOn a command that writes: print the request and send nothing
--fieldsChoose columns (table, plain) or top-level fields (json)
--formatOutput format: table, plain, json or ndjson
--jsonMachine output; the same as --format json
--no-colorNo colour
--no-inputNever prompt; missing input exits 2
--no-pagerNever use the pager
--pagerForce the pager
-q, --quietPrint only the ids or keys of what was created or changed
--serverUse this server for one command; needs a stored credential for it
--timeoutPer-request timeout (default 30s)
-w, --workspaceUse this workspace (id or slug) for one command
-y, --yesAnswer 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

FlagDoes
--runA 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.

FlagDoes
-f, --fieldA body field (or query parameter on GET), key=value
--headerAn extra header 'Name: value' (never Authorization)
--inputThe request body, from a file (- for stdin)
--paginateFollow 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

FlagDoes
--archivedArchived ones
--mineOnly 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.

FlagDoes
--fileAttach a file (repeatable)
--idempotency-keyYour own Idempotency-Key, so a retried command sends once
--message-fileThe message, from a file (- for stdin)
-p, --printPrint mode: the same as --wait
--titleA title for a new conversation
--waitWait for the reply and print it (exit 20 when a card waits)
--wait-timeoutHow 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.

FlagDoes
--nameThe context's name (default: the workspace's slug)
--serverThe server's URL
--workspaceThe 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

Use a context for this directory and everything below it (.pronoia.toml) Writes.

FlagDoes
--projectA 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

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

FlagDoes
--treeThe 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.

FlagDoes
--nameThe new context's name
--no-browserPrint the link instead of opening a browser
--with-tokenRead a personal access token from stdin (scripts and CI)
--workspaceThe 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.

FlagDoes
--allSign 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

FlagDoes
--agentOnly this agent's runs
--allFollow every page
--limitAt most this many
--sinceOnly runs since this time (RFC 3339)
--sortSort order the server understands
--statusOnly runs in this state
--workOnly 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.

FlagDoes
--foregroundAfter the approval, run the runner in this terminal
--join-token-stdinRead your VM's single-use join token from stdin
--nameThe name this machine shows on the approval page (default: its host name)
--no-browserPrint the approval link instead of opening a browser
--serviceAfter 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

FlagDoes
-f, --followKeep printing new lines
-n, --linesHow 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.

FlagDoes
--exit-afterExit after this many runs have ended
--foregroundRun it in this terminal (the default; what the service runs)
--serviceInstall 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.

FlagDoes
--noneUnassign
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.

FlagDoes
--body-fileThe comment, from a file (- for stdin)
--listList 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.

FlagDoes
--assignee@me, @agent or a member
--audienceme, channel or workspace
--body-fileThe description, from a file (- for stdin)
--labelA label's id (repeatable)
--parentThe Parent item (key or id)
--priorityurgent, high, medium, low or none
--projectThe Project's id
--titleThe 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.

FlagDoes
--blocked-byThe 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.

FlagDoes
--body-fileNew description, from a file (- for stdin)
--parentNew Parent item (key or id), or none
--placementthis_laptop, home_computer, task_sandbox, or agent to follow its Agent
--priorityNew priority
--projectNew Project id, or none
--titleNew 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

FlagDoes
--allFollow every page
--assignee@me, @agent, a member, or none
--audienceme, channel or workspace
--labelOnly this label (id)
--limitAt most this many
--metadataExact metadata match, key=value
--parentOnly Sub-items of this Parent item (key or id), or none
--projectOnly this Project (id, or none)
--readyOnly items whose blockers are all done
--searchMatch title and description
--sortSort order the server understands
--statusOnly 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

FlagDoes
--allFollow every page
--assignee@me, @agent, a member, or none
--audienceme, channel or workspace
--labelOnly this label (id)
--limitAt most this many
--metadataExact metadata match, key=value
--projectOnly this Project (id, or none)
--sortSort order the server understands
--statusOnly 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

FlagDoes
--commentsAlso 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

On this page

Global flagspronoia agentpronoia agent listpronoia agent logs <agent>pronoia agent view <agent>pronoia apipronoia api <method> <path>pronoia chatpronoia chat list [@agent|#channel]pronoia chat send <conversation|@agent|#channel> [text]pronoia chat view <conversation>pronoia completionpronoia completionpronoia computerpronoia computer listpronoia computer start <computer>pronoia computer stop <computer>pronoia computer view <computer>pronoia configpronoia config editpronoia config get <key>pronoia config listpronoia config pathpronoia config set <key> <value>pronoia config unset <key>pronoia contextpronoia context addpronoia context currentpronoia context link [name]pronoia context listpronoia context remove <name>pronoia context rename <old> <new>pronoia context unlinkpronoia context use <name>pronoia harnesspronoia harness listpronoia helppronoia help [command]pronoia loginpronoia login [server-url]pronoia logoutpronoia logoutpronoia openpronoia open [record]pronoia runpronoia run listpronoia run logs <run>pronoia run view <run>pronoia runnerpronoia runner connect [server-url]pronoia runner disconnectpronoia runner logspronoia runner runpronoia runner statuspronoia versionpronoia versionpronoia whoamipronoia whoamipronoia workpronoia work assign <item> [who]pronoia work comment <item> [text]pronoia work context <item>pronoia work createpronoia work deps <item> [list|add|remove]pronoia work edit <item>pronoia work listpronoia work metadata <item> [list|get|set|unset] [key] [value]pronoia work readypronoia work status <item> <status>pronoia work view <item>