Pygg
v0.1.0-dev.9Hand coding subtasks to cheaper agents in Git worktrees, checked before you keep them.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pygg_run_task
Hand a self-contained coding subtask to other agents (OpenCode, Codex CLI, Claude Code, Gemini CLI), each with its own sign-in, cheapest first. Pygg runs it in a separate Git worktree of this repository, checks the result with the checks the user approved for it, and moves to the next agent when a check fails. Your working tree is never changed: a result becomes a branch only when you keep it. Describe the change completely: the agent does not see this conversation.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The full task: what to change, where, and what done looks like. |
allow_shell | boolean | Let the agents run shell commands in their copy (default false). |
steps | array | The agents to try, in order. Default: the installed agents in the strategy's order. |
strategy | string | Which agents go first when steps are not given. Default free_first. |
title | string | A short title, also used for the branch name. |
wait_seconds | integer | Seconds to wait for the task to finish before answering (default 50; raise it only if your client allows tool calls that long). |
workspace | string | A folder in the repository. Default: the folder this server runs in. |
pygg_task_status
The state of a task, its attempts and why each failed. Waits while it runs.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task id returned by pygg_run_task. |
wait_seconds | integer | Seconds to wait for the task to finish before answering (default 50; raise it only if your client allows tool calls that long). |
pygg_task_diff
The changes of a finished task's result, as a unified diff.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task id returned by pygg_run_task. |
pygg_task_brief
A task as a brief to continue it elsewhere: the goal, where it started, each attempt and why it stopped, the checks that define done, and where it stands.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task id returned by pygg_run_task. |
pygg_keep_result
Keep a finished task's result as a new branch of the repository (your checkout is not changed). Returns the branch name, which you can merge or check out. A result no check vouches for (pygg_task_status says NOT READY) is refused unless accept_unchecked is true.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task id returned by pygg_run_task. |
accept_unchecked | boolean | Keep a NOT READY result anyway: only after you read its whole diff with pygg_task_diff and judged it yourself, since no check confirmed it. Say so to the user. |
title | string | Commit message and branch title. Default: the task's title. |
pygg_check_result
Run the workspace's approved checks on a result that is NOT READY because no check ran (after the user approved one in the Pygg app), without running the agent again. Returns the task's new state.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task id returned by pygg_run_task. |
pygg_discard_result
Discard a finished task's result.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task id returned by pygg_run_task. |
pygg_stop_task
Stop a running or waiting task.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The task id returned by pygg_run_task. |
pygg_list_tasks
Tasks you started, newest first.
pygg_agents
The agents installed on this computer that tasks can use.
pygg_brainstorm
A brainstorm pygg/brain made for you (ask for the model pygg/brain with a requirement to start one): its state, planner, open questions and cards with the model Pygg picked for each. Approval happens in the Pygg app, never here.
| Parameter | Type | Description |
|---|---|---|
brainstorm_id | string | The id in the brain's reply (b_…). Default: your newest brainstorm. |
pygg_board
The Kanban board of a workspace: your brainstorms' cards by column (discovery, ready, running, checking, blocked, review, done), each with its task's state. Paid steps are approved in the Pygg app, never here.
| Parameter | Type | Description |
|---|---|---|
workspace_id * | string | The workspace's id (pygg_brainstorm shows it once a brainstorm was approved). |
pygg_board_move
Move one of your cards between Discovery and Ready: to ready releases a held card, to discovery holds it. Nothing else moves by hand; the engine moves the rest.
| Parameter | Type | Description |
|---|---|---|
card_id * | string | The board card id (bc_…). |
to * | string |
pygg_model_facts
The user's connected models ranked for a role (plan, code, test, review) from Pygg's model facts feed: each with the public benchmark it ranks by, its place and date, or its tier when no fact applies.
| Parameter | Type | Description |
|---|---|---|
role | string | Default code. |