Directories
¶
| Path | Synopsis |
|---|---|
|
agent
module
|
|
|
examples
|
|
|
01-minimal
command
Example 01: Minimal — one-shot prompt with an OpenAI-compatible provider.
|
Example 01: Minimal — one-shot prompt with an OpenAI-compatible provider. |
|
02-basic-agent
command
Example 02: Basic Agent — create an agent, subscribe to events, send a prompt.
|
Example 02: Basic Agent — create an agent, subscribe to events, send a prompt. |
|
03-agent-with-tools
command
Example 03: Agent with Tools — define tools, the model calls them, the agent executes them.
|
Example 03: Agent with Tools — define tools, the model calls them, the agent executes them. |
|
04-multi-turn
command
Example 04: Multi-Turn — conversation across multiple Prompt() calls.
|
Example 04: Multi-Turn — conversation across multiple Prompt() calls. |
|
05-compaction
command
Example 05: Compaction — EstimateTokens, ShouldCompact, CompactMessages, Agent.Compact().
|
Example 05: Compaction — EstimateTokens, ShouldCompact, CompactMessages, Agent.Compact(). |
|
06-steering-followup
command
Example 06: Steering & Follow-Up Queues — inject messages mid-loop and after a turn.
|
Example 06: Steering & Follow-Up Queues — inject messages mid-loop and after a turn. |
|
07-middleware
command
Example 07: Middleware Pipeline — logging, timing, RetryPolicy, HeaderInjector.
|
Example 07: Middleware Pipeline — logging, timing, RetryPolicy, HeaderInjector. |
|
08-custom-messages
command
Example 08: Custom Messages & MessageRegistry — sealed interface, converters, pipeline.
|
Example 08: Custom Messages & MessageRegistry — sealed interface, converters, pipeline. |
|
09-abort
command
Example 09: Agent Abort — context cancellation, Agent.Abort(), WaitForIdle().
|
Example 09: Agent Abort — context cancellation, Agent.Abort(), WaitForIdle(). |
|
10-capability-negotiation
command
Example 10: Capability Negotiation & Tool Execution Policies.
|
Example 10: Capability Negotiation & Tool Execution Policies. |
|
11-custom-provider
command
Example 11: Custom Provider — build your own ProviderPort for an API the SDK doesn't ship with.
|
Example 11: Custom Provider — build your own ProviderPort for an API the SDK doesn't ship with. |
|
gateway
module
|
|
|
loop
module
|
|
|
protocol
module
|
Click to show internal directories.
Click to hide internal directories.