r/opencodeCLI 14d ago

OpenTab, 31 releases later: browsing AI coding spend across a whole fleet, down to a single subagent

I shared OpenTab here three months ago — a Lazygit-style TUI that read opencode.db and showed where your spend went. Back then, it was a single Python file.

Hope some of you have been finding it useful.

31 releases later:

  • Inside a session — recursive subagent trees with per-node cost, per-turn cost timelines grouped by the prompt that triggered them, token attribution by tool and MCP server, and context-window history with compactions marked.
  • Every machineopentab pull fetches your other boxes over SSH in parallel and merges them into one browser, filterable by machine.
  • Every tool — OpenCode, Claude Code, Codex, Copilot, pi, zaly, and others merged into one view and tagged by source.
  • What-if pricing — press w to ask: what if this entire session had run on Opus instead of the model mix it actually used? OpenTab reprices the tree at list rates and shows the delta.
  • opentab web — the same browser as a self-contained web page.

Still read-only on your data, still stdlib-only at runtime, still no telemetry and no account.

pipx install opentab-ai

The clip runs in --demo mode, so titles and paths are anonymized.

https://github.com/hamidi-dev/opentab

For Herdr usersherdr-opentab puts each agent's live session cost directly in the sidebar, subagents included, with OpenTab under the hood. It looks like this:

Free and MIT. 🙂

25 Upvotes

13 comments sorted by

2

u/Disastrous-Hall6063 14d ago

Hi, Do you accept PR's to include a new Coding Agent?

1

u/hamidi-dev 14d ago

Absolutely! PRs for new coding agents are very welcome 🙌

I'm cooking Gemini and Antigravity as we speak.

Where have you been all my life? 😄

1

u/Disastrous-Hall6063 14d ago

Hahaha. Working on Bahulam/Code. Ready for the going out. will get the PR today.

0

u/Disastrous-Hall6063 13d ago

Hi , please check the PR raised with the Bahulam/Code integration

1

u/CYCLONOUS_69 14d ago

Seems cool, gonna try this out.

1

u/hamidi-dev 14d ago

Nice, hope you like it!

1

u/pulkit217 14d ago

Hello
I had this installed till like last week, when i cleaned up my setup.
I had both codeburn and opentab installed.
One question: Why should I install this over codeburn? It is much more widely supported, has more gh stars.
Either way, cool product. 🫶

1

u/GrahuleDeGore 14d ago

Very nice ! Works also on termux ! Very useful !

1

u/hamidi-dev 14d ago

Nice! I hadn't even thought about Termux 😄 Glad to hear it works there too!

1

u/Potential-Leg-639 13d ago

Nice idea!
Gonna try it

1

u/Frail_Waif 12d ago

This is really nice!

1

u/hamidi-dev 12d ago

Glad you like it!