Documentation
¶
Overview ¶
Minimal-host is a ~80 line program showing how to embed evva's agent runtime in a downstream Go app:
- Load runtime config from a custom AppHome (~/.minimal-host/ here).
- Register a custom LLM provider against pkg/llm.DefaultRegistry.
- Register a custom tool against the agent via WithCustomTool.
- Wire a stdout event sink that prints each agent event.
- Build the agent via pkg/agent.NewWithProfile and run one prompt.
Run:
cd examples/minimal-host && go run .
No internal/* imports — this file proves the Phase 13 public surface is sufficient on its own. Build it from outside the evva module and the compiler enforces that.
Click to show internal directories.
Click to hide internal directories.