DEV Community

Cover image for AI Coding Agent session compaction with Jev
Hoang Nguyen
Hoang Nguyen

Posted on

AI Coding Agent session compaction with Jev

When I hand work between coding agents (manager → executor → reviewer, or resuming a stale session), passing the transcript doesn't work well. Constraints get buried and validation evidence gets lost.

I tried treating it as classification instead of summarization. Each message gets four typed labels (category, importance, keep, sensitive) from Jev, a fast typed-decision model. Deterministic code then builds a handoff with intent, decisions, validation evidence, open questions, next step, and a resume prompt.

Write-up with code and real output: https://codeaholicguy.com/2026/09/30/ai-coding-agent-session-compaction-with-jev/

How do you pass state between agents?

Top comments (0)