Skip to main content

Module agent

Module agent 

Source
Expand description

Agent definition — define_agent / AgentProfile.

Mirrors Flue’s defineAgent / defineAgentProfile from @flue/runtime. Composes a model with tools, skills, a sandbox, and instructions into a runnable Agent.

Structs§

Agent
A runnable agent: a profile plus the resolved runtime handle.
AgentBuilder
Incremental builder used inside define_agent.
AgentProfile
A fully-resolved agent profile.
AgentSpec
A declarative, serializable agent specification.

Functions§

define_agent
Build an Agent from a closure that configures an AgentSpec-like profile, mirroring Flue’s defineAgent(() => ({ ... })).