RepoJournal

Developer journal

Anurag Verma

@anurag629 since Jan 2022

188 stories across 26 days in 2025

Mon Wed Fri
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
an entry to read activity only Less More before entries began Recent weeks →

Entries start Jan 13, 2022 — we reconstructed the previous month from @anurag629's public GitHub activity on the day they joined. Squares before that show contribution counts only.

Add this graph to your GitHub README

Paste this Markdown into your README — the badge stays current automatically and links back here.

[![anurag629's work on RepoJournal](https://repojournal.com/journals/anurag629/heat.svg)](https://repojournal.com/journals/anurag629)

Saturday, Jul 4, 2026

shipped

Four agents on one shared memory graph

Anurag Verma wired OpenCode, Claude Code, Codex, and Kimi into a single Cognee memory store so decisions made in any one agent surface in the others.

The work landed in cortex-bridge across 7 commits and 5 PRs. It started by building a Claude Code adapter [3] that reused the core's graph machinery, following the same hook contract as OpenCode. Then came the OpenCode adapter [1], which writes handoffs to the shared graph via ingestToGraph when a session finishes or switches tools, so a second agent can recall what the first one did [2].

But a single-user Cognee server turned out to have graph instability: content queryable one moment, then "prerequisites not met" the next [4]. The reliable path became the session cache. Both adapters now derive a shared session id from the pinned dataset, so a capture in one agent is recalled in another instantly through the cache, no graph build [5].

Then Codex CLI and Kimi Code CLI came into scope [6]. Both speak the same lifecycle-hook contract as Claude Code: UserPromptSubmit, PostToolUse, and Stop events, the same stdin fields, and the same additionalContext injection. Rather than write four separate adapters, Anurag collapsed them into a shared module. Now all four agents read and write the same Cognee dataset through the same session id, so "a decision recorded in any one of them is recalled in the others" [7].

Finally, Anurag added HOW-TO-USE.md [8], a step-by-step setup guide for developers: stand up a Cognee server with CACHING enabled, build, pin one dataset across all agents, install the adapters, then verify with the smoke, doctor, and all-agents scripts. The guide was checked against the code, not written from memory.

typescript cognee

Sources

  1. OpenCode adapter writes handoffs to the shared graph · anurag629/cortex-bridge
  2. OpenCode adapter writes handoffs to the shared graph · anurag629/cortex-bridge
  3. Add the Claude Code adapter · anurag629/cortex-bridge
  4. Cross-agent memory through a shared session cache (the reliable path) · anurag629/cortex-bridge
  5. Cross-agent memory through a shared session cache (the reliable path) · anurag629/cortex-bridge
  6. Add Codex and Kimi to the shared memory · anurag629/cortex-bridge
  7. Add Codex and Kimi to the shared memory · anurag629/cortex-bridge
  8. Add a how-to guide for setting it up · anurag629/cortex-bridge

← All entries

Follow along

Follow anurag629

A short briefing every day anurag629 ships something — in about 3 minutes.

or

One email a day. Unsubscribe in one click. Read a past issue →

RSS Read other developers