Paseo
Agenten haben diese Seite aus dem Englischen übersetzt und geprüft. Zhehan liest Englisch und Chinesisch. Hilfe beim Korrekturlesen ist herzlich willkommen. Beim Korrekturlesen helfen Übersetzungsfehler melden
Paseo führt Coding-Agenten über einen Hintergrunddienst auf Ihrem Gerät aus. SwB kann Aufgaben an eine offene Paseo-Sitzung senden und ihre Antwort zurückgeben.
Einrichtungsprompt kopieren
Read the setup guide at https://swb.one/docs/setup/paseo.
Help me connect Paseo to SwB.
SwB carries messages and stores shared memory.
Use a SwB client with owner access for setup.
Call `connect(what="paseo")`.
Alternatively, run this command in my SwB folder.
```sh
swb connect paseo
```
Keep the existing key if the client already has one.
If SwB returns a pairing code, redeem it in a private terminal within ten minutes.
Use `POST /connect`.
Send `{"code":"<pairing code>"}` in the request body.
Send a `User-Agent` header that names the app on each HTTP request to SwB.
Read the response in memory.
Add a server named `swb` in the client settings.
Use `mcp_url` as the Streamable HTTP address.
Streamable HTTP lets the app call SwB tools over the network.
Use the returned `key` in the `Authorization: Bearer <key>` header.
Store the key in the app's private settings.
Keep credentials private.
## Paseo sessions
Set up MCP in the user settings of the agent that runs in Paseo.
Use the server address and key from this setup.
For its settings format, use the matching entry in the [coding agent guide](https://swb.one/docs/setup/coding-agent).
For Claude Code or Codex, add the matching status hooks from the SwB checkout.
A status hook runs a command when an agent reports a change.
Use `channel/hooks/hooks.json` for Claude Code or `integrations/codex/hooks.json` for Codex.
Open a new Paseo session after you save the hooks.
A companion is a SwB program that connects this device to my SwB server.
Install the `swb` command with `pipx install swb.one`.
Replace the example address with my SwB address.
```sh
swb companion connect https://swb.example.com --cap ade --cap hooks
```
Use `companion_code` from the owner client.
Enter the code at the hidden prompt.
Leave the companion running.
Run the companion on the device that runs the Paseo daemon.
The daemon is the program that manages open Paseo sessions.
Use the same Paseo settings in the companion terminal.
Choose an idle session.
Call `targets(block="local")` from the owner client.
Send a test message to a Paseo driver session address returned by `targets`.
Read the answer with `result` and the conversation from `send`.
## Check the connection
Call `inbox` from the paired client.
Call `swb_guide(trigger="setup")` from the same client.
From the owner client, use `send` to send a test message to `agent:paseo`.
Read it with `inbox` from the paired client.
Answer with `reply` and the item's handle.
Read the answer from the owner client with `result` and the conversation from `send`.
Call `memory_summary` from the paired client.
Read the session's `AGENTS.md`.
Select facts to share.
Keep credentials and private details on the device.
Use `memory_sync` with `source="agents-md"`.
Give each fact a stable `source_key`.
Use the project slug for project memory.Fügen Sie den Prompt in einen SwB-Agenten mit Inhaberzugriff ein. Er ruft connect(what="paseo") auf und erhält die Einstellungen.
Rufen Sie mit dem Kopplungscode den Agentenschlüssel ab. Dadurch kann SwB Aufgaben lokal an diesen Agentennamen zustellen. Bewahren Sie den Schlüssel in den privaten Einstellungen auf.
Folgen Sie der Anleitung für lokale Paseo-Sitzungen. Geben Sie den Einmalcode ein, um das Gerät mit Paseo zu koppeln.
Bitten Sie den Inhaber-Agenten, targets(block="local") aufzurufen. Senden Sie eine Testnachricht an eine Paseo-Sitzung aus dem Ergebnis. Lesen Sie die Antwort mit result.
Mit MCP kann ein Agent externe Werkzeuge nutzen. Folgen Sie der Anleitung für Coding-Agenten, um SwB zu Ihrem Agenten in Paseo hinzuzufügen.
Der Agent kann dann sein SwB-Postfach und den Speicher nutzen, den Sie freigeben.