LLM Strategy
LLM calls are made by the Automate-E agent (Book-E) only. The backend APIs (Event Store, Accounting, Cost) do not use LLMs.
Model: Claude Haiku 4.5
- Primary and only model for all agent tasks
- Fast (~2-4s per task), cost-effective (~$0.001/task)
- Native function-calling for routing to API endpoints
- Vision capability for receipt photo extraction
- Temperature: 0.3 (precise, consistent outputs)
Why Claude Only
- Anthropic SDK integrates directly with Automate-E's agent loop
- Tool calling works reliably with the accounting API endpoints
- Token usage tracked per-call with cost calculation in the dashboard
- Single provider simplifies billing and monitoring
Usage
Most tasks are simple: extract merchant + amount + date from a receipt, determine which API endpoint to call. Claude Haiku handles this in 1-2 tool call rounds.
For complex invoices with multiple line items or ambiguous merchant names, the agent loop runs up to 5 tool call rounds before returning a response.
Cost
At ~100 documents/month for Invotek AS, the LLM cost is under $1/month. Tracked in real-time at the Book-E dashboard.