The framework includes features such as installation, quickstart, creating a tool, configuring an agent, and documentation. It supports OpenAI models and has plans to include Anthropic and Groq models. The agents in Saplings have parameters like tools, model, evaluator, prompt, branching factor, maximum depth, threshold, verbosity, tool choice, and parallel tool calls. The framework also provides advanced tool options like accessing agent memory and reformatting tool output. Saplings is on a mission to build the easiest and most powerful framework for building search-enabled agents as more inference-time compute makes agents smarter.
Key takeaways:
- Saplings is a framework for building agents that use search algorithms to solve problems. It supports popular search algorithms like Monte Carlo Tree Search (MCTS), A*, and greedy best-first search.
- The framework provides full control over the evaluation function, prompts, search parameters, etc. It uses OpenAI function calling under the hood and has been shown to boost reasoning and overall task performance.
- It provides a simple way to add search to your agent with just a few lines of code. The framework also allows for the creation of custom tools and evaluators, and supports the configuration of agents.
- Future plans for Saplings include support for chat history, Anthropic and Groq models, dynamic system prompts and tool schemas, vision agents, and the addition of an 'llm_call_budget' parameter to every agent.