Peko for agents
This page is for a coding agent (Claude Code, Codex and the like) setting up or operating Peko for a person. It is plain Markdown at https://pekohub.ai/docs/en/agents.md. People using the desktop app should read Install Peko instead.
Peko runs persistent AI agents ("pekos") on the person's computer. You drive it with the peko command. A background daemon runs the pekos; the CLI talks to it over a local socket. There is no HTTP API.
Rules
- Ask the person for anything only they know: the model provider, the API key, the peko's name.
- Never write an API key to a file, and never echo it back.
peko model add --keystores it in the OS keychain. - A seed's setup steps run commands as the person. Show them the steps and get a yes before passing
--yes. - Only the person approves a peko's pending requests. Do not run
peko approveunless they tell you to, for that request.
Install
macOS and Linux:
curl -fsSL https://raw.githubusercontent.com/ConekoAI/Peko/master/install.sh | bash
Windows (PowerShell, per user, no administrator rights):
irm https://raw.githubusercontent.com/ConekoAI/Peko/master/install.ps1 | iex
Check with peko --version. If the person has Peko Desktop installed, the daemon is already running under it; do not start a second one.
Connect a model
Ask for the API format (anthropic_messages, openai_completions or openai_responses), the base URL, the model ID and the key.
peko model add --id my-model --api-format <format> --base-url <url> --model <model-id> --key "<key>"
peko model test my-model
Leave out --model to have the endpoint list what it offers. For a local model with no key, pass --no-key.
Create a peko and talk to it
peko daemon start
peko create <name> --model my-model
peko send <name> "Hello, what can you do?"
peko log <name>
create waits for the peko's first turn, in which it sets itself up. Pass --detach to return at once, or --wait-timeout <seconds> in a script.
Create from a seed
A seed is a TOML file with a peko's definition. The official starter seeds are peko/briefing, peko/notebook, peko/coach, peko/scribe and peko/repo-watch.
curl -fsSL -o briefing.seed.toml https://api.pekohub.ai/v1/seeds/peko/briefing/versions/latest/seed.toml
peko create <name> --model my-model -s briefing.seed.toml
List the official seeds as JSON: GET https://api.pekohub.ai/v1/seeds?owner=peko. Search all seeds: GET https://api.pekohub.ai/v1/search?q=<text>.
peko create -s prints a seed's setup steps and files, and refuses without a terminal unless --yes is passed. The official seeds have neither.
Everyday commands
peko list # the person's pekos
peko show <name> # identity, model, roles, folder
peko send <name> "…" # talk to it; the reply streams to stdout
peko send <name> --file prompt.txt
peko log <name> --watch # follow the conversation
peko stop <name> # stop the turn it is running
peko seed <name> # export its definition as a seed
peko export <name> # snapshot the whole peko, keys included
peko daemon status
Each peko is a folder of plain files under ~/.peko/pekos/<name>/: peko.toml (definition), roles/*.md (its jobs), kb/ (memory), skills/, mcp/. Capabilities are added by editing those files; edits apply on the peko's next turn.
Reach other computers
peko runtime register
It prints a code. Show it to the person to approve on pekohub.ai. Afterwards pekos are addressed as @owner/name.
Full reference
Fetch these as raw Markdown:
- Getting started, with troubleshooting:
https://raw.githubusercontent.com/ConekoAI/Peko/master/docs/getting-started/GETTING_STARTED.md - User's guide (roles, skills, MCP servers, memory, limits):
https://raw.githubusercontent.com/ConekoAI/Peko/master/docs/user-guide/USERS_GUIDE.md - Every command:
https://raw.githubusercontent.com/ConekoAI/Peko/master/docs/user-guide/CLI_REFERENCE.md
peko --help and peko <command> --help describe the installed version and win over anything written here.