← LibraryLatent Space

Graham Neubig — 2024 in Agents

Latent Space
✓ Source-grounded

The success of autonomous agents depends on moving beyond simple prompting toward robust environment understanding, error recovery, and the systematization of repeatable workflows.

Listen to the episode

In one sentence

The core challenge of 2024 in agentic AI is transitioning from "chatting" to "doing"—which requires agents to possess high-level instruction following, the ability to recover from errors, and a structured way to remember successful workflows.

Why read this (and who it's for)

This summary is for AI engineers and researchers who are moving past the "wow" factor of LLM chat and into the "how" of production-grade agents. It solves the problem of why agents often get stuck in loops or fail at simple tasks by identifying the specific architectural requirements—like environment understanding and error recovery—that distinguish a toy demo from a useful tool. After reading this, you will be able to audit your agent's failures to see if they stem from a lack of "common sense" (environment understanding) or a lack of "memory" (workflow persistence).

The big idea

Professor Graham Neubig argues that while we have incredible models, building a truly capable agent requires a shift in focus from the model's raw intelligence to its interaction with a specific environment. An agent is not just a "smarter" chatbot; it is a system that must navigate a world (the web, a terminal, a file system) and perform actions that have consequences.

The logic of his argument follows a hierarchy of needs: first, the agent must understand the environment (what is a button? what is a file?). Second, it must have error awareness (if this command failed, why did it fail?). Third, it must be able to plan and iterate (how do I break this big goal into small steps?). Finally, it must be able to remember (how do I avoid repeating the same mistakes in a recurring workflow?).

Key ideas

Environment Understanding

Error Awareness and Recovery

Explicit vs. Implicit Planning

Workflow Memory (The "Skill" Library)

Fast Sanity Checks vs. Realistic Evaluation

Frameworks & tools

The 8 Perennial Problems of Agents

To build a robust agent, you must address these eight dimensions:

  1. Agent-Computer Interface: Provide minimal viable tools (Execution Sandbox, File Editor, Web Browsing).
  2. Human-Agent Interface: Determine the best UI (Chat, GitHub Plugin, etc.).
  3. Choosing an LLM: Evaluate based on instruction following, tool use, and error recovery.
  4. Planning: Decide between Single Agent (Implicit) vs. Multi-Agent (Explicit/CoAct).
  5. Reusable Workflows: Move from manual prompting to "Learning from Experience" (SteP).
  6. Exploration: Use "Agentless" or "BAGEL" to bootstrap exploration.
  7. Search: Utilize Tree Search to explore paths and "rewind" on failures.
  8. Evaluation: Use a mix of Fast Sanity Checks and Realistic Environments (WebArena, SWE-Bench).

The "Micro-Agent" Trigger

A design pattern for managing complexity without a full multi-agent overhead:

  1. Identify Triggers: Detect specific keywords or actions (e.g., "GitHub" or "NPM").
  2. Inject Instructions: When a trigger is hit, append specific instructions to the prompt (e.g., "Use the API, do not browse").
  3. Contextual Switching: This allows a single agent to switch "modes" without needing a massive, confusing prompt for all possible tasks at once.

Memorable examples & stories

The "Yellowstone" Misclick

The "Cache File" Bug

The "GitHub Action" Workflow

Key quotes

"I think this is a pretty powerful tool set... and I am trying to do... come up with agents that are able to manipulate these things." Why it matters: It defines the agent's goal: manipulation of tools (browser, terminal, file system) to achieve a result.

"If you provide all, if you provide instructions that it should do information gathering beforehand, it tends to do well." Why it matters: It highlights that "thinking before acting" is a promptable behavior that solves many "rushed" agent failures.

"The actual ability of models is maybe closer to 30 to 40%... but I need to give it feedback." Why it matters: It sets a realistic expectation for the current state of the art: agents are assistants, not replacements.

How to apply it

This week

Ongoing

Common pitfalls

Connects to

If you remember only three things

Internalize it

Fidelity note

Confidence is High. This summary is strictly grounded in the transcript of Professor Graham Neubig's presentation at NeurIPS 2024. The "8 Perennial Problems" and the specific papers mentioned (CoAct, SteP, etc.) are directly from the provided text. The distinction between "Implicit" and "Explicit" planning is captured as described by the speaker.

More from Latent Space