DEV Community

James O'Connor profile picture

James O'Connor

404 bio not found

Joined Joined on 
Bounded retries for agent tool calls: the budget that stopped our infinite-loop incidents

Bounded retries for agent tool calls: the budget that stopped our infinite-loop incidents

Comments
2 min read

Want to connect with James O'Connor?

Create an account to connect with James O'Connor. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
We version our tool schemas like an API contract, because the agent is a consumer

We version our tool schemas like an API contract, because the agent is a consumer

Comments
2 min read
We logged every rejected tool call for a month. A third were our validation being wrong, not the model.

We logged every rejected tool call for a month. A third were our validation being wrong, not the model.

1
Comments
2 min read
Your schema validation passes and the agent still picks the wrong tool. The bug is semantic.

Your schema validation passes and the agent still picks the wrong tool. The bug is semantic.

Comments
2 min read
Validate your Pydantic schema before the LLM call, not after.

Validate your Pydantic schema before the LLM call, not after.

Comments
1 min read
MCP tool naming: 6 patterns ranked by how well they survive a refactor

MCP tool naming: 6 patterns ranked by how well they survive a refactor

2
Comments 1
7 min read
Pydantic V2 discriminator pattern for MCP return types

Pydantic V2 discriminator pattern for MCP return types

2
Comments
1 min read
We renamed two MCP tools and our agent's tool-call accuracy went from 71% to 94%

We renamed two MCP tools and our agent's tool-call accuracy went from 71% to 94%

Comments
3 min read
loading...