Skip to main content

Module agent

Module agent 

Source
Expand description

Agent: the high-level LLM abstraction.

An Agent composes a completion model, a system preamble, optional tools, and an optional vector store into a single .prompt() call that returns Io<Error, String>.

Structsยง

Agent
An agent: a configured LLM with preamble, tools, and context.
AgentBuilder
Builder for constructing an Agent.