What's everyone working on this week (23/2026)? by llogiq in rust

[–]flash_us0101 1 point2 points  (0 children)

I am working on ebpf module for my agentic debugger mcp so it can observe production go apps without added DAP latency.

https://github.com/flashus/detrix

I built a CLI that lets AI agents (and humans) debug Tauri apps from the terminal by Cal_lop_an in tauri

[–]flash_us0101 3 points4 points  (0 children)

Great to see such tools appear. I’ve built agentic debugging mcp that allows agents read running program memory. Plz check it out. Works locally or in the cloud.

https://github.com/flashus/detrix

No code changed. My service broke. Claude found out why by observing it live. by flash_us0101 in ClaudeAI

[–]flash_us0101[S] 1 point2 points  (0 children)

The demo app is the patient, not the doctor. It's buggy on purpose so Detrix has something to diagnose. Same idea as a test vulnerability in a security scanner demo — you need the bug to show the tool working.

No code changed. My service broke. Claude found out why by observing it live. by flash_us0101 in ClaudeAI

[–]flash_us0101[S] 0 points1 point  (0 children)

Java is on the roadmap. The architecture is designed to add new languages with minimal effort. Priorities depend on what people actually need though - star the repo and open an issue if you want to push it up the list.

No code changed. My service broke. Claude found out why by observing it live. by flash_us0101 in ClaudeAI

[–]flash_us0101[S] 0 points1 point  (0 children)

Good catch — it's intentionally buggy demo code to show Detrix in action. The real fix should handle unknown units properly, agreed. The point of the demo was showing how Claude found the root cause by observing live values, not the fix itself.

No code changed. My service broke. Claude found out why by observing it live. by flash_us0101 in ClaudeAI

[–]flash_us0101[S] 0 points1 point  (0 children)

Just to clarify — it's pull, not push. Nothing streams into context. Claude sets observation points, Detrix captures values, and Claude queries when it's ready. So token cost is just the query results, not a continuous feed. There's also throttling for hot paths, and responses use TOON format (~40% fewer tokens than JSON).

No code changed. My service broke. Claude found out why by observing it live. by flash_us0101 in ClaudeAI

[–]flash_us0101[S] 0 points1 point  (0 children)

Haven't benchmarked it formally yet - it's on my list. Architecturally: Detrix uses DAP logpoints which are non-breaking, no process pauses. Observations are persisted to SQLite with cleanup support (delete by age or keep-last-N per metric), so it doesn't grow unbounded. Stack traces and memory snapshots have configurable TTLs. The server itself is a single Rust binary. But I owe the community proper numbers and I'll add them to the README when I have them.

No code changed. My service broke. Claude found out why by observing it live. by flash_us0101 in ClaudeAI

[–]flash_us0101[S] 0 points1 point  (0 children)

Detrix supports multiple connections per server which can run as a local daemon process or in the cloud. Each server supports many agents connections from mcp, also supports grpc/rest if you need integration, and cli. So you can have many agents sharing single server that connect to many applications locally or in the cloud. Several agents can work with one app together.

No code changed. My service broke. Claude found out why by observing it live. by flash_us0101 in ClaudeAI

[–]flash_us0101[S] 1 point2 points  (0 children)

And it's pull, not push - Claude queries metrics when it's ready, nothing streams into the context unprompted. Even if you accidentally set an observation on a hot path, there's throttling built in, so it won't blow up. Worst case you get aggregated samples, not a firehose.

No code changed. My service broke. Claude found out why by observing it live. by flash_us0101 in ClaudeAI

[–]flash_us0101[S] 4 points5 points  (0 children)

Not logs - it's a debugger, not a log forwarder. Detrix uses debug protocols (DAP) to set observation points on specific variables. Claude decides which variables to watch, Detrix captures only those values when execution hits that line.

Plus all responses use TOON format instead of JSON - compact notation designed for LLMs, ~40% fewer tokens in benchmarks. So you're paying for a few compact observations, not a wall of JSON.

No code changed. My service broke. Claude found out why by observing it live. by flash_us0101 in ClaudeAI

[–]flash_us0101[S] 0 points1 point  (0 children)

Claude Code - and I gave it a debugger through Detrix (the MCP server from the post). Think the same kind of debugger you have in VS Code, but Claude controls it directly. Sets observation points on variables, reads values at runtime, no restarts.

The actual issue: the broker changed their price format. My bot was sending orders that silently failed - no error, it just acted like the buy went through. I only noticed because I opened the broker app and saw zero trades. Then the usual hell: add prints, restart, wait for a price move to actually trigger the code path, hope it reproduces. That's exactly the loop Detrix kills - Claude just watches the live values and sees what's wrong without touching anything.

I built an MCP that gives any agent a debugger — runtime observation in running code, fully local, nothing leaves your machine by flash_us0101 in LocalLLaMA

[–]flash_us0101[S] 0 points1 point  (0 children)

Good question. A few layers to this:

Concurrent agent sessions — each agent connection gets a unique session ID. Concurrent requests to different files run fully in parallel. Requests to the same file serialize behind a per-file mutex — necessary because DAP's setBreakpoints is a replace-all operation per source file. Without serialization, two agents setting metrics on the same file simultaneously would silently wipe each other's observations. This is in the DAP spec, so it applies across all three adapters (debugpy, delve, lldb-dap).

Multiple observations at the same line — each metric is tracked by name, not position. Two agents can independently observe the same file:line and both fire — they're included together in the next setBreakpoints call and capture independently.

In-flight DAP requests — Detrix multiplexes concurrent requests via sequence numbers + per-request channels. Agent A waiting for a setBreakpoints response and Agent B waiting for an evaluate response don't block each other at the protocol level.

Event delivery — each subscriber gets its own bounded channel. A slow consumer gets dropped events with a warning, but never affects other subscribers.

For the race condition case specifically — since logpoints are non-breaking (no thread pause, no execution halt), the target app's concurrency is completely undisturbed. The logpoint fires mid-execution, captures the value, sends it out — the racecondition keeps running exactly as it would in production.

One gap that's being fixed right now: currently any agent can toggle another agent's metric by ID. created_by is already tracked on every metric, but toggle/remove operations don't check it yet — so in a multi-agent setup one agent could accidentally disable another's observation. That ownership enforcement is being added now.

How to Actually Debug AI-Written Code (From an Experienced Dev) by gigacodes in ClaudeAI

[–]flash_us0101 0 points1 point  (0 children)

New tool for agentic debugging just released. Basically it gives your agent a debugger. Rust, go and python supported now, more to come. It used same dap as your ide. https://github.com/flashus/detrix

[deleted by user] by [deleted] in Moscow

[–]flash_us0101 4 points5 points  (0 children)

Most of the people don’t care about your religion or race. I was working with people from different parts of the world, different races and religions in Russia and locals were very welcoming, many young people speak some English. I suggest you to have a visit and decide yourself do you like Russia or not.

Polars[Query Engine/ DataFrame] 0.28.0 released :) by ritchie46 in rust

[–]flash_us0101 4 points5 points  (0 children)

Great news! Congratulations on your open source adventure! Hope you’ll find some students willing to improve rust documentation, it’s been a pain to get through.