BONSAI Optimizes Frozen Agent Skills with Evolvability-Guided Search

Yash Priya Shastri, Anand Eswaran, Adnan Qidwai, Pankaj Thorat, Sachin Joshi· August 10, 2026 View original

Key takeaways

  • BONSAI optimizes natural language "skills" for frozen AI agents.
  • It uses an evolvability-guided Monte Carlo search tree.
  • The framework blends skill fitness with the evolvability of its mutational neighborhood.
  • BONSAI significantly improves agent accuracy over skill-free agents and baselines.

Who benefits

AI DevelopmentSoftware EngineeringCustomer ServiceContent CreationRobotics

Summary

BONSAI is a novel skill optimization framework that uses an evolvability-guided Monte Carlo search tree to improve natural language "skills" for frozen AI agents. It blends a skill's fitness with its mutational neighborhood's evolvability, concentrating budget on regions that show continuous improvement.

When working with "frozen" AI agents whose weights cannot be updated, any new capability must be supplied through natural language "skills" – essentially, text instructions. The standard method for optimizing these skills, which accepts any edit that improves a held-out score, is limited because a single score cannot differentiate between a skill that is narrowly overfit and one that has broad potential for further improvement.This research introduces BONSAI, a new skill optimization framework that addresses this limitation by steering its search based on "evolvability." Evolvability refers to a region of document space's capacity to consistently produce viable variations under further mutation, a concept distinct from current fitness. BONSAI constructs skills using a Monte Carlo search tree where each child document is a mutation of its parent.The tree is traversed using an upper-confidence selection rule that combines a skill's individual fitness with the fitness of its mutational neighborhood. This design allows the mean score recorded beneath a node to estimate that neighborhood's evolvability without additional cost. This strategy focuses computational budget on areas that show continuous improvement, while also ensuring that currently weaker branches remain in contention for exploration. BONSAI ultimately delivers the best-scoring document found, demonstrating significant accuracy lifts over skill-free agents and other baselines.

Why it matters

For developers working with large, frozen AI models, BONSAI provides a powerful method to efficiently discover and refine natural language instructions, enabling agents to acquire new capabilities without costly retraining or fine-tuning.

How to implement this in your domain

  1. 1Study the BONSAI framework to understand its evolvability-guided Monte Carlo tree search mechanism.
  2. 2Experiment with defining "skills" as natural language documents for a frozen AI agent.
  3. 3Implement the BONSAI algorithm to optimize these skills, focusing on the blend of fitness and evolvability.
  4. 4Apply BONSAI to improve the performance of a frozen LLM or other AI agent on specific tasks.
  5. 5Compare the results against traditional "accept-if-better" optimization loops.

Original post by Yash Priya Shastri, Anand Eswaran, Adnan Qidwai, Pankaj Thorat, Sachin Joshi

"arXiv:2608.07056v1 Announce Type: new Abstract: A skill is a naturallanguage document that steers a frozen agent whose weights cannot be updated so any capability the agent lacks must be supplied in prose Optimising a skill is therefore optimising text against a score and the sta…"

View on X

Originally posted by Yash Priya Shastri, Anand Eswaran, Adnan Qidwai, Pankaj Thorat, Sachin Joshi on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses