Skip to content

Repository files navigation

Configurable Agent

Turn a single YAML file into a running LLM agent with an HTTP API. You define the system prompt, model, tools, and safety limits; the service runs the tool-use loop and streams every step back to your client over Server-Sent Events.

Works with Anthropic, OpenAI, Google, or any OpenAI-compatible endpoint (including local ollama), connects external tools via the Model Context Protocol, and is built to drop into Kubernetes — config in a ConfigMap, API keys in a Secret.

Quick start

pnpm install
export ANTHROPIC_API_KEY=...          # or OPENAI_API_KEY / GOOGLE_GENERATIVE_AI_API_KEY
CONFIG_PATH=./example.config.yaml pnpm dev

Send a request and watch the response stream:

curl -N -X POST http://localhost:3000/invoke \
  -H 'content-type: application/json' \
  -d '{"messages":[{"role":"user","content":"search the web for eggai and summarize"}]}'

Documentation

The full User Guide covers:

Development

pnpm dev         # run with reload
pnpm test        # run the test suite
pnpm typecheck   # type-check
pnpm lint        # lint / format check
pnpm build       # compile to dist/

About

A configurable GenAI agent

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages