Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A guide to using Automata agents, including OpenAIAutomataAgentConfigBuilder and OpenAIAutomataAgent, for autonomous task execution using OpenAI API.
This guide provides information on using agents within the Automata framework, focusing on the OpenAIAutomataAgentConfigBuilder
and OpenAIAutomataAgent
.
The OpenAIAutomataAgentConfigBuilder
is used to build instances of AutomataAgents. It offers a flexible way to configure agent properties before instantiation. Key features include:
AgentConfigBuilder
.OpenAIAutomataAgentConfig
object for configuration.create_config
, create_from_args
) for instantiation.with_*
methods for setting individual properties (e.g., model).Example usage is provided, demonstrating how to create an instance and set the model.
OpenAIAutomataAgent
is an autonomous agent designed to execute instructions and report results. It leverages the OpenAI API for response generation and manages interactions with tools.
The agent operates iteratively, stopping upon task completion or exceeding the maximum iteration limit. It uses OpenAITool
instances.