oficina / equipo Public
Paseo probe for Equipo plan 0
Tested on docs-t1 on 2026-11-01 against CLI and daemon 0.14.0. Read section 6.9 of the Equipo design first. Build the runner around the structured client API; the CLI alone does not supply a JSON event stream. Cancellation needs more than stop.
Evidence below distinguishes live tests from documentation and source inspection. JSON excerpts omit unrelated fields. Two Haiku 4.5 agents ran five prompted turns altogether: file write, question, rejected sleep command, background/foreground cancellation, and an MCP call. No helper agents or reviewers ran. No daemon configuration, sign-ins, or host registrations were changed. No commits or pushes were made in equipo-design; the disposable repository received one empty seed commit so the worktree could start from a real hash.
Commands use these abbreviations for the exact paths and IDs tested:
P=/home/paulca/.cache/tmp/equipo-paseo-probe-vnpbwsk1
W=/home/paulca/.paseo/worktrees/3ts4lj9g/equipo-probe-vnpbwsk1
WS=wks_ed152d6e0762a1fb
A=920363b1-2c8a-471e-819f-5be735981e5b
B=93d551b6-37a0-48c3-b503-b3987d3dc021
CLI=/home/paulca/.local/lib/node_modules/@getpaseo/cli
Z=/home/paulca/.paseo/plugins/zerosub/62e3ee9e-87c0-4453-9a09-3e59cd91b60a/node_modules/@kapybara/zerosub$ paseo --version
0.14.0
$ paseo daemon status --json
{"home":"/home/paulca/.paseo","listen":"127.0.0.1:6767",
"serverId":"srv_ZwrHnYLkipmz","hostname":"DOCS-T1",
"daemonVersion":"0.14.0","desktopManaged":false,"connectedDaemon":"reachable"}
$ paseo provider models claude --json
... {"model":"Haiku 4.5","id":"claude-haiku-4-5","thinkingOptions":"none"} ...1. Create and follow an agent
Verdict: yes. A program can create a workspace from an exact commit, start an agent there, and retain its ID. Keep the workspace ID from creation: run and inspect omit it in their CLI output, although the client snapshot contains it. The CLI inherited this session's parent-agent identity; a standalone runner must choose its own parentage deliberately.
# In the disposable repository under $TMPDIR:
git init -b main
git -c user.name=Probe -c user.email=probe@localhost commit --allow-empty -m 'Probe base'
git rev-parse HEAD
# 3704b320b9ec292458d41ce9cdb2c56a40f49fb3
paseo workspace create --isolation worktree --path "$P/repo" \
--mode branch-off --new-branch equipo-probe \
--base 3704b320b9ec292458d41ce9cdb2c56a40f49fb3 \
--worktree-slug equipo-probe-vnpbwsk1 --title 'Equipo disposable probe' --json{"workspaceId":"wks_ed152d6e0762a1fb","project":"repo",
"name":"Equipo disposable probe","isolation":"worktree",
"cwd":"/home/paulca/.paseo/worktrees/3ts4lj9g/equipo-probe-vnpbwsk1","background":false}$ git -C "$W" rev-parse HEAD
3704b320b9ec292458d41ce9cdb2c56a40f49fb3
$ git -C "$W" branch --show-current
equipo-probe
$ paseo run --workspace "$WS" --provider claude/claude-haiku-4-5 \
--mode default --title 'Equipo probe approval' --no-wait --json \
'Create hello.txt containing hi using Write. Do not read any other files or use other tools.'
Using workspace wks_ed152d6e0762a1fb
{"agentId":"920363b1-2c8a-471e-819f-5be735981e5b","status":"running",
"provider":"claude","cwd":"/home/paulca/.paseo/worktrees/3ts4lj9g/equipo-probe-vnpbwsk1",
"title":"Equipo probe approval"}Capture stdout and stderr separately; the tool transcript above merges them. Do not parse the combined transcript as JSON. After approving the write, paseo wait "$A" --timeout 30s --json returned status: "idle" and the agent reported creating hello.txt with hi. Without --no-wait, run waits by default; its help also supplies --wait-timeout.
Paseo placed the managed worktree under its own home, while the source repository and probe scripts were under $TMPDIR. Both were removed at cleanup. For an already-existing branch, help exposes workspace create --mode checkout-branch --branch NAME; that path was not separately exercised.
2. Timeline and usage
Verdict: partly. inspect and ls return JSON, including provider/model, and inspect exposes last usage. logs, logs --follow, and attach accept --json but still print human-readable text. The installed client supplies structured live events, including completed-turn usage. That API is usable by a long-lived program.
$ paseo inspect "$A" --json
{"Id":"920363b1-2c8a-471e-819f-5be735981e5b","Provider":"claude",
"Model":"claude-haiku-4-5","Status":"idle","Mode":"default",
"LastUsage":{"InputTokens":18,"OutputTokens":404,"CachedTokens":29591,"CostUsd":0.0673131},
"PendingPermissions":[],"Worktree":null}
$ paseo logs "$A" --json
[Write] /home/paulca/.paseo/worktrees/3ts4lj9g/equipo-probe-vnpbwsk1/hello.txt
Done. Created hello.txt with content "hi".
$ timeout -s INT 2 paseo logs "$A" --follow --json
... human-readable history ...
--- Following logs (last 10 entries; Ctrl+C to stop) ---
$ timeout -s INT 2 paseo attach "$A" --json
Fetching history for agent 920363b...
(Press Ctrl+C to detach)
[Tool: Write] completed
Done. Created hello.txt with content "hi".
Attached to agent 920363b.The two timeout commands exited 124 as intended. paseo ls --global --json, filtered to our two IDs, returned JSON rows with id, provider: "claude/claude-haiku-4-5", status, and cwd, but no usage. Reading $CLI/dist/commands/agent/logs.js and attach.js confirmed that these commands format transcripts instead of selecting a JSON renderer.
For the live test, observe.mjs contained the following code. It uses the CLI's installed connection helper to obtain the same authenticated local connection, without printing credentials. This internal import is a probe convenience, not a supported production dependency.
import {connectToDaemon} from '/home/paulca/.local/lib/node_modules/@getpaseo/cli/dist/utils/client.js';
const client = await connectToDaemon({target:{kind:'instance',home:'/home/paulca/.paseo'}});
const id = process.argv[2];
console.log(JSON.stringify({snapshot:(await client.fetchAgent({agentId:id})).agent}));
const off = client.subscribeAgentTimeline(id, m => console.log(JSON.stringify(m)));
await off.ready;
console.log(JSON.stringify({ready:true}));
await new Promise(r => setTimeout(r,50000));
off();
await client.close();$ node "$P/observe.mjs" "$A" > "$P/events.jsonl"
$ rg 'usage|turn_completed' "$P/events.jsonl"
{"type":"agent_stream","payload":{"agentId":"920363b1-2c8a-471e-819f-5be735981e5b",
"event":{"type":"turn_completed","provider":"claude","turnId":"foreground-turn-1",
"usage":{"inputTokens":18,"cachedInputTokens":29591,"outputTokens":404,
"totalCostUsd":0.0673131,"contextWindowMaxTokens":200000,"contextWindowUsedTokens":31239}},
"timestamp":"2026-11-01T21:10:14.667Z"}}Timeline item events also carried seq, epoch, and subscriptionId. Control events did not all carry sequence numbers. The next question turn reported totalCostUsd: 0.07589280000000001; do not assume every usage field is a per-turn increment. LastUsage was zero during a later turn and after cancellation. Capture completion events durably instead of treating a later snapshot as a lifetime ledger. Billing accuracy and provider-independent usage semantics were not established.
The current SDK documents agent.timeline.refetch() with cursors and agent.timeline.subscribe(). Subscriptions are live-only; reconnect requires explicitly fetching missed history, and replacement invalidates the previous epoch. We observed live delivery, not reconnect/restart recovery. Source: https://paseo.sh/docs/sdk/reference.md.
Request to Paseo: Make logs --json --follow emit newline-delimited structured events and make one-shot logs --json return structured history. Preserve IDs, cursor/epoch information, permission events, cancellation, and usage. Document which usage counters are cumulative, which are per-turn, and how to recover missed completion events after reconnection, so runners can account for work without parsing prose or double-counting cost.
3. Questions and permissions
Verdict: yes for the tested Claude tools. In default (Always Ask) mode, the write remained pending until a program approved its request ID. AskUserQuestion arrived as a structured permission_requested event with kind: "question". Answer it through the permission response, not an ordinary chat message.
$ paseo inspect "$A" --json
... "Status":"running", "Mode":"default",
"PendingPermissions":[{"id":"permission-023626f4-428c-4f24-b777-e8187cce0b94","tool":"Write"}]
$ paseo permit ls --json
... {"id":"permission-023626f4-428c-4f24-b777-e8187cce0b94",
"agentId":"920363b1-2c8a-471e-819f-5be735981e5b","name":"Write","description":"-"} ...
$ paseo permit allow "$A" permission-023626f4-428c-4f24-b777-e8187cce0b94 --json
[{"requestId":"permission-023626f4-428c-4f24-b777-e8187cce0b94", "result":"allowed", ...}]The raw client snapshot included the proposed file path and content under pendingPermissions[].input; CLI inspect reduced this to an ID and tool name. A runner should fetch the full request before deciding. The observer received permission_resolved with resolution.behavior: "allow", then tool completion and turn completion.
paseo send "$A" --no-wait --json \
'Use AskUserQuestion to ask which word to write next, with choices hi and bye. Do nothing else.'{"agentId":"920363b1-2c8a-471e-819f-5be735981e5b","status":"queued",
"message":"Message queued for delivery after two quiet seconds"}Trimmed observer event:
{"type":"permission_requested","provider":"claude","request":{
"id":"permission-6d5670a3-5c2c-47d3-9b5c-629b1cf8b5eb","name":"AskUserQuestion",
"kind":"question","title":"Which word should we write next?","description":"hi / bye",
"input":{"questions":[{"question":"Which word should we write next?","header":"Next word",
"options":[{"label":"hi","description":"Write hi"},{"label":"bye","description":"Write bye"}],
"multiSelect":false,"allowOther":true}]}}}$ paseo permit allow "$A" permission-6d5670a3-5c2c-47d3-9b5c-629b1cf8b5eb \
--input '{"answers":{"Which word should we write next?":"hi"}}' --json
[{..., "name":"AskUserQuestion","result":"allowed"}]
$ paseo wait "$A" --timeout 20s --json
{"agentId":"920363b1-2c8a-471e-819f-5be735981e5b","status":"idle",
"message":"... User selected \"hi\"."}send was tested for follow-up prompts. Its queued receipt was not proof of turn completion. Plain conversational questions can be answered by send, but their classification as questions was not tested. Codex permission/question formats were not tested.
4. Stop and clean up
Verdict: partly. Stop is observable and interrupts the active foreground command. It did not kill a previously launched background child. Archiving the agent did remove that child in this test. Do not equate a stop receipt with proof that all effects have ceased.
The first command (sleep 180 & echo $! > child.pid; wait) was rejected by the provider harness, so it supplied no process-cleanup evidence. The successful retry used the supported background mode:
paseo agent mode "$A" bypassPermissions --json
paseo send "$A" --no-wait --json 'Use Bash with run_in_background:true to execute: python3 -c '\''import os,time; open("child.pid","w").write(str(os.getpid())); time.sleep(180)'\''. Then immediately run another Bash command with timeout 200000: python3 -c '\''import time; time.sleep(180)'\''. Do nothing else.'
node "$P/observe.mjs" "$A" > "$P/stop-events.jsonl"The observer was running before cancellation. child.pid contained namespace PID 3; host ps identified the processes by their exact commands. Do not send signals to a namespace PID on the host.
$ ps -eo pid,ppid,args | rg 'python3 -c import (os,time|time; time.sleep)'
777780 777779 python3 -c import os,time; open("child.pid","w").write(str(os.getpid())); time.sleep(180)
777828 777827 python3 -c import time; time.sleep(180)
$ paseo stop "$A" --json
{"stoppedCount":1,"agentIds":["920363b1-2c8a-471e-819f-5be735981e5b"]}
$ ps -eo pid,ppid,args | rg 'python3 -c import (os,time|time; time.sleep)'
777780 777779 python3 -c import os,time; open("child.pid","w").write(str(os.getpid())); time.sleep(180)
$ paseo inspect "$A" --json
... "Status":"idle" ...
$ tail -3 "$P/stop-events.jsonl"
... {"type":"turn_canceled","provider":"claude","turnId":"foreground-turn-4","reason":"Interrupted"} ...Cleanup was then executed in order:
$ paseo archive "$A" --json
{"agentId":"920363b1-2c8a-471e-819f-5be735981e5b","status":"archived",...}
$ ps -p 777780 -o pid,ppid,args
PID PPID COMMAND
$ paseo delete "$A" --json
{"deletedCount":1,"agentIds":["920363b1-2c8a-471e-819f-5be735981e5b"]}
$ paseo delete "$B" --json
{"deletedCount":1,"agentIds":["93d551b6-37a0-48c3-b503-b3987d3dc021"]}
$ paseo workspace archive "$WS" --json
{"workspaceId":"wks_ed152d6e0762a1fb","status":"archived",...}
$ paseo project delete prj_f0721b61d3557b28 --json
{"projectId":"prj_f0721b61d3557b28","removedWorkspaceIds":[]}
$ test -e "$W" && echo worktree-present || echo worktree-removed
worktree-removed
$ ps -p 777780,777828 -o pid,ppid,args
PID PPID COMMANDThe project ID belonged to the throwaway repository, automatically registered during workspace creation. Only that project, workspace, and the two probe agents were mutated. Observers exited after 50 seconds; bounded CLI followers detached. The custom MCP process also disappeared after agent deletion. The scratch directory was removed after preserving this evidence. Workspace archive was tested after agent deletion; its handling of an independently running terminal was not tested.
Request to Paseo: Offer a cancellation operation with a documented process-tree guarantee across providers, including background tool jobs and workspace-owned processes. Return an acknowledgement only after termination is complete, or report remaining jobs explicitly. Preserve the cancellation event and cleanup result for reconnecting clients. stop currently leaves the runner unable to claim that all agent work has stopped.
5. Tools per agent
Verdict: yes through the client API. No direct MCP configuration flag appears in paseo run --help, but createAgent accepted a session-scoped mcpServers map. The agent called that server successfully without a configuration-file edit or plugin installation.
The scratch mcp.py was a line-oriented JSON-RPC server. It answered initialize with protocol 2024-11-05 and tool capability, advertised one no-argument tool probe_ping via tools/list, and returned text equipo-mcp-ok from tools/call. It ignored notifications. Its full implementation was:
import sys,json,os
for line in sys.stdin:
m=json.loads(line); method=m.get('method'); result={}
if 'id' not in m: continue
if method=='initialize':
result={'protocolVersion':'2024-11-05','capabilities':{'tools':{}},
'serverInfo':{'name':'equipo-probe','version':'1'}}
elif method=='tools/list':
result={'tools':[{'name':'probe_ping','description':'Return probe marker',
'inputSchema':{'type':'object','properties':{}}}]}
elif method=='tools/call':
result={'content':[{'type':'text','text':'equipo-mcp-ok'}]}
print(json.dumps({'jsonrpc':'2.0','id':m['id'],'result':result}),flush=True)The working mcp-run.mjs used the same connectToDaemon import as the observer:
const c = await connectToDaemon({target:{kind:'instance',home:'/home/paulca/.paseo'}});
try {
const a = await c.createAgent({
workspaceId:'wks_ed152d6e0762a1fb',
cwd:'/home/paulca/.paseo/worktrees/3ts4lj9g/equipo-probe-vnpbwsk1',
title:'Equipo MCP probe', provider:'claude', model:'claude-haiku-4-5',
modeId:'bypassPermissions',
mcpServers:{equipo_probe:{type:'stdio',command:'python3',
args:['/home/paulca/.cache/tmp/equipo-paseo-probe-vnpbwsk1/mcp.py']}},
initialPrompt:'Call equipo_probe probe_ping once and report its result. Do nothing else.'
});
console.log(JSON.stringify({agentId:a.id,workspaceId:a.workspaceId}));
} finally { await c.close(); }$ node "$P/mcp-run.mjs"
{"agentId":"93d551b6-37a0-48c3-b503-b3987d3dc021","workspaceId":"wks_ed152d6e0762a1fb"}
$ paseo logs "$B" --tail 4
[User] Call equipo_probe probe_ping once and report its result. Do nothing else.
[Toolsearch]
[mcp__equipo_probe__probe_ping] {}
Result: `equipo-mcp-ok`Two setup attempts failed before creating any agent: the low-level connection object has no workspaces.ref, and its createAgent requires cwd even with workspaceId. The corrected call above is the one tested. The public SDK has a different, higher-level interface; pin and test the chosen client version.
The current public SDK documents config.mcpServers, config.toolPolicy, provider-native options, and runtime settings. Local plugin instructions and the installed ZeroSub plugin use before("agent.session_open") for launch-time tools/environment/MCP configuration and agent.create for saved configuration. Current online documentation instead names server.addHook("agent.open.before", ...) and agent.create.before. This is a concrete documentation/runtime compatibility concern, not evidence that the installed hook failed. Sources: https://paseo.sh/docs/sdk/reference.md and https://paseo.sh/docs/plugins/hooks.md.
6. Accounts
Verdict: yes by configuration and installed-plugin inspection; no new login or two-account execution test. Multiple Claude credential homes already exist on this machine. ZeroSub selects a home per agent at session open. Separate daemon homes are therefore not required for this setup. --home selects a daemon; it does not, by itself, prove that Claude credentials are isolated.
$ rg -n 'CLAUDE_CONFIG_DIR|session_open|homes' "$Z/README.md" "$Z/index.server.ts"
README.md:91:Each added account gets its own credential home under `$PASEO_HOME/zerosub/homes/`:
README.md:93:- Claude uses it as `CLAUDE_CONFIG_DIR`; Codex uses it as `CODEX_HOME`.
index.server.ts:35: server.before("agent.session_open", async ({ request }, context) => {Only non-secret counts were extracted from the registry:
python3 - <<'PY'
import json,os
s=json.load(open(os.path.expanduser('~/.paseo/zerosub/state.json')))
a=[x for x in s['accounts'] if x['family']=='claude']
print(json.dumps({'claudeAccounts':len(a),
'signedIn':sum(x.get('signedIn',True) for x in a),
'separateManagedHomes':len({x['home'] for x in a if x.get('home')})}))
PY{"claudeAccounts":6,"signedIn":6,"separateManagedHomes":5}These are saved registry flags, not a fresh authentication or quota check. Inspection of server/state.ts found per-agent bindings and live sessions keyed to accountId; server/claude.ts sets CLAUDE_CONFIG_DIR and CLAUDE_SECURESTORAGE_CONFIG_DIR for a managed home. The README says Linux credentials stay in each home's .credentials.json, while non-account settings and project history are shared by symlinks.
For Equipo, select an existing account through the supported account-routing interface and record which account actually opened the session. Verify whether automatic failover may move it before treating a connection as person-bound. A new account would require a separate official CLI sign-in in its own credential home; no credentials should be copied between accounts. None was added here.
Core provider profiles also support different credentials via agents.providers entries extending claude; the online example uses distinct API keys. That example alone does not establish two subscription logins. The installed Claude provider source resolves env.CLAUDE_CONFIG_DIR ?? join(homedir(), ".claude"), so separate Paseo homes need explicit provider-home routing to guarantee account separation. Sources: installed ZeroSub README and https://paseo.sh/docs/custom-providers.md, fetched with curl -fsSL.
7. Remote and hosts
Verdict: partly. Cross-host routing is documented, but no destination is registered on this daemon and execution on tito-studio was not established. No remote agents were started.
$ paseo host ls --json
[]
$ paseo host add --help
Usage: paseo host add [options] <connection>
Options: --label <name>, --meta <key=value>, --json, --host <host>, --home <path>
$ timeout 12 ssh -o BatchMode=yes -o ConnectTimeout=8 100.64.0.1 \
'command -v paseo; paseo daemon status --json'
Host key verification failed.The SSH command exited 255. Host verification was not disabled and known_hosts was not changed. This proves only that this particular Tailscale-IP SSH route was not ready for unattended use, not that tito-studio lacks Paseo or that another existing connection cannot work.
The local Paseo skill supports serverId on remote workspace creation, agent creation, sending, status/activity, and listing. The public SDK documents client.hosts.client(serverId) for one-hop routing through the selected daemon. Both ends need connected-host support, a running destination daemon, authenticated transport, and access to the repository and providers on the destination. Paths and workspace IDs belong to that host. A runner must retain {serverId, agentId}, not an agent ID alone. Source: https://paseo.sh/docs/sdk/reference.md, fetched with curl -fsSL and inspected at its connected-host section.
For this machine's rules, use Tailscale directly or SSH over Tailscale with verified host keys. Registration would use paseo host add CONNECTION --label tito-studio; this is a future setup instruction, not a command run during the probe. A runner on each host avoids needing this route for ordinary local execution.
Request to Paseo: Provide a read-only runner preflight that reports remote transport authentication, expected server identity, supported routing operations, and provider availability together. Include an example that creates a workspace, streams events, answers permissions, cancels, and archives through a remote scope. We could verify discovery here but could not establish the tito-studio route without separate host setup.
8. Runner as a Paseo plugin
Verdict: yes by documentation and installed-plugin evidence; a runner plugin was not installed or executed. Server plugins run trusted Node code in a daemon subprocess. They can make outbound HTTP requests, maintain timers and subscriptions, register RPC handlers, and call Paseo APIs. Lifecycle hooks can alter creation and session-open requests. That is enough machinery for a runner, provided it persists work and resumes after plugin or daemon restarts.
Commands used to retrieve and inspect current documentation:
curl -fsSL https://paseo.sh/llms.txt
curl -fsSL https://paseo.sh/docs/plugins/reference.md -o "$P/plugin.md"
curl -fsSL https://paseo.sh/docs/plugins/hooks.md -o "$P/hooks.md"
sed -n '608,638p' "$P/plugin.md"
rg -n 'agent.create|agent.open|permission' "$P/hooks.md"Trimmed evidence:
reference: Cleanup can be async. Release timers, watchers, sockets, and other resources created by the plugin.
reference: Backend code can use Node APIs and dependencies installed in the plugin directory.
hooks: agent.create.before | yes | ... | Saved config except cwd; env
hooks: agent.open.before | yes | ... | Launch-only env, tools, mcpServers
hooks: agent.permission.before | no | { agent, request }
hooks: agent.permission.after | no | { agent, requestId, resolution }The local skill documents server.handle(contract, handler) for validated RPCs and a handler context containing paseo. Installed ZeroSub demonstrates session-open hooks in this daemon. The public reference says reload, disable, and removal dispose the installation and stop the server subprocess. Outbound HTTP is an inference from the documented unrestricted Node/network access; no external HTTP request was made from a newly installed plugin. Sources: https://paseo.sh/docs/plugins/reference.md and https://paseo.sh/docs/plugins/hooks.md.
Recommend a separate runner process, preserving section 6.9's service ownership and outbound connection. It can keep leases, credentials, accounting, and recovery state across a Paseo plugin reload or daemon outage. MCP injection already works through agent creation, so it does not force a plugin. A small Node adapter using the supported TypeScript client is a practical option for a Go runner; a native Go wire client needs an explicit versioned protocol contract. Do not build production code around the probe's absolute CLI-internal imports. A plugin can later add account selection or UI integration if needed. The hook-name difference between installed instructions and current docs is another reason to pin and integration-test that boundary.
What the runner should rely on
- Explicit workspace creation from a commit hash; retain host, workspace, agent, and provider-session identities separately.
- A version-pinned structured client connection for timeline events, full permissions, and usage; CLI JSON for bounded commands only after checking their actual output.
- Subscription readiness before dispatch, durable event storage, cursor-based recovery, and explicit handling of timeline replacement. Validate recovery and usage semantics before claiming reliable billing.
- Permission-ID responses for structured questions and approvals;
sendfor conversational follow-ups. A queued receipt is not completion. - Per-agent MCP configuration at creation. Give each coordinator its own scoped Equipo tool capability.
- Explicit account routing through the existing credential-home mechanism, with observed account identity and failover rules.
- Stop, archive, and workspace cleanup as separate steps. Verify remaining processes before acknowledging cancellation;
stopalone is insufficient. - A local runner on each enrolled machine. Treat remote routing and plugin hooks as optional, version-tested integrations.