Agent Development Best Practices
Last updated 2026-08-01What's new
- Bespoke Labs created OpenThoughts, a high-quality reasoning dataset (a collection of information used to train AI models) and paper to address the lack of such data in the community.
- They also developed Curator, a tool for creating synthetic data (artificial data that mimics real data) for post-training (improving AI models after initial training) with supervised fine-tuning (SFT, a method to adapt AI models to specific tasks).
- Bespoke Labs focuses on helping enterprises and research labs access quality data and reinforcement learning (RL, a training method that uses rewards to improve AI models) environments for post-training needs.
- They aim to improve AI agent (AI programs that can perform tasks autonomously, or independently) reliability and autonomy (the ability to operate independently for long periods) through post-training techniques like reinforcement learning.
- Agents (AI tools that help with tasks) are now being designed to serve groups, not just individuals, like a family or friends, which presents new challenges.
- An example agent, Judith, has been tested in group settings for 8 months, handling tasks like organizing events and preserving privacy in conversations.
- Group agents need special features, like a "guard" (security system) called Jetou, to protect against attacks and manage memory, as they interact with more data than single-user agents.
- These agents can also learn and adapt over time, like helping a child learn and tracking their progress, showing potential for long-term group use.
- Data Curve introduced Deep Suite, a new coding benchmark with 113 original tasks (like small coding challenges) in languages like Python and JavaScript, designed to better test AI coding abilities.
- Deep Suite aims to fix issues in older benchmarks, like SweetBench Pro, where AI models could "cheat" by finding answers in public code repositories or git history (a tool that tracks changes in code).
- Claude, an AI model, is thorough but can forget parts of complex tasks, while GPT models excel at following instructions precisely and adhering to coding conventions.
- Deep Suite's leaderboard, updated monthly, shows clear performance differences between top models, with additional data on efficiency and cost.
- ActiveGraph is a new, open-source (free, community-developed) way to build agents (AI tools that can do tasks automatically) that focuses on tracking changes to the agent itself, not just its actions.
- Instead of using messages as the core unit, ActiveGraph uses logs (records of events) to build and understand agents, making it easier to track, replay, rollback, and fork (create copies of) agents.
- Behaviors in ActiveGraph react to changes in the agent and can trigger new events, with policies (rules) determining how the agent can be modified, adding a layer of control and safety.
- ActiveGraph is a runtime (a system that runs agents) that allows you to rebuild common agent tools on top of it, with all communications happening through a shared state.
- Froglet is a new tool (protocol) that helps AI agents (automated workers) work together across different organizations, like a head chef managing a restaurant's supply chain.
- It allows agents to discover, request, and pay for services or data from other organizations, with a verifiable receipt for every step, ensuring trust and enabling collaboration at scale.
- Froglet doesn't replace existing tools but integrates with them, acting as a universal interface for agents to interact with each other and with external services.
- The system uses a two-part payment method (base payment and success fee) to protect both service providers and requesters from malicious actors.
Key points
What it is
- An AI agent is a program that can complete multi-step tasks on its own, using a prompt (instructions), tools (like web search or APIs), and memory (to track progress).
- Agents break tasks into steps, use software, and complete work with less human oversight, but need to be built and tested carefully.
How to use it
- Guide your agent toward an outcome, not step-by-step instructions. Let it surprise you with its decisions and have it review its own work to catch mistakes.
- Start with a single, simple task and build a simple version that works. Use the scientific method for complex work, with agents brainstorming, researching, and debating.
Watch out for
- Avoid automating tasks that are infrequent or constantly changing. Overloading the system prompt or failing to define when the task is "done" can cause issues.
- Treat failures as harness (the system controlling the agent) bugs, not agent incompetence. Manage complexity by narrowing scope and using subagents for specific tasks.
Tools named
- Claude (AI model), GPT (AI model), API (a way for software to talk to each other)
Lesson 1: What is Agent Development Best Practices and why it matters
Agent Development Best Practices are the proven methods for building AI agents (programs that can complete multi-step tasks on their own) reliably and safely. The core idea is that an agent is just a folder with three things inside it: a prompt telling it what to do, access to tools it can use, and a memory system to track progress. Getting these elements right matters because a well-built agent can break a task into steps, use software, call external services, write scripts, and complete work with less human oversight.
A key best practice is to guide your agent toward an outcome rather than telling it exactly how to do the task. Most people try to instruct the AI step by step, but an agent likely knows a hundred faster ways to get the job done. Let it surprise you with its decisions. Another advanced move is to have the agent review its own work before finishing. This catches mistakes automatically.
You should also ask whether a task is worth automating. If you only do something once a year, building an agent for it is probably not worth the effort. If the task is frequent but the process changes constantly, an agent may struggle because it needs a stable shape to follow reliably.
Testing matters too. You need to specify clearly what the agent is supposed to do and verify its outputs. A smarter model is not automatically a better agent; you must validate that it does the right thing. The person who succeeds at this is not the coder but the designer who can map out processes and decide where the agent should be proactive versus where it needs human approval.
Sources
- 2026-02-13 — Claude Code 2.1.41 Update Breakdown Terminal, File Reads & More
- 2026-05-30 — How I deleted 95 of my agent skills and got better results Nick Nisi, WorkOS
- 2026-07-08 — An AI Agent Is Just a Folder With 3 Things Inside It
- 2026-06-18 — 9 AI Agent Skills To Get Ahead of 99 of People
- 2026-07-08 — 100 hours of Hermes Agent lessons in 19 minutes
- 2026-07-15 — Youre Not Behind (Yet) How to Build Your First AI Agent (Full Guide)
- 2026-05-28 — If youre trying to get rich with AI, you need to hear this
- 2026-01-25 — Agentic Workflows Just Changed AI Automation Forever! (Claude Code)
- 2026-07-12 — OpenAI Just Merged ChatGPT and Codex. This Changes Everything.
- 2026-05-31 — Spec-Driven Testing for Agents With A Brain the Size of A Planet Steven Willmott, SafeIntelligence
- 2026-05-30 — Google Remy, Grok 5, Mythos 1, New Atlas Robot, ASI and More AI News This Month!
Lesson 2: How to use Agent Development Best Practices: step-by-step
Start with a single, simple task. Many beginners overcomplicate by building a giant system immediately. Instead, pick one small outcome, like "summarize today's notes." Build one agent that does that well. As one expert said, "the most important thing is building a simple version that works." You shorten your feedback loop (time between action and learning) when you start small.
An agent needs three things: a brain, memory, and tools. The brain is the underlying model, like Claude or GPT. Memory stores context, like a folder of notes. Tools let the agent act, such as a web search API. Write a clear, short instruction defining what the agent should do and when to use it. For example, "When I share meeting notes, create a 100-word summary."
For complex work, use the scientific method. Have one agent brainstorm ideas, then search the web for real data. Let it synthesize findings and produce hypotheses. Then, let a second agent "spar" with the first—challenging its conclusions. This creates a debate that sharpens the outcome.
Always let the agent choose *how* to reach the goal you define. "Just guide it towards the outcome and let it surprise you in its decisions," as one builder advised. Don't micromanage the steps. After the agent finishes, have it review its own work. This critical self-check catches flaws before you see them.
Finally, consider a "harness" (the system around your agent) to automate routine workflows. Instead of manually running eight steps each morning, the harness chains agents together—classify, investigate, plan, implement, review—so work flows automatically. Start simple, use sparring agents, and let the system run itself.
Sources
- 2026-05-29 — The Claude Update Everyone Missed (Dynamic Workflows)
- 2026-05-25 — Bounded Autonomy Between Free Will and Determinism Angus J. McLean, Oliver
- 2026-05-07 — Vibe Engineering Effect Apps Michael Arnaldi, Effectful
- 2026-05-28 — The acceleration is here!
- 2026-06-09 — How to Build Claude Subagents Better Than 99 of People
- 2026-05-21 — Cooking with Agents in VS Code Liam Hampton, Microsoft
- 2026-07-08 — 100 hours of Hermes Agent lessons in 19 minutes
- 2026-07-08 — An AI Agent Is Just a Folder With 3 Things Inside It
- 2026-05-26 — What the Best Agents Share Mardu Swanepoel, Flinn AI
- 2026-06-26 — Turn 10,994 Notes Into Memory - Paul Iusztin, Decoding AI & Louis-Franois Bouchard, Towards AI
- 2026-05-28 — If youre trying to get rich with AI, you need to hear this
- 2026-04-08 — The Next Layer After Prompt Engineering — Archon V3 Explained! 🚀
- 2026-07-12 — Girlfriend simulators, GPT 5.6, Grok 4.5, Seedream 5.0, Muse Spark, robot surgery AI NEWS
Lesson 3: Best practices and pitfalls
When building autonomous agents (systems that make independent decisions to complete tasks), avoid two common pitfalls: overloading the system prompt and failing to define when the task is done. Every instruction you add risks making the agent perform worse, so keep system prompts lean. Likewise, agents can loop endlessly without a clear finish line, so explicitly define what "done" looks like to prevent wasted computation.
Treat failures as harness (the scaffolding that controls agent behavior) bugs rather than agent incompetence. When an agent messes up, fix the instructions, tools, or boundaries you gave it. This reframing helps you systematically improve reliability instead of blaming the model. Also, have the agent review its own work as an advanced quality step.
For scientific tasks like brainstorming hypotheses, agents are non-deterministic (they produce different outputs each run). Early ideas are often flawed, so build in iterative refinement. Always evaluate skills (specific capabilities you give an agent) separately from the underlying model — a task failure could mean your skill is bad, not the model.
To manage complexity, narrow scope aggressively. Aim the agent at an outcome, give it an identity, equip it with context and tools, then use subagents for specific tasks. This prevents overwhelming a single agent. Finally, implement staged trust: build in stages with human approval and audit logs, because agents that learn from their own work can reinforce bad habits if unchecked.
Sources
- 2026-07-14 — Don't Ship Skills Without Evals Philipp Schmid, Google DeepMind
- 2026-05-28 — The acceleration is here!
- 2026-07-14 — The engineer of the future is the person who is able to choose what is worth doing. Addy Osmani
- 2026-05-28 — Context Graphs for Explainable, Decision-Aware AI Agents Andreas Kollegger & Zaid Zaim, Neo4j
- 2026-06-08 — Why More Context Makes Your Agent Dumber and What to Do About It Nupur Sharma, Qodo
- 2026-05-19 — Don't Build Slop (4 Levels of AI Agent Maturity) - Ara Khan, Cline
- 2026-07-15 — Youre Not Behind (Yet) How to Build Your First AI Agent (Full Guide)
- 2026-05-28 — If youre trying to get rich with AI, you need to hear this
- 2026-06-07 — Harness Engineering Is AIs New Gold Rush
- 2026-06-29 — Building Great Agent Skills The Missing Manual
- 2026-05-31 — Spec-Driven Testing for Agents With A Brain the Size of A Planet Steven Willmott, SafeIntelligence
- 2026-07-07 — What if the harness mattered more than the model - Aditya Bhargava, Etsy
- 2026-02-07 — How I’d Teach a 10 Year Old to Build Agentic Workflows (Claude Code)
- 2026-05-30 — How I deleted 95 of my agent skills and got better results Nick Nisi, WorkOS
- 2026-03-05 — Turn Claude Code Into Your Executive Assistant in 27 Mins