frago
The local control center and runtime for CLI agents
Turn Claude Code, codex, opencode, and agy into general-purpose hands for everything beyond coding — in one searchable 1,000+ session workbench with real Chrome control, zero-token recipes, and event-driven guardrails.
English · 简体中文 · Install · User Guide · Recipes · Discussions
frago is not affiliated with OpenClaw. frago predates OpenClaw by approximately one month.
frago in one line
frago = the self-hosted developer control center and Agent OS for CLI agents.
frago does not ship a proprietary language model or lock you into a closed cloud sandbox. It works alongside Claude Code, codex, opencode, and agy on your own machine — turning scattered terminal windows into a unified web control center while giving every agent real browser hands, persistent memory, and zero-token repeatable workflows:
- 1,000+ sessions in one web workbench (
frago start): Normalize and search every Claude Code, codex, opencode, and agy session athttp://127.0.0.1:8093, inspect tool-call timelines card by card, and reply directly from the browser. - Real Chrome browser & virtual desktop control (
frago browser·frago desktop): Drive your real Chrome profile with existing logins and native anti-bot pass-through (isolated in per-agent tab groups), or run and record repeatable takes on a headless virtual desktop stage. - Explore once, freeze into zero-token recipes (
frago recipe): Turn multi-step browser or system procedures discovered by an agent into deterministic Python, shell, orchrome-jsscripts that re-run in seconds with 0 token cost and zero behavioral drift.
Why frago
CLI agents offer immense potential for system automation, but in day-to-day engineering they consistently hit three walls:
- Single-session silos: Capabilities and states are trapped inside individual terminal windows. Once a session closes or switches directories, authentication, context, and execution chains break — making it painful to search past work or schedule jobs at 3 AM.
- Dumping entire contexts at startup: Standard setups dump hundreds of lines of static rules into every prompt upfront, burning token budgets and diluting attention; switch to a new repo or machine, and the agent reverts to square one.
- Trial-and-error never hardens into deterministic code: Hard-won workflows discovered through multi-step reasoning stay as prose prompts. Every re-run forces the model to reason from scratch, paying the token tax again with unpredictable drift.
What developers need isn't another closed cloud assistant — it's a prepared local control center and Agent OS that keeps any CLI agent disciplined and freezes proven tasks into deterministic code.
Core Philosophy: From Using AI to Harnessing AI (Harness Engineering)
AI software engineering is evolving across three distinct paradigms:
- Prompt Engineering: Learning how to face an LLM;
- Context Engineering: Learning how to use an LLM;
- Harness Engineering: Learning how to harness an agent.
frago implements this harness across three concrete layers:
- Hooks determine what the agent knows: Precise static rules and context companions injected at lifecycle events, with zero persistent model overhead;
- Recipes determine what the agent doesn't need to repeat: Procedures proven through reasoning are frozen into deterministic code running without model inference;
- Skills determine how the agent acts: Providing standard domain practices and execution playbooks.
Agent-facing: Core Capabilities
The system-level runtime provided directly to agent engines:
| Core Capability | Definition & Core Responsibility | Commands & Mechanisms |
|---|---|---|
| 1. Guardrails & Rules Action boundaries |
Zero-model static rules injected at critical events, keeping agent behavior strictly aligned without persistent token overhead | frago hook-rulesfrago book~/.frago/hook/* |
| 2. Computer Use & Automation Real environment actions |
Drive real authenticated browsers and reproducible virtual desktops with full visibility | frago browserfrago desktopfrago appsfrago view |
| 3. Long-Term Memory Targeted recall |
Decouples memory into decisions, artifacts, run traces, and handoffs instead of naive context dumps | frago def (decisions)frago context (artifacts)frago session search (traces)frago todo (handoff) |
| 4. Recipes Reusable Workflows |
Freeze agent-discovered tasks into standalone, deterministic workflows with zero token overhead on re-runs | frago recipefrago daemonfrago market |
| 5. Multi-Agent Coordination & Scheduling Delegation & background |
Delegate subtasks, connect external webhooks, and trigger autonomous background jobs | frago agentfrago channel · frago replyfrago remotefrago schedule |
Human-facing: Unified Management Console
A transparent management window that remains cleanly decoupled from agent execution:
| Module / Command | What it gives you |
|---|---|
Unified Consolefrago start · frago server |
Normalizes session records from heterogeneous agents into a unified Web UI with real-time action timelines |
Model Provider Profilesfrago profile |
Centralizes multi-provider credentials and endpoints, supplied to agents on demand without CLI clutter |
Recipe Marketfrago market |
Publish your automated tools, or install community-verified solutions with one click |
Environment & Maintenancefrago init · frago update · frago autostart |
Desktop client, self-updates, and boot daemons — switch machines without starting from scratch |
What you can do with it
Those were commands. These are scenarios — all carried by recipes, and the recipes are written by your agent on the spot:
- You stop needing Office, because you can simply have the agent build you one to a recipe's spec
- You stop reshooting a tutorial video for the seventh time — perform it once on the virtual stage and the recording is the deliverable
- You stop handing meeting audio to a third party — transcription, key points and action items all happen on your own machine
- You stop copy-pasting between five websites — the agent walks it in one pass, in the browser you're already signed into
- You stop hand-collating research — fetch, dedupe, write up and file it in one recipe
- You stop having to remember how you did it last time — once it works, it's code you can re-run
🖥 The agent lives in a terminal. frago moves it into a web page.
Task: "Open this site and read me the title and the first sentence"
First, what frago does not do: the command, the success, the timestamp and the return value
are produced by whichever cli-agent you run. This machine runs Claude Code and opencode side
by side; the session above happens to be the former. They already emit all of that — it just
scrolls past in their own terminal windows, which makes it hard to manage.
frago doesn't produce receipts, and it doesn't pick a side. It reads every agent's records, normalizes them into one shape, and turns them into one web page.
| In a terminal | In frago | |
|---|---|---|
| Past sessions | A resume-style picker that's awkward to use | 1,299 sessions in one list, searchable by title, directory or session id |
| Switching cli-agent | Each one keeps its own records, in its own format | Normalized into one shape, merged into one list (above: 1,201 Claude Code + 98 opencode) |
| Reading a session back | Page up, screen by screen | Laid out card by card, bucketed as running / done / stopped / errored |
| Continuing the conversation | Find that terminal window again | Type on the page |
| Usage | Count it yourself | A usage calendar |
For people who live in a CLI, this is a convenience. For people who don't, it's the line between using an agent and not.
(Those two PreToolUse:Bash rows above are the session companion stepping in — one reporting the receipt, one adding context. More below.)
This next layer is the part frago does itself:
| Layer | What frago does | What you get |
|---|---|---|
| Logins | Drives your browser's own real profile | Sites you're already signed into just work |
| Anti-bot | It is a real browser, not a simulation | Checks pass on their own |
| Concurrency | Each agent stays in its own real tab group | Two agents work at once without collision; the tab strip shows whose pages are whose |
🛠 Once it works, the agent builds itself a tool
Task: "I want to re-run this backtest myself and tweak the parameters"
A simulated backtest on ¥100,000 of virtual capital, shown to illustrate the interface. Not investment advice.
This is just one of them. That screenshot is one of 317 personal recipes on a single development machine, picked because it photographs well. frago is not a trading tool — other recipes on that same machine cut video, draft articles, transcribe meetings, pull arXiv papers, scrape public neuroscience datasets, synthesize speech, generate storyboards, keep a ledger of past sessions, and pick universities. What your recipes look like depends on what you keep asking an agent to do.
This is the real difference between frago and "an agent that's good at things": the path that worked doesn't rot in a chat log. It freezes into a Recipe — real, deterministic Python or shell.
| The first time | Every time after | |
|---|---|---|
| Who does it | The agent works it out step by step | A piece of deterministic code |
| Model involved | Yes | No |
| Result | This way today, maybe another way tomorrow | Identical to last time |
| Tokens | Burned | None |
A Recipe is a tool the agent builds for itself, not documentation for humans.
| The agent-facing side | The human-facing side | |
|---|---|---|
| Form | recipe.md + deterministic code |
A page at /app/<name> |
| How it's used | recipe list --format json to discover · run · schedule |
Open it, tune parameters, read results |
| Required? | Yes — this is the recipe | No — plenty of recipes have no UI at all and are complete software anyway |
Only when a person genuinely needs to look — as with the backtest above, where a human tunes the parameters and reads the curve — does a recipe hang an interface off the side. The UI is the optional layer, not the point.
🎬 And when you need to show it, there's a stage
Task: "Record what you just did as a tutorial video"
It looks like a macOS desktop; underneath it is all real. That terminal is a real tmux session, that browser window is a real tab, and the mouse movement and clicks are reproducible. Perform once, record it, replay it whenever — instead of reshooting your screen a seventh time.
How it works
The band across the bottom is the session companion, the layer most people underrate. It comes in two:
| Layer | What it is | Model? | Match speed | Cost |
|---|---|---|---|---|
| frago-core | Static rules compiled into a 3 MB native binary | No | 34–961 ms measured on this machine, scaling with payload size | Zero |
| Lightweight AI | Adds one line of context at the right moment, to your standards | Yes, but only a short prompt | One call | Negligible |
Its only job is to keep the agent from drifting:
| A common drift | What the companion does |
|---|---|
| Guessing from memory when it should open the browser | Stops it there and points it at the real browser |
| Inventing a new directory for output | Points it at the place that already exists |
| Repeating a mistake you corrected once | Reminds it next time the same situation comes up |
Because the static layer is free and the AI layer only ever runs a short prompt, it's cheap enough to leave on permanently. The settings page shows the live state of both layers, in plain language.
Examples: recipes I built for myself
Illustration only. These are not built into frago and don't ship with it, and they are not a recommended list — they're private recipes on my own machine, grown around my own life and work. They're here to answer one question: what can a recipe look like?
frago installs blank. Your recipes grow out of your agent doing your repetitive work, and will most likely have nothing to do with any of these.
| Recipe | What the agent does | What a person sees |
|---|---|---|
agent_os |
Reassembles a real tmux session and a real browser tab into a scriptable virtual macOS desktop | The live stage at /app/agent_os |
etf_backtest_dashboard_v5 |
Runs zero-parameter backtests of A-share / cross-border ETF strategies, one set after another | Parameter sliders, net-value curves, per-trade P&L |
etf_kdj_ths_auto_trade |
Watches 5-minute KDJ signals and places orders in the Tonghuashun client | Trade receipts and position checks (no LLM in the loop) |
gaokao_henan_volunteer_analysis |
Converts score to province rank, matches universities to a family's budget and region, and flags disguised-private or overpriced programs | A report with a verification checklist, plus a web view |
meeting_copilot |
Transcribes a live meeting, extracts points, questions and actions from local materials, and can voice-clone a reply onto the mic | A scrolling transcript and question list |
article_studio |
One persistent editor agent per article — interviews you, rewrites in your voice, writes back into HTML | Article list on the left, reading and writing panes on the right |
Install
There's nothing to download. frago is installed by the agent you already have. Add the install skill to Claude Code and ask for it — the skill prepares git and uv, clones the source, builds the environment, deploys the hooks, walks you through credentials, and finishes by opening a welcome page where the machine shows you what it can now do. You never type a frago command yourself.
/plugin marketplace add tsaijamey/how-to-install-frago
/plugin install how-to-install-frago@how-to-install-frago
Then just ask it: install frago
→ how-to-install-frago — the skill's own repository
Works on macOS, Windows and Linux. Claude Code drives the install; opencode and codex work as agent cores once it's done. Installing needs only git and uv — a few more things are needed per capability (tmux to delegate work, Edge for browser automation, ffmpeg to record, bubblewrap to run recipes on Linux), and the skill asks what you intend to use, sets that up, and says what stays unavailable.
Rather do it yourself? The package is on PyPI.
Requires Python 3.13+. This gets you the CLI and the web UI, but none of the machine preparation the skill does — hooks, credentials and per-capability dependencies are left to you.
uv tool install frago-cli # install
frago init # check dependencies, configure a model profile
frago server start # start the web UI at http://127.0.0.1:8093
Don't have uv yet, or want the one-line installer? See Installation.
There is no desktop app. The installers attached to older GitHub Releases are no longer maintained.
Documentation
- User Guide — getting started after install
- Concepts — how Recipes, Runs, Sessions and prompting work together
- Recipe System — the recipe command surface, end to end
- Examples — practical Run + Recipe + browser workflows
- Agent Cores — Claude Code / codex / opencode compared: equivalent, unique, and how usage differs
- Browser Support — backends, ports, tab groups, the desktop stage
- Developer Docs — CLI, architecture, development setup
Inside the product, frago book reads the shipped knowledge base — the canonical operational manual that stays in sync with the code.
License
MIT — see LICENSE
Contributing
- Submit an Issue
- Discussions
- Community recipes — public recipes live in their own repository
Metadata
Release files for frago-cli 1.5.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| frago_cli-1.5.31.tar.gz | 22.3 MB | Without provenance | Details for frago_cli-1.5.31.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| frago_cli-1.5.31-py3-none-any.whl | Python 3 | none | any | Details for frago_cli-1.5.31-py3-none-any.whl |
Total release size: 38.6 MB
Release files / frago_cli-1.5.31.tar.gz
| Download URL | frago_cli-1.5.31.tar.gz |
|---|---|
| Size | 22.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abe587a8918c3cad59a995b9cef3bcdc5a557245ed6bb37a4ab4526f2650ef99
|
|
BLAKE2b-256 checksum How to use checksums |
20eeae1a0bf5a7d457db7255f1b7925e0cf14732dd09e7680bc5b9b307f6b34a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / frago_cli-1.5.31-py3-none-any.whl
| Download URL | frago_cli-1.5.31-py3-none-any.whl |
|---|---|
| Size | 16.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19cc87f3c46781b60381e78cd2cfc1aed662f791d3c30a385d83b3a8e9c72503
|
|
BLAKE2b-256 checksum How to use checksums |
64d4249a89c212ea86142098353a35b66b91e19fc74a6aa5acdd0ef708a7bce1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for frago-cli 1.5.31
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.