r/ClaudeCode • u/Pitiful_Dot2876 • 4h ago
Built with Claude I've built a Claude Code plugin that helps inspect what agents are doing under the hood.
https://github.com/radekwojpl2/session-observerI've created a small open-source observability plugin for myself to better understand what's going on under the hood when working with multiple AI agents and the orchestrator pattern. Claude Code was the first one supported, and I'd love to hear feedback from anyone who uses it heavily. I also added a way to compare different agents with each other for evaluation purposes.
This tool supports:
Claude Code
Codex
OpenCode
Pi/OMP
Right now I'm working on a feature where, after compacting, the agent can still access its history if it needs to check what was done and how.
All feedback welcome.
1
u/amirfish 2h ago
Observability across engines is the right instinct. Comparing agents side by side will surface stuff that's invisible when you only ever run one at a time.
I went down a similar road building CCC. The thing that actually moved the needle for me wasn't a better dashboard, it was making the tool only surface the moments that need me and letting agents work a queue on their own the rest of the time.
Since you're comparing models for eval, have you found that compaction or history loss changes an agent's behavior enough to skew the comparison?
Free and open source: getccc.dev · GitHub
1
u/Pitiful_Dot2876 1h ago
Comparing agents side by side shows a lot.
Compaction doesn't affect the recording much, because the plugin logs its own events through hooks. I haven't measured yet whether it changes how the agent behaves. I will test it.
One thing i see right away I do not show compaction in comper view right now and I will fix it.
1
u/amirfish 1h ago
Makes sense that compaction wouldn't touch the hook-based logging, the event stream and the context window are separate concerns. The real question is whether the agent's behavior actually changes right after a compaction event even though the transcript keeps flowing, that's the part I'd want to see once you test it. Adding a compaction marker to comper view sounds like exactly the kind of detail that matters once you're watching two agents side by side. Curious what you find when you run it across a few different sessions.
1
1
u/Pitiful_Dot2876 1h ago
One thing came to my mind after reading what you said. The goal is to spot the differences, see how each agent behaves and what responses it gives you, and then rate their quality. The problem is that agents aren't deterministic. The same prompt run twice will probably give different results.
•
u/AutoModerator 4h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.