Dev.to AI 🤖 Ai 👁 0 📖 5 min read

Two Agents, One Codebase, One Logbook

How I run Claude Code and OpenAI Codex on the same application — and still know, a month later, why it was built that way. I build NeoCloud, a GPU-fleet observability console for neocloud providers, mostly on my own and

Two Agents, One Codebase, One Logbook

How I run Claude Code and OpenAI Codex on the same application — and still know, a month later, why it was built that way.

I build NeoCloud, a GPU-fleet observability console for neocloud providers, mostly on my own and mostly in bursts. A fabric-failure investigation one week, a tenancy fix the next, six weeks of silence, then a customer demo that needs both.

That rhythm is normal now. It is also exactly the rhythm that destroys institutional memory. This is how I stopped losing it, even with two different coding agents writing the code.

The project

  • Application: NeoCloud — the operator console for a company that rents out GPUs. The provider sees the whole fleet; each customer sees only their own jobs.
  • Backend: a deployed AOS application — 28 entities, 42 Python functions, 2 agents, multi-tenant.
  • Console: a separate repo — React 19, TanStack, Tailwind 4, 329 tests.
  • Agents: Hamza-Claude and Hamza-Codex. One developer, two tools.

The problem, measured

Three files sat at the root of my console repository:

  • README.md — 31 KB
  • HANDOFF.md — 51 KB
  • FABRIC-HANDOFF.md — 29 KB

That's 111 KB of prose, written by hand, for one purpose: so the next session knows what the last one decided.

HANDOFF.md says so in its own second line — context for whoever picks this up next, human or a fresh Claude session. It even has a section called "The traps (each cost real time; all verified live)." I paid for those traps twice: once to hit them, once to write them down.

This is the real bill for agent-written code. Writing code got fast; the reasoning behind it didn't, and the reasoning is what disappears when the terminal closes. So you write it down by hand — which fails twice over. It goes stale the day you stop updating it, and it only covers the one agent you remembered to write it for.

What changed

I connected both agents to Oloom and made four moves. None of them changed how the code gets written.

1. Both agents report to the same place

One collector key per agent. Both stream telemetry into the same workspace — no wrapper, no proxy, no change to either tool's workflow — and they show up side by side, with framework, owner and last activity for each.

Both coding agents listed in the Oloom workspace

2. Sessions are the logbook. Topics are the map.

A session is one terminal run — start, last activity, executions, cost. A topic is a subject, assembled across sessions after the fact. They're deliberately not the same shape:

  • One session, Console Onboarding and Branding, ran 27 executions at $16.06 and fed four different topics.
  • One topic, Security Audit and Review of NeoCloud, is 2 episodes and 13 executions — drawn from more than one sitting.

Nobody labelled either. Clustering runs over the telemetry and writes the titles, summaries and per-episode detail.

Sessions for one agent, with the Topics column

The NeoCloud security audit as a topic

The effect is small and daily. Coming back to the fabric work after three weeks, the question stops being "which session was that?" and becomes "open the fabric topic."

3. Skills, written once, attached to both agents

House rules don't belong inside one agent. I wrote five as skills — frontend-architecture, frontend-engineering, frontend-testing, frontend-ui-design and ai-token-economy — and attached them to both.

They aren't re-typed. Each copy keeps a reference to its source and a flag for whether that source has changed. Revise the architecture rule on the Claude side and the Codex copy is marked as drifted instead of quietly rotting.

A versioned skill with its source-drift link

4. Split the work by shape, not by preference

Two weeks of telemetry made the division obvious without me deciding it in advance:

  • Codex does long mechanical passes. One front-end redesign episode ran 45 executions; a greenfield bootstrap ran 77. That's exactly the shape of the NeoCloud console redesign — so that's where it goes next.
  • Claude does investigation. The session carrying the NeoCloud architecture-and-security audit ran 14 executions at $38.29 — fewer steps, far more reasoning per step. It surfaced critical tenant-isolation and SSRF vulnerabilities and wrote tests that reproduce them.

What this didn't solve

A write-up that stops at the good part is advertising. Four limits, all current:

The two agents still keep separate books. A topic tree belongs to a collector key, and each agent has its own. Claude's 13 chapters and Codex's 9 share no subject matter — the NeoCloud audit exists on one side only. One login shows you both; nothing merges them. Cross-agent continuity is still a practice you perform, not a feature you switch on.

The other agent's topics: nine chapters, none of them NeoCloud

A copy is a copy. The drift flag tells you a skill's source changed. It doesn't re-copy it, and nothing stops the two versions diverging while you're busy.

The costs aren't comparable. Claude's $108.70 over 30 days is real. Every Codex agent in the workspace reports $0.00 — including one at 134M tokens. That's missing price ingestion, not cheap inference. The Codex agents have burned about 172M tokens between them; at a conservative $2 per million blended, that's roughly $350 going uncounted. Read the token counts; ignore the Codex money column until pricing is loaded.

The documents layer is empty. Zero documents against 22 topics. Topics record what happened; a document records what you've decided should be true from now on. My 111 KB of handoff files are exactly that — roughly eight to twelve documents' worth of standing decisions, written in the right spirit, kept in the wrong place, and read by neither agent unless I remember to point at them.

How to copy the setup

  1. One key per agent. Share a key and you lose the ability to tell them apart.
  2. Enter through topics, not sessions. Stop searching by date.
  3. Write your standards as skills, attach them to every agent, and re-copy when the drift flag lights up.
  4. Route by shape, then promote repeated topics into documents. Until that last step, the 111 KB is still your real system of record.

What this is really worth

The lesson isn't that one agent won. It's that I no longer have to pick one.

Different agents are good at different work — Codex at long mechanical passes, Claude at investigations where being wrong is expensive. Point each at what it does best and you get the better half of both rather than the average of the two. What keeps that practical instead of chaotic is that every run lands in the same record: topics I can open weeks later, sessions I can trace, and one set of skills both agents are held to.

My problem was 111 KB of handoff files written by hand. The real test is whether that number goes down.

If you want to try it, you can connect Claude Code or Codex free at oloom.ai — a few telemetry settings, no changes to your code, and your agents' work starts mapping itself from the first session.

Originally published on Medium.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.