Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent defines the Agent: a set of instructions, a model and tools, plus the decision loop that drives them.
|
Package agent defines the Agent: a set of instructions, a model and tools, plus the decision loop that drives them. |
|
Package chat defines the lowest-level LLM chat abstraction.
|
Package chat defines the lowest-level LLM chat abstraction. |
|
chattest
Package chattest provides a scripted Client for testing users of chat.Client, plus a stream contract checker.
|
Package chattest provides a scripted Client for testing users of chat.Client, plus a stream contract checker. |
|
api/anthropic
module
|
|
|
api/gemini
module
|
|
|
api/openai
module
|
|
|
imageproc
module
|
|
|
Package runner is the Agent runtime: it loads history by session ID, builds the context of each run, drives the Agent, persists messages, manages queued messages and history compaction, and runs in the background with events any number of receivers can follow.
|
Package runner is the Agent runtime: it loads history by session ID, builds the context of each run, drives the Agent, persists messages, manages queued messages and history compaction, and runs in the background with events any number of receivers can follow. |
|
Package session defines the persistence model of sessions: sessions, session messages and the store interface.
|
Package session defines the persistence model of sessions: sessions, session messages and the store interface. |
|
storetest
Package storetest checks that a session.Store implementation behaves as the runner expects.
|
Package storetest checks that a session.Store implementation behaves as the runner expects. |
|
Package tool defines the tools an Agent can call: the tool interface, the execution context, results, and toolsets that provide tools in bulk.
|
Package tool defines the tools an Agent can call: the tool interface, the execution context, results, and toolsets that provide tools in bulk. |
|
history
Package history provides the built-in tool history: it lets the model look up the messages of its session that compaction replaced with a summary, since a summary keeps the gist but not every detail.
|
Package history provides the built-in tool history: it lets the model look up the messages of its session that compaction replaced with a summary, since a summary keeps the gist but not every detail. |
|
shell
Package shell provides the built-in command tool shell: the model can run a command in the foreground and get its output, or run it in the background and receive the result as a notice in the session when it ends.
|
Package shell provides the built-in command tool shell: the model can run a command in the foreground and get its output, or run it in the background and receive the result as a notice in the session when it ends. |
|
skill
Package skill provides skills: focused instructions for the model, optionally with resource files.
|
Package skill provides skills: focused instructions for the model, optionally with resource files. |
|
task
Package task provides the built-in background task tool task: it lists and stops the background tasks spawned by the current session, for every kind of task, including sub-agents and background commands.
|
Package task provides the built-in background task tool task: it lists and stops the background tasks spawned by the current session, for every kind of task, including sub-agents and background commands. |
|
todo
Package todo provides the built-in checklist tool todo_write: the model breaks a multi-step task into a checklist and updates its progress as it goes.
|
Package todo provides the built-in checklist tool todo_write: the model breaks a multi-step task into a checklist and updates its progress as it goes. |
|
x
|
|
|
notify
Package notify provides a common interface for sending Agent notifications.
|
Package notify provides a common interface for sending Agent notifications. |
|
notify/telegram
Package telegram implements notify.Notifier with the Telegram Bot API.
|
Package telegram implements notify.Notifier with the Telegram Bot API. |
|
notify/webhook
Package webhook implements notify.Notifier with an HTTP POST of a JSON body.
|
Package webhook implements notify.Notifier with an HTTP POST of a JSON body. |
Click to show internal directories.
Click to hide internal directories.