feat: initial scaffold with context adapters and litellm pkg

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Mathias Bergqvist
2026-05-19 23:02:07 +02:00
commit 7dfe8a792e
17 changed files with 1801 additions and 0 deletions

25
README.md Normal file
View File

@@ -0,0 +1,25 @@
# __PROJECT_NAME__
Go agent built on [Google ADK](https://google.golang.org/adk) with a LiteLLM adapter for local model routing.
## Quick start
```bash
cp .env.example .env
# edit .env with your LITELLM_API_KEY
go mod tidy
task run
```
## Observability
Set `OTLP_ENDPOINT=http://jaeger.d-ma.be:4318` to emit traces. Each invocation produces:
- `invoke_agent __PROJECT_NAME__` span
- `generate_content <model>` child span with `gen_ai.request.model` attribute
## Structure
```
cmd/__PROJECT_NAME__/ agent entrypoint
pkg/litellm/ OpenAI-compat ADK adapter + OTLP telemetry helper
```