Topic

AI Agent Development

All digests tagged AI Agent Development

· 31:44

Brian Douglas - The beginners guide to training AI on your own code - AI Native DevCon June 2026

This talk outlines a closed-loop system for training AI agents using proprietary code execution traces. The core concept involves capturing every agent interaction (telemetry) via an open-source proxy (tapes.dev), structuring this data into a content-addressable Merkle DAG. This raw trace data is then processed by streaming tools like Kafka and Flink SQL to detect anomalies, which feeds back into the agent's next run—creating a 'self-healing loop.' The captured traces are used for supervised fine-tuning (SFT) or Direct Preference Optimization (DPO) to embed learned skills directly into local models, eliminating reliance on external training data.

Key takeaways

  1. Closed-Loop Agent Training 3:50

    Agents generate data by running in an environment; this telemetry is captured and used immediately for model improvement. This creates a self-healing infrastructure loop, allowing agents to learn from failures (anomalies) and successes.

  2. Data Capture Infrastructure 10:30

    The open-source proxy, tapes.dev, intercepts LLM API calls to build a content-addressable Merkle DAG of every conversation turn, requiring zero instrumentation.

  3. Anomaly Detection and Feedback 2:00

    Streaming pipelines (Kafka/Flink SQL) run continuous anomaly detection on session data (e.g., stuck loops, token spikes). Alerts generated by Flink are read by the agent before its next execution, enabling self-correction.

  4. Knowledge Transfer Methods 22:00

    Captured traces can be used for Specialized Fine-Tuning (SFT) or Direct Preference Optimization (DPO). SFT embeds skills into the model, while DPO uses preference data derived from successful vs. failed sessions.

Watch on YouTube Full article

· 16:56

Tessl Skills Clinic - Nnenna Ndukwe from Qodo

The session demonstrates how automated AI agent skills can be rigorously tested and improved using Tessl's review process against Anthropic's best practices. By applying human-guided refinements—particularly enhancing the skill description with natural trigger phrases and optimizing structure—the Qodo PR Resolver skill score jumped from 78% to 89%. This highlights that while AI generation is powerful, manual validation and refinement are crucial for achieving high-quality, reliable agent performance in production workflows.

Key takeaways

  1. Skill Description is Critical for Agent Triggering

    The skill's description metadata is identified as the single biggest factor determining if an agent will use it. Improving this by adding natural trigger phrases (e.g., 'coding issues,' 'code reviews') significantly increases discoverability and usage likelihood.

  2. Human Refinement Boosts Skill Quality

    Research suggests that while AI-generated skills are useful, validated and refined skills (human intervention) show a significant performance uplift. The average jump observed was approximately 14% for human-written skills.

  3. The Importance of Post-Fix Verification

    It is a best practice to include a validation step (e.g., running linters and static analysis) after an agent has applied fixes, ensuring the code remains compliant even after automated changes.

Watch on YouTube Full article