Tame Wandb chaos with a CLI that keeps your agents focused.

Introducing Cadenza, your solution for seamless integration of Wandb logs with agents for autonomous research.

3 min readMachine Learning

The real problem with Wandb's CLI and MCP isn't that they're slow, though they are. It's that they force agents to carry the entire weight of a research project in context, and that weight compounds with every run, every config, every failed experiment. Context rot is not a minor annoyance. It's the silent killer of autonomous research loops. When your agent spends more tokens re-reading stale logs than reasoning about what to try next, the loop isn't autonomous. It's just expensive and repetitive.

That's why what hgarud built with Cadenza deserves attention. Instead of asking the agent to ingest everything, the tool steps in as a curator. It imports your Wandb projects, but it only indexes configs and metrics. That is a deliberate constraint, and it's the right one. By limiting what gets stored, the agent can sample from a distilled index of high performing experiments rather than drowning in raw history. The result is that your agent gets a clean view of the solution space without the noise. And because you can dial the index toward exploration or exploitation, you're not locked into a single strategy. You can let the agent chase promising directions early, then tighten the focus as the research matures.

The practical implication is straightforward. If you've been avoiding agent driven research because the tooling fights you at every step, this removes the biggest bottleneck. You don't need a bigger model or a longer context window. You need a better way to decide what your agent actually sees. Cadenza does that by making the sampling intentional. It also ships as both a CLI and a Python SDK, which means it slots into existing workflows without forcing a rewrite. That's the kind of pragmatic design that actually gets adopted.

None of this is magic. It's a focused fix for a specific pain point, and that's exactly what the community needs more of. The open source approach also means the tool can be audited, extended, and shaped by the people who use it daily. If you're tired of watching your agents spiral into context rot, try the tool, stress test it against your own projects, and push back on what doesn't work. The fastest way to improve agent driven research is to give it sharper inputs. Cadenza is a solid step in that direction.

From Machine Learning

Wandb CLI and MCP is atrocious to use with agents for full autonomous research loops. They are slow, clunky, and result in context rot.

So I built a CLI tool and a Python SDK to make it easy to connect your Wandb projects and runs to your agent (clawed or otherwise).

Read the original at Machine Learning