Project Info

Codex Inspector

Devpost

Inspiration

We are Codex power users and we wanted to be able to have more insight into how our tokens are spent and how we could use Codex more effectively. The app hides a lot of technical detail from the user. We want to be able to see what context Codex had received, or how work was distributed across agents. Answering those questions meant manually searching large session logs and reconstructing events by hand. We wanted the observability tools we expect from other developer systems, but designed specifically for private, local Codex workflows.

What it does

Codex Inspector turns the Codex session logs already on your computer into a local dashboard. It shows where tokens and capacity went, lets you trace a root session through its turns, spawned agents, tool calls, compactions, and recorded evidence, and can launch an opt-in Effectiveness Review that offers evidence-backed strengths and improvements. Every insight remains connected to the session events behind it.

How we built it

We built Inspector as three connected pieces: a Codex plugin with lifecycle hooks and skills, a Go CLI that creates a versioned local SQLite index, and a React dashboard for exploring usage, sessions, and reviews. Codex and GPT-5.6 helped us move from brainstorming and product-design grilling through architecture, implementation, browser-driven design reviews, and end-to-end verification. The team then combined the strongest ideas from independent MVP explorations into one coherent workflow.

Challenges we ran into

Codex history is large, evolving, and spread across several formats that do not always have identical coverage or identifiers. We had to correctly connect root sessions with spawned agents, distinguish exact facts from derived, estimated, or unavailable information, and keep searches responsive across large histories. Preserving a strict privacy boundary while supporting exact evidence and model-powered reviews also required careful scope previews, explicit consent, compatibility checks, and failure-safe indexing.

Accomplishments we're proud of

We shipped a complete local-first journey from aggregate usage to a causal session map, chronological event evidence, and an explicitly started GPT-5.6 review whose citations return to the original session. Inspector handles large histories incrementally, keeps model judgment separate from deterministic indexing, and never rewrites the source sessions. We are especially proud that the full installation and hero workflow were exercised repeatedly through clean-install, browser, crash-recovery, security, and synthetic end-to-end tests.

What we learned

We learned that Codex’s local history contains enough information to build a surprisingly rich observability experience, but trustworthy interpretation depends on careful provenance and honest fidelity labels. Token usage alone rarely tells the whole story: context growth, retries, tool choice, task framing, and delegation matter just as much. Most importantly, improvement advice becomes far more useful when users can inspect its evidence and remain in control of whether Codex acts on it.

What's next

Next, we want to support more platforms and Codex history versions, improve live inspection of active sessions, and add stronger privacy controls for sharing evidence. We also see opportunities for recurring reviews, longitudinal workflow trends, and detectors that identify repeated processes worth turning into skills, hooks, or automations. The long-term goal is to help every Codex user build a workflow that continuously becomes more understandable, reliable, and effective.

Analysis

Compare with all teams

View

Metric

Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.

Technology

Found in codeClaimed only
  • CSSIn code
  • GoIn code
  • HTMLIn code
  • JavaScriptIn code
  • ReactIn code
  • SQLIn code
  • Tailwind CSSIn code
  • TypeScriptIn code

8 of 8 appear in the indexed code.

AI coding agents

No AI coding agent signals were found in this repository.

Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.

Codebase size

Source size

3.7 MB

Source files

176

Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.

0 stars