Mcpixir.Agents.MCPAgent (Mcpixir v0.1.0)
View SourceAgent implementation that integrates LLMs with MCP tools.
Summary
Functions
Creates a new MCP agent with the given configuration.
Prepares the agent by initializing the LLM client and loading tools.
Runs a query using the agent.
Directly executes a tool using the agent.
Types
@type t() :: %Mcpixir.Agents.MCPAgent{ client: Mcpixir.Client.t(), config: Mcpixir.Config.t(), intermediate_steps: [Mcpixir.IntermediateStep.t()], llm_client: Mcpixir.LLMClient.t(), messages: [Mcpixir.Message.t()], sessions: [Mcpixir.Session.t()], tools: [Mcpixir.Tool.t()] }
Functions
Creates a new MCP agent with the given configuration.
Prepares the agent by initializing the LLM client and loading tools.
Runs a query using the agent.
Directly executes a tool using the agent.