Package-level declarations

Types

Link copied to clipboard
data class Agent(val id: String, val systemPromptBuilder: SystemPromptBuilder, val model: Model, val task: Task, val contexts: List<Context>, val tools: Map<ToolName, Tool>)
Link copied to clipboard
interface Context
Link copied to clipboard
data class Instruction(val text: String)
Link copied to clipboard
data class Run(val startedAt: Instant, val finishedAt: Instant, val messages: List<Message>, val result: FinishedOrStuck)
Link copied to clipboard
data class Task(val description: String, val instructions: List<Instruction>)
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun executeToolCalls(agent: Agent, toolCalls: List<ToolCall>): List<ToolExecutionResult>
Link copied to clipboard
suspend fun Agent.start(): Run