Local-first operator console: fuses your AI agent sessions (Claude Code, Codex CLI, ChatGPT), git repos, and markdown notes into one dashboard that tells you what to do next.
Project description
⚡ opsroom
Your AI agents write code all day. opsroom shows you whether any of it pays — then closes the loop: agents propose, you approve, the ledger moves.
One console for every AI coding agent you run — Claude Code, OpenAI Codex CLI, ChatGPT, Claude web — plus your git repos and your markdown notes (Obsidian or plain folders), fused into one local dashboard that answers the only question that matters:
What should I do right now to make money?
No cloud. No accounts. No dependencies. One Python package, one SQLite file on your disk, one HTML file as your console.
pipx install opsroom-console # or: pip install opsroom-console / uv tool install opsroom-console
opsroom demo # a fully loaded LIVE console in 10 seconds (fictional data)
opsroom serve # your console: live, writable, auto-refreshing
A fresh install's console opens with an on-page SET UP YOUR ROOM card — name the goal and your ventures right there and start operating; no config files. (opsroom init is the terminal equivalent, and config.toml stays yours to refine.)
What you get
🎯 NOW — one ranked action stack. Everything worth doing — a live reply, a due follow-up, the top move, staged drafts, phone-first targets, aged leads, an agent's staged promise — collapses into a single list, money-ranked, most-important first. Every row is DOable in place: draft the reply, tap-to-dial the number, dispatch it to an agent, mark it done. No hunting across tabs. Above it: today's pace (collected vs what today needs) and a live view of which AI agents are running right now.
🏢 VENTURES — every project, with a brief. Click any venture: an ordered DO NEXT list generated from live pipeline state ("UNBLOCK FIRST: …" when your notes say something's blocking), a DONE timeline auto-pulled from your decisions log, live numbers, and every researched target as a searchable click-to-open card — pain hypothesis, decision-makers, phones linked.
💰 MONEY — a real P&L, not a vanity meter. Collected vs goal, days left, needed per day — plus a spend ledger (money out), net, and per-venture in/out/net so you see where the money actually comes from. A client-side path-to-goal simulator with knobs built from your own ventures answers "what combination of closes gets me there" without anything leaving the page. Cash counts only when collected, not quoted.
⌕ SEARCH — one box over everything. Type once in the live console and hit sessions, commits, decisions, leads, touches, and your inbox in the same result list. Full-text search over the activity ledger, literal match over the operator ledgers, all local.
✍ DRAFT — the reply, written for you, on your rails. Paste an inbound message and get a rails-correct draft built from the one-line offer you set per venture in config. Deterministic and local — no LLM call, and the drafter never quotes a number from the inbound message, only your canon prices. Edit, copy, log the send in one tap (which schedules the day-3 follow-up).
🟢 AGENTS RUNNING — see your live sessions, cowork and all. opsroom reads which Claude Code sessions are alive right now (interactive, cowork, background), attributes each to a venture, and flags the cowork/background ones — so you can see an agent working for you on a venture as it happens, not just after the fact in the rollup.
▶ DO IT — every action becomes a hand-off, and your agents close the loop. opsroom reads what your AI agents did all day; now it writes back. Every queued action — the top cash move, a DO NEXT step, a due follow-up, a staged promise — gets a ▶ button that opens the full work brief: the task, your config rails, and the live operator context. Copy it into any AI chat, or opt in ([agent] enabled = true in config) and one tap launches your local agent CLI (e.g. claude -p) on the brief, detached, logged locally. The command comes only from your config, the brief is passed as a single argument, and it's off by default.
🧠 ASK YOUR BOARD ANYTHING — and it thinks while you sleep. Type a question on the NOW tab ("what should I do about the aged quotes?") and it's dispatched to your agent CLI with your whole live board as context; the answer comes back as a rendered card with a ▶-dispatchable plan, not a log tail. Turn on the advisor ([agent] advise = "daily" or an hour interval — a second opt-in beyond enabled) and opsroom launches the agent on its own schedule to assess the board and surface plays beyond the derived queue: you open the console to a 🧠 TODAY'S BRIEFING it thought up while you were away. Agent prose is treated as untrusted input — escaped-first rendering, no links ever, 16KB caps, and answers are only read from runs opsroom itself registered.
🤖 AGENT PROPOSES — the operator loop. The return leg of dispatch: when an agent finishes a run, opsroom parses its output for fenced ```opsroom JSON blocks — "record $380 collected", "schedule the day-2 follow-up", "here's a new lead", "run this next" — and stages them as pending proposals on the console. Nothing applies automatically, ever: each proposal is one tap to apply (through the same write path as your own buttons) or dismiss, with a provenance link to the raw log. The verbs are a strict whitelist of things you could already do by hand; everything is scrubbed, size-capped, and double-tap-safe. Your agents work, propose, and wait for your tap — the ledger only moves when you say so.
⏳ WORK QUEUE — dispatches chain. Fire a second dispatch while an agent is running and it queues, auto-firing FIFO when the runner finishes. An agent can even propose its own next run; your tap chains it. Queued work shows as chips in AGENTS RUNNING with one-tap dismiss.
📇 LEADS WORKSPACE — the whole register, workable. /leads is a full page over every lead you've ever captured: search, status chips (open/quoted/won/lost), age and quote-size sorts, and every action inline — call, quote, collect, lost, draft. Each lead's ▶ dispatches an agent with that lead's id, contact, quote and touch history baked into the brief.
🔥 REPLIED + LEADS — the hot list, fed by anything. Drop a small JSON file (from an AI agent session reading your mail, a CRM export, a webhook you pipe to disk) and opsroom merges it: new leads dedup by phone into the register, and a reply from someone you pitched hits the top of NOW as a call-these-first block with a one-tap drafted answer. Replies schedule the call for today, not the day-3 cadence — a live reply is the hottest thing on the board. The drop file is the boundary: opsroom itself never touches the network.
📊 ACTIVITY — where your time actually went, by agent. A BY AGENT table (Claude vs Codex vs ChatGPT: sessions, active hours, top venture), sessions per venture, commits, and the two features that hurt (in a good way):
- Trap-zone drift: time spent in $0-revenue builds vs revenue ventures, with a red alert when building beats selling this week. The engineer's trap, made visible.
- Open loops: things you started and silently dropped — plan language in AI transcripts with no follow-up commit, stale branches, uncommitted work, in-progress notes going stale.
The sitrep
$ opsroom sitrep
SITREP · 2026-07-16
- DATE / DAYS TO GOAL: 2026-07-16 / 19d
- CASH COLLECTED vs Q3 $50K sprint: $8,250 collected
- OPEN LEADS: ~14 aged ~8d
- LIVE PIPELINE: Meridian: 2 proposals out ($12K + $18K) · 2 drafted, 1 sent, 2 call sheet
- TOP LEAK RIGHT NOW: ~14 open leads aged ~8d — paid-for money rotting uncalled
- SINGLE HIGHEST CASH ACTION TODAY: Finish the case-study PDF and send both proposals
Six lines, every morning, from live data. --write appends it to a daily note.
How it works
Read-only collectors, one local SQLite ledger, deterministic rendering:
| Source | What it reads |
|---|---|
cli |
Claude Code session logs (~/.claude/projects) — prompts, duration, outcomes |
codex |
OpenAI Codex CLI session logs (~/.codex/sessions) — same treatment, same attribution |
git |
every repo under your scan roots — commits, branches, uncommitted work |
fs |
mtime scan for non-git work |
notes |
your markdown roots — frontmatter, staleness, your dashboard note's ## Live state table |
chat |
manual drop of a chat export — both Claude (Anthropic) and ChatGPT (OpenAI) exports, sniffed by shape |
Attribution is by path: work done in ~/code/acme counts toward venture acme. Sessions are gap-capped active minutes, not wall clock.
Your notes are the API
opsroom doesn't make you adopt a system — it reads simple markdown conventions you can start using in five minutes:
- A dashboard note with a
## Live statetable (| Metric | Value | As of |) — rows are matched by key words (days to goal,cash, anything withlead), never by position, so reformatting won't break it. Ages keep ticking: "aged ~6 days" as-of last week reads correctly today. - A
## Today's one movesection → the console's hero action. - Pipeline trackers with
## Totalslines and## TOUCH LOGtables (Target | Channel | Status | Next) → your send/call queues. Any wide table in the same file → your searchable target list. - A
Decisions Log.mdwith- **YYYY-MM-DD** — …bullets → per-venture DONE timelines.
Security posture
This tool reads your terminal history and notes, so it's built paranoid:
- Fail-closed secret redaction — every event passes a redactor before touching the DB (API keys, AWS/GitHub/Slack/Stripe/Google tokens, JWTs, DB URIs, private keys, high-entropy
KEY=value). If redaction errors, the event is dropped, never written. - No network egress. Ever. Nothing phones home; the console HTML loads zero external resources. The only URLs are ones you configured as buttons.
- Local only — SQLite at
~/.local/share/opsroomwith600perms, refuses to live under a cloud-sync root (iCloud/Dropbox/OneDrive). - Read-only on all sources — your notes are never written; the only writes are the ledger and an optional append-only daily note.
- Agent output is untrusted input — proposals never auto-apply. They're parsed fail-closed (strict verb whitelist onto existing write actions, size caps, redaction, idempotent staging) and every one waits for your CSRF-gated tap. A hostile or prompt-injected agent log can at worst put a visible pending row on your board, with a link to the log that produced it.
opsroom purge --source=X/--before=DATEto shrink the blast radius any time.
Philosophy
Built during a 23-day cash sprint by an operator running eight ventures, out of one frustration: every productivity tool tracks activity; none of them track whether the activity pays. The rules encoded here are blunt:
- Cash counts when collected — not quoted, not booked, not "basically closed".
- Building instead of selling is a trap — visible on the board, hours counted.
- Everything you start and drop is a loop — it stays on the board until closed or dismissed.
- The console must answer "what do I do next" with names, numbers, and buttons — or it's just letters on a screen.
FAQ
Do I need Claude Code / Codex / Obsidian? No. Every source is optional and degrades gracefully. Git repos alone give you drift + loops + sessions; add notes when you want the money features.
Which AI agents are supported? Claude Code, OpenAI Codex CLI, Gemini CLI, Cursor, Aider, and OpenCode are read live from their local logs. ChatGPT and Claude web/desktop ingest via each vendor's data-export file dropped in a folder. Collectors are ~100-line files with one collect(con) entry point, PRs welcome for anything else.
macOS says the notes are unreadable. Grant your terminal Full Disk Access. If access drops mid-session, opsroom serves the last cached snapshot and says so.
Windows? WSL works. Native Windows path/permission handling has been hardened (sync-root detection, project-path derivation, and 600/700 perm enforcement all previously assumed /-separated POSIX paths and hard-failed on chmod), but it still hasn't been run end-to-end on a real Windows box — CI only covers ubuntu + macos. If you can, run the test gates and opsroom demo on native Windows and open an issue with what breaks.
Development
git clone https://github.com/malekadjeb-ai/opsroom && cd opsroom
for t in tests/test_*.py; do python3 "$t" || break; done # every gate must exit 0
python3 -m opsroom.cli demo
Stdlib only — there is nothing to pip install for development. MIT license.
Want to add a collector for your agent (Gemini CLI, Cursor, Aider, ...)? It's a ~100-line file — see CONTRIBUTING.md for the recipe and the open good first issues.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opsroom_console-0.10.0.tar.gz.
File metadata
- Download URL: opsroom_console-0.10.0.tar.gz
- Upload date:
- Size: 157.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8515b3b7770f6f61fa214ee04aaa9b63933b6e0db2b8f432149bf40f012de98
|
|
| MD5 |
4efe9a4314bf29d894e054df7fb31407
|
|
| BLAKE2b-256 |
17eebefbb7b0fb58622dce78458dde0f8b9d19e239852044457212d79ead6c35
|
File details
Details for the file opsroom_console-0.10.0-py3-none-any.whl.
File metadata
- Download URL: opsroom_console-0.10.0-py3-none-any.whl
- Upload date:
- Size: 138.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2662026740397b9daf00685a6ab83c343780bd3df9753f42090118047155c198
|
|
| MD5 |
dd89880685ab829508da4e2a793634b6
|
|
| BLAKE2b-256 |
95ec17f1f24b4896258a541c013d698ca97fb6fad56d2ea2b5358777d85ec762
|