Skip to content
lorem-devPublic

About

duolog makes Claude Code and Codex work as a pair in one project. You choose which agent and model does each kind of work. The two sessions then talk through a cheap file bus, so they do not paste large context at each other.

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

344 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

duolog icon

duolog

Download Documentation License CI

duolog pairs Claude Code and Codex in one project. Roles select the agent and model; sessions exchange short messages on a file bus.

The lead hands work to a worker, the planner or a live peer

The gate checks every worker command against the project rules. The bus in .duolog/ carries messages, asks and results. In our November 2026 study, a lead that gave a whole feature to the planner on Codex cost 38-45% less than one Opus session, with the same test results, on two tasks. See the study.


How to install

Run one line in your project folder. It gives Claude Code a short install prompt; Claude installs duolog and asks whether to set it up for this folder.

On macOS, Linux or WSL:

claude "$(curl -fsSL https://github.com/lorem-dev/duolog/releases/latest/download/install-prompt.md)"

In Windows PowerShell:

claude (irm https://github.com/lorem-dev/duolog/releases/latest/download/install-prompt.md)

To install with Codex, write codex in place of claude. Then start a new session in your project; that session is the lead. Local telemetry is on by default; turn it off with duolog telemetry off.

To install by hand, from source or at a set version, see Getting started.

How duolog keeps the context small

Each turn re-reads the whole context, so a long session costs more per turn. duolog makes Claude compact the lead and every Claude worker at a size set by your plan, instead of at Claude's own default, which on Opus can be the whole 1M-token context.

Compacts at Set by duolog for Opus cost per turn to re-read the context*
300k tokens Pro 0.06 USD
500k tokens Max, and Ultra while Claude reports it as Max 0.10 USD
700k tokens Ultra 0.14 USD
1M tokens (Claude's default on Opus) 0.20 USD

* An estimate at the Opus cache price of 0.20 USD per million tokens, as of November 2026: near 1M tokens a turn costs about three times what it costs at 300k. A smaller window is no cheaper: each compaction makes the lead read the code again, and a 150k window cost 26 to 31% more in our compact window study. Our hand-over study measured what whole tasks cost. To change the size, see workers.compact_window in Configuration.

How to send the first task

Getting started shows the task format. Write a task file, such as .duolog/task.md, and send it to a role from the lead session:

duolog delegate review_intermediate --task .duolog/task.md

Which license applies

duolog uses the Apache License 2.0.

Related pages

About

duolog makes Claude Code and Codex work as a pair in one project. You choose which agent and model does each kind of work. The two sessions then talk through a cheap file bus, so they do not paste large context at each other.

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages