aigentic
0.0.4-SNAPSHOT
common
core
/
community.flock.aigentic.core.agent
/
Agent
Agent
data
class
Agent
(
val
id
:
String
,
val
systemPromptBuilder
:
SystemPromptBuilder
,
val
model
:
Model
,
val
task
:
Task
,
val
contexts
:
List
<
Context
>
,
val
tools
:
Map
<
ToolName
,
Tool
>
)
Members
Members & Extensions
Constructors
Agent
Link copied to clipboard
constructor
(
id
:
String
,
systemPromptBuilder
:
SystemPromptBuilder
,
model
:
Model
,
task
:
Task
,
contexts
:
List
<
Context
>
,
tools
:
Map
<
ToolName
,
Tool
>
)
Properties
contexts
Link copied to clipboard
val
contexts
:
List
<
Context
>
id
Link copied to clipboard
val
id
:
String
model
Link copied to clipboard
val
model
:
Model
system
Prompt
Builder
Link copied to clipboard
val
systemPromptBuilder
:
SystemPromptBuilder
task
Link copied to clipboard
val
task
:
Task
tools
Link copied to clipboard
val
tools
:
Map
<
ToolName
,
Tool
>
Functions
start
Link copied to clipboard
suspend
fun
Agent
.
start
(
)
:
Run