WhoBuilt

Building Reliable Agentic Systems

Aug 20, 2024· 18 min· 3.3K views·Watch on YouTube

Speaker

Eno Reyes of Factory shares practical lessons from building reliable autonomous software engineering systems at AI Engineer.

What makes a system agentic

Reyes describes three core traits: planning future actions, making decisions, and interacting with an external environment. Agents need to read from and write to that environment to carry out their work.

Make plans more reliable

Reyes discusses passing intermediate reasoning between plan steps, which can help decisions converge but can also carry early mistakes forward. More detailed subtasks provide finer control while increasing the number of decisions the model must make. Model predictive control adds feedback and replanning during execution, while explicit success criteria can help keep plans on track.

Improve decisions with evaluation

Reyes describes consensus methods such as self-consistency and prompt ensembles, which can improve decision quality at the cost of more inference and potentially longer waits. Checklists and other explicit reasoning structures can simplify choices. For software tasks, agents can also simulate possible paths by running code; fine-tuning can help with specific, out-of-distribution decisions when validated data is available.

Ground agents in tools and feedback

Reyes argues that recurring workflows should become purpose-built tools with interfaces an LLM can use, especially when existing developer tools have awkward interfaces. He recommends processing noisy outputs such as CI logs into useful details like failing tests and concise explanations. Agents also need bounded time to gather context and well-designed points where people can provide guidance.

Use explicit logic for value today

Reyes says instruction examples, plan validation, and hard-coded criteria can reduce errors and improve customer-facing systems. He argues that teams can use these methods to solve near-term domain problems while building toward greater autonomy.

Takeaways

  • Pass useful state between plan steps, but check for early errors that could spread downstream.
  • Test how subtask detail affects control and the model’s ability to choose correctly.
  • Use consensus or simulation when the quality gain justifies added inference cost and latency.
  • Turn repeated tool sequences into purpose-built interfaces, and summarize raw feedback into actionable signals.
  • Set explicit success criteria and choose when people should guide the agent.

Mentioned in this talk

Search inside this talk

What was claimed 12

  • built
    “we build products called droids”
    YouTube
    Verified7 sources· Talk, Web, Job posting· archived
  • feature
    Droid: Autonomous systems applied to stages of the software development life cycle, including code review, documentation, testing, and coding tasks.
    “autonomous systems applied to different stages of the software development life cycle”
    YouTube
    Unverified1 source· Talk
  • feature
    Factory: Its mission is to bring autonomy to software engineering.
    “Factory’s mission is to bring autonomy to software engineering.”
    YouTube
    Unverified1 source· Talk
  • feature
    Code Droid: Can take nearly any natural-language task and attempt or complete the associated coding task.
    “can take nearly any natural-language task and attempt or complete the associated coding task”
    YouTube
    Unverified1 source· Talk
  • feature
    AI agents: Planning, decision-making, and environmental grounding are presented as three representative characteristics.
    “there are three characteristics that are most representative of an agentic system”
    YouTube
    Unverified1 source· Talk
  • feature
    Pseudo-Kalman filter: Passes intermediate reasoning through plan execution to help decisions converge, with a risk of error propagation.
    “Passing it through the execution of the steps allows individual decisions in the plan to slowly converge”
    YouTube
    Unverified1 source· Talk
  • feature
    Model predictive control: Evaluates subtasks and current state to enable adaptive replanning based on real-time feedback.
    “enabling adaptive replanning based on real-time feedback during execution”
    YouTube
    Unverified1 source· Talk
  • feature
    Fine-tuning: Can be effective for making decisions that are especially out of distribution.
    “for certain decisions, especially those that are really out of distribution, fine-tuning is a pretty effective way to make a good decision”
    YouTube
    Unverified1 source· Talk
Show all 12 facts

Related talks