Agent class abstract

An agent is a component that takes an input and a set of tools and decides what to do to get to the desired output.

Implementers

Constructors

Agent()
An agent is a component that takes an input and a set of tools and decides what to do to get to the desired output.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromRunnable(Runnable<AgentPlanInput, RunnableOptions, List<BaseAgentAction>> runnable, {required List<Tool<Object, ToolOptions, Object>> tools}) BaseMultiActionAgent
Creates an agent from a Runnable.