pushed
subh05sus/anvil-js • 11:02 AM - Jul 7, 2026
We've integrated a new observability and cost management layer into the agent loop, introducing structured span tracing for models, tools, and retrievals, alongside a cost governor to enforce per-request budget caps. The system includes both in-memory and SQLite-backed storage options, with the runtime now automatically gating execution based on configured token and USD limits. This ensures better visibility into execution costs and provides critical safety guards against budget overruns. 
