minimal-host

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL