# Edouard Maleix - How AI-First Dev Teams Build Collective Intelligence — One Attributed Mistake at

## Executive summary

The talk outlines a comprehensive workflow for transforming isolated agent mistakes and learnings into reusable, attributable collective intelligence within development teams. Instead of relying on simple documentation or context window stuffing, the proposed system introduces several primitives—Identity, Diary, and Knowledge Packs—to ensure that every incident, fix, and decision is captured, linked, validated, and made available to future work, thereby accelerating team learning beyond human pace.

## Key takeaways

- The Problem with Isolated Learning: Agents' small discoveries and incidents often remain trapped within a single session (e.g., closed PRs or chat history), leading to the evaporation of corrections and preventing knowledge from becoming reusable.
- The Need for Structured Knowledge Capture: Teams need more than just a wiki; they require a 'knowledge factory' that catches mistakes, interruptions, and turns them into validated guidance. This knowledge must be constantly evolving (live, die) rather than static.
- The Importance of Agent Identity: Giving agents a unique identity with signed commits and access rules solves the problem of attribution masking. It establishes a clear actor boundary, preventing agents from operating under human permissions.
- The Diary Primitive: The 'Diary' serves as the central home for all discoveries and decision-making ('what the F moment'). It allows work/decisions to be linked to specific entries, providing reasoning beyond just diffs and commit messages.
- Creating Reusable Knowledge Packs: The process involves capturing an incident (Entry) $ ightarrow$ grouping related Entries into a 'Pack' $ ightarrow$ rendering the Pack into usable markdown/context for the agent. This ensures lessons are traceable back to the original failure.
- Validation and Evaluation (Evals): To ensure quality, two types of evaluation are necessary: checking if the Pack is 'true to the entries' (fidelity) and running a task that reproduces the original incident using the knowledge pack to measure improvement (usefulness).

## Technical details

- Agent Identity & Attribution: The first primitive is establishing a clear, separate actor identity for agents. This involves signed commits and dedicated access rules to solve the problem of work attribution (e.g., preventing an agent from hiding behind a human's name).
- The Diary Workflow: The 'Diary' captures incidents and decisions in structured entries, which can be linked to other events (e.g., linking a database incident entry to a PR review comment). This allows tracking the full lifecycle of a fix.
- Knowledge Pack Generation: A 'Pack' is a small, curated bundle of related entries. The process involves an LLM fetching these raw entries, trimming them to fit token budgets, and rendering the resulting knowledge base while maintaining source attribution.
- Controlled Execution Environment: All agent tasks should run in a controlled sandbox environment (like a VM) to strictly manage file access and network calls, preventing leaks or unauthorized actions during evaluation.

## Practical implications

- Implement mandatory agent identity and signed commits to ensure clear attribution for all automated work.
- Establish a dedicated knowledge capture system (Diary) that forces the documentation of failures ('what the F moment') rather than just successes.
- Shift from static documentation to dynamic, linked 'Knowledge Packs' derived from past incidents. This makes lessons actionable and traceable.
- Integrate mandatory evaluation steps (Evals) into the workflow: checking fidelity (accuracy to source entries) and usefulness (passing a task that reproduces the original failure).

## Topics

AI Agents, Collective Intelligence, Knowledge Management, DevOps Workflow, Attribution Engineering, LLM Evaluation, The AI Native Dev Podcast, Open Source Infrastructure Repository

Source: https://www.youtube.com/watch?v=-sYhcsy5OwI
