Brief IA

Agentic Tokens: The Quest for Profitability Beyond the Prototype

🔬 Research·Tom Levy·

Agentic Tokens: The Quest for Profitability Beyond the Prototype

Agentic Tokens: The Quest for Profitability Beyond the Prototype
Key Takeaways
1Companies are moving beyond the AI prototyping phase, seeking to make autonomous agents profitable.
2The balance between reasoning freedom and inference costs is crucial for the success of agents.
3Approaches like early engagement and deterministic replay reduce token usage.
💡Why it mattersCompanies need to optimize token efficiency to ensure the economic viability of autonomous agents.
Le brief IA que lisent les pros

Le brief IA que les pros lisent chaque soir

Les 7 actus IA du jour, décryptées en 5 min. Gratuit.

Inclus dès l'inscription : notre sélection des meilleurs guides & comparatifs IA.

Choisis ton rythme

Gratuit · Pas de spam · Désabonnement en 1 clic

📄
Full Analysis

From Prototype to Profit: Solving the Problem of Agentic Token Burn

Towards Token Efficiency

We have officially moved beyond the AI prototyping phase. Drawing on the concepts from Escaping the Prototype Mirage, product and engineering teams across sectors are now shipping agentic applications that solve workflows previously dominated by manual labor. Building these prototypes of autonomous agents has become a breeze. It simply requires using key concepts like Recursive Agent Loops (Observe-Think-Act) for execution, setting up headless gateways to connect agents via chat applications, and relying on a stored state that persists through restarts. However, transitioning them to reliable products is another story. The new frontier is not proving that agents can work, but proving that they can work profitably.

At the same time, internal metrics in companies like "token maxing" (unlimited token usage to achieve the best results), which were appropriate for the prototyping phase, are evolving towards measuring the value-token spent ratio as agentic products mature. After all, most products need to be profitable and maximize margins by shifting from using inexpensive traditional computation (TradCompute) to solving user problems with artificial intelligence for the same goal.

However, models need freedom of reasoning, and recent studies have shown that exploratory agentic workflows outperform fixed paths, opening new avenues, creating MCP tools, and building infrastructure to solve problems more effectively in most cases. This raises the question of balancing the model's need for agency with the economic reality of inference costs.

Why Constrained Agents Fail to Converge

Agent harnesses store the context of your task and your goals in markdown files (*.md), which generally do not represent rigid workflows but rather describe the intent or objective you wish to achieve.

The objective failure paradox: In studies on agents solving complex problems, researchers found that providing strict and highly constraining guidelines, where each action of the agent brings it closer to the goal, leads to getting stuck in a local optimum and experiencing objective failure. An example drawn from Professor Jeff Clune's research on open agentic learning illustrates this perfectly: an agent in a maze, when constantly rewarded only for seeking the direct path to the exit, will continually hit walls and become trapped in a local optimum, never reaching the end.

The power of unconstrained harnesses: Contemporary agent harnesses like Google Antigravity and Claude Code from Anthropic have been so effective because they allow agents to create, orchestrate, and execute complex tasks, and even create their own tools without strict human micromanagement. They succeed because they have the freedom to explore detours.

Consider an edge case in a medical admission workflow: if we rigidly constrain a health agent to follow only a predefined planning flow, it will fail in the real world. If a patient mentions chest pain during this admission, the agent's Agent Loop must have the autonomy to instantly recognize the urgency, abandon the planning flow, and trigger a safety escalation. It should use what we previously defined as a No-Response Token to bypass booking discussions and route the context directly to a human nurse. Rigorously constrained prototypes spectacularly fail this test because they cannot adapt to a critical and out-of-bounds context.

The Cost of Infinite Goal Search

While providing agency is essential for initially discovering a solution, conducting a full open search for every user workflow request can lead to massive and unsustainable token consumption. At this point, the agent has found a valid path, and this approach intrinsically allows it to re-explore or "hallucinate" the structure of the workflow. While this may be self-correcting, such subsequent executions of a similar request destroy the token economy of businesses.

For example, routing medical admission workflows and even edge cases that require escalation can be learned over time. The workflows of a clinic or solution provider will evolve into deterministic paths in most cases, leaving some autonomy reserved only for rare and complex edge cases.

Architectural Solutions through Early Commitment and Deterministic Replay

Early commitment has shown promise in solving structured problems and can also be applied to agentic workflows. This involves classifying the problem first, for example, by structuring the system prompt to require the model to generate a specific classification label. By forcing an agent to classify the type of problem and establish constraints before generating execution logic, you prevent the agent from hallucinating or exploring dead-end paths. This eliminates noise and focuses the agent solely on execution rather than continuous exploration.

For instance, in a telehealth triage workflow, we can impose early commitment by requiring the agent to definitively classify the encounter as a "routine prescription renewal" before taking any action. Once committed to this specific constraint, the agent restricts its tool calls strictly to the pharmacy database, completely bypassing the costly open diagnostic reasoning paths it might otherwise explore to try to diagnose a patient.

A recent study by Wang, X., et al. introduces the LOOP Skill Engine Framework, which elevates early commitment to the infrastructure level using a single recording and deterministic replay paradigm. The agent can explore autonomously once using complete reasoning, and the system then compiles this successful trace into a branchless recipe. For all future executions, the LLM can be bypassed, ensuring execution determinism and reducing token usage by over 93.3% for daily tasks, and up to 99.98% for high-frequency executions. This concept can be extended to agentic workflows.

Consider the daily compliance report generation for clinics or standard hospital discharge summaries, which are very stable and repetitive tasks. By starting with an exploratory approach and then quickly transitioning to a deterministic framework, an agent must reason through the complex data extraction from the Electronic Health Record exactly once. For the next hundred patients discharged with the same procedure, the system executes this exact branchless recipe, reliably replacing vital signs and dates for the new patient without ever invoking the LLM. This ensures zero hallucinated data on repetitive health tasks while maximizing token efficiency.

ML practitioners must choose between pure deterministic replay (like LOOP) that maximizes token savings, and a hybrid approach (storing the explored path in a SKILL.md file). The hybrid approach trades some of those token savings for reasoning through a guided path that is highly optimal, while leaving enough flexibility to autonomously adapt to a changing underlying framework. Whether this skill file is updated manually or through an autonomous self-improvement mechanism, preserving this reasoning margin ensures long-term adaptability and robustness. For example, if the database structure changes, the agent can update SQL queries and extract information.

Conclusion: The ML Explore-Commit-Measure Pipeline

ML engineers and product managers must adapt their applications to leverage the immense intelligence of autonomous agents and adopt unconstrained agent harnesses for initial problem discovery and complex edge cases. This allows for optimal solutions without executing a costly reinforcement learning cycle (often hindered by a lack of expertise, platform constraints, training costs, or closed models).

Once we have found an almost optimal path, the token economy for structured and repetitive tasks demands that we impose early commitment in prompt design, using deterministic replay architectures to cache the execution path.

As agentic products mature, we need to shift operational metrics away from simple task success rates, instead focusing on token efficiency and value per generated token.

Brief IA — L'actualité IA en français

L'essentiel de l'actualité de l'intelligence artificielle, décrypté et expliqué chaque jour.