Marketplace

AgentOps

Other

Agent runs, token/cost/latency tracing → billing.

togo-framework
bash
togo install togo-framework/ai-agentops

Install

bash
togo install togo-framework/ai-agentops

ai-agentops — agent operations & observability for togo

Records agent/LLM runs over the ai providers — token usage, estimated cost, latency, status — and exposes run history. Token usage is designed to flow into the billing plugin (set agentops.UsageReporter).

bash
togo install togo-framework/ai-agentops
go
ops, _ := agentops.FromKernel(k)
ops.Track(ctx, "support-bot", "gpt-4o-mini", func() (ai.Usage, error) {
    res, err := aiSvc.Chat(ctx, req)
    return res.Usage, err
})

GET /api/ai/agentops/runs?limit=50 returns recent runs. Cost is estimated from a built-in model price table (EstimateCost). MIT


<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>