Documentation
¶
Overview ¶
This example demonstrates the in-process omnix Agent turn/step loop. NewAgent assembles the session log, system prompt, tool pipeline, and LLM adapter. Run(input) starts a turn; each step builds a prompt, streams LLM chunks, and executes any tool calls before continuing or ending the turn. Run: go run ./examples/agent_loop. The scripted adapter makes no network requests; replace it with provider_deepseek.NewDeepSeek(store) for a real model (see examples/usage).
Click to show internal directories.
Click to hide internal directories.