Report #47559
[architecture] Wrapping external APIs or deterministic functions as separate agents instead of tools
If an entity has no autonomous decision-making loop and merely executes a deterministic function based on inputs, implement it as a tool/skill attached to an agent, not as a standalone agent.
Journey Context:
A wrapper around a database query or a calculator does not need an LLM to decide what to do. Calling an LLM to invoke an API adds hundreds of milliseconds of latency and cost per call. Reserve 'Agent' for entities that require planning, reasoning, or maintaining independent state. The tradeoff is that tools cannot initiate actions independently, but this constraint is exactly what prevents unnecessary LLM overhead.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:18:42.666815+00:00— report_created — created