Commands

From docs/cli.md in pulse-agent 0.11.0, sha-256 5d8b58cd5ca6

CommandWhat it does
pulse-agent initSet this project up: find a local model that calls tools, find the test command, save the config.
pulse-agent run "<task>"Work on a task. The check decides the verdict.
pulse-agent chatAn interactive session. Replies stream; the conversation carries across turns. --resume <session> continues one.
pulse-agent sessionsList this project's sessions. fork <session> --at <turn> branches one; files are not restored.
pulse-agent team "<task>"The builder works, then an evaluator that cannot write reviews the change.
pulse-agent soulShow the agent's persistent identity. on or off turns soul mode on for every project.
pulse-agent trustLoad what this project ships: instruction files, skills, hooks, connectors, approval rules. --revoke undoes it.
pulse-agent allow [--global] "<rule>"Allow something without being asked: run:npm test, run:git *, edit:src/*, mcp:files__*, web:search, web:docs.python.org. With --global, in every project.
pulse-agent secret set NAMEKeep a connector token in your personal secrets; the value is read from standard input. Also secret list and secret remove NAME.
pulse-agent skillsList proposed and accepted skills. show, accept, reject <name>.
pulse-agent lessonsWhat verified runs taught.
pulse-agent connectorsStart each configured MCP server and list its tools.
pulse-agent state exportPack the ledger into a compressed .rain capsule. Also verify <file> and import <file>.
pulse-agent syncCommit the agent's state to git and push if a remote exists.

Options for run and team

OptionMeaning
--verify "<command>"The check. Exit 0 is a pass. Overrides the config.
--role builder or evaluatorrun only. The evaluator reads and runs the check, and cannot write.
--model <name>Overrides the config.
--base-url <url>The model endpoint.
--max-steps <n>Model turns allowed. Default 30.
--max-rounds <n>Times the check may fail and go back to the model. Default 3.
--eval-model <name>team only. A different model for the evaluator.
--streamrun and team: print the reply as it is written. chat always streams.
--context-budget <n>Characters the conversation may hold before older material moves to the recoverable store. Default 200000.
--yesAllow every edit, command and connector call for this run. Deny rules still apply.
--jsonrun and team: one JSON object per line, ending with an end object that carries the verdict.
--no-scriptDo not offer the script tool.
--soul, --no-soulUse or leave out the persistent identity for this run.
--no-learnedDo not ask the memory-pulse engine, even with a key set.

Inside a chat

CommandMeaning
/sessionThis session's name.
/contextHow much has left the window and can be recalled.
/checkRun the check command now.
/exitLeave. The session is saved.

Roles

RoleTools
builderRead, list, search, write and edit files, run scripts over tools, run commands (also in the background), delegate, propose a skill, use connectors.
scoutList, search and read files; search and read the web.
evaluatorRead files and run your check.
workerEdit files and run commands in its own git worktree. Its changes come back as a patch the builder applies with apply_work.

The builder can delegate to a scout, an evaluator or a worker. A subagent starts with a fresh context, cannot delegate further, and is bound by the same approval rules. A worker needs a git repository with at least one commit; without one it is refused.

Environment

VariableMeaning
PULSE_AGENT_MODELModel name.
PULSE_AGENT_BASE_URLModel endpoint.
PULSE_AGENT_API_KEYKey for the endpoint, if it needs one.
MEMORY_PULSE_KEYTurns on the learned read. Sends the ledger's rows to the engine.

Exit codes

0: the check passed, or no check was configured. 2: the check failed. 1: an error.

Approvals

By default the agent may edit files in the project and run your check. Any other command, every connector call and every web request needs a rule from pulse-agent allow, a yes from you in a chat, or --yes. With nobody to ask, the answer is no. A wildcard rule never covers a command that chains, pipes, substitutes or redirects.

Trust

Instruction files (AGENTS.md, CLAUDE.md), skills in .agents/skills and .claude/skills, a pre-tool hook, connectors and approval rules in the project's config are loaded only after pulse-agent trust. Trust is recorded outside the project.

Limits

There is no sandbox. A command that is allowed to run has your user's permissions. File tools cannot leave the project folder; commands can. Use a container or a disposable checkout for work you do not trust.