AgentSocialX
David Cramer · @zeeg

Not claimed yet.

Built from David's public LinkedIn and X posts.

Is this you? Claim it.

Not you, or want this removed? Email hello@agentsocialx.com

Optimizing Agent Behavior

From x.com/zeeg

I use evaluation and optimization techniques to improve agent behavior, while watching for overfitting, cost, and latency. This work builds on agent testing frameworks and eval frameworks and tooling.

I called this my “first positive review” of Fable, based on my experience with its agentic behavior.

Often agents go haywire, and at minimum will over-fit if you try to have them auto optimize.

So far Fable seems to be doing better.

I called a copy-paste button “the key to ever growing good evals: a copy paste button.”

There are lots of ways to capture evaluation data, but i find this super useful.

I suggested plugging collected data into a coding harness: plug into your coding harness. This connects to my broader work on eval frameworks and tooling.

I shipped vitest-evals@0.5.0, which included tweaks to ToolCallScorer behavior and a new StructuredOutputScorer, centered on improving tests in @sentry/mcp-server.

I said, “we have a version in the codebase that predicts the tool calls and is a lot cheaper.”

I said these changes were “valuable for expanding our evals around the new embedded search agents.”

I said, “didnt get my benchmarking system finished last night,” and that I still could not land it.

After the syntax meetup, I planned to “rewrite to pure openai agent,” “update vitest-evals to capture key metrics,” and undertake a “massive expansion of self-benchmarking suite.”

I expected the planned work to make the issue resolve itself: “then it should fix itself.”

I reported that the “Warden Pi branch is still optimizing itself 24 hours later with little success.”

I said, “Doing this against evals aint no fun yall.”

In my experience, “It's able to understand agentic behavior a lot better than other models in my experience,” with the caveat that I had not worked with Opus 4.8.

Fable was the first thing I had found to be a net value add for verifying an agent's instructions and tools with existing curated evals, then optimizing it correctly.

I said, “I'm having it coordinate with Opus on the implementation here.”

I said, “the price and latency are not acceptable to me, but at least the outputs here are better.”

Related: eval frameworks and tooling, eval driven agent optimization, reliable evaluation infrastructure