Documentation
¶
Overview ¶
Command cli is a minimal, runnable demo of agentloop: in-memory session/step stores, the default capability bundle (require, http, fetch, markdown, ai), and one Run call against an OpenAI-wire-compatible LLM.
Usage:
export OPENAI_API_KEY=sk-... # OpenAI is the default; point OPENAI_BASE_URL elsewhere for # OpenRouter / EdenAI / a local gateway — see llm.ConfigFromEnv. go run ./examples/cli "What's 12 * 7? Answer as a single number."
Click to show internal directories.
Click to hide internal directories.