Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • Yup. Setting up liteLLMProxy on some servers as we speak and will start playing around.

    I can't orchestrate agents in sandboxes without it.

    1. It can issue virtual keys, so provider API keys never go near the sandbox

    2. I can see everything

    3. Guardrails

    And much more

    Looking forward to it.

  • I’m not sure what people are doing with these subscriptions to feel the need to monitor what’s going on this closely. A $100 OpenAI subscription feels effectively infinite for my usage at home
  • One man’s fun is another man’s “idk what any of these words mean, I pay $20/mo for some company to abstract this complexity away”

    For clarity, I do like blog posts like these.

  • Tailscale makes Aperture available for free, and while it's not something you own, it is in your tailnet, so at least you have a certain amount of control over how things access it. It gives a nice view of what agents are doing, with lots of configurability and extensions, and the team behind it has been updating pretty steadily.

    I happen to be working on an extension to Aperture, so I have my own reason to promote it. But I do think it's a nice easy solution, and I promoted it to people before I was extending it.

  • Proxies are good if you pay API prices.

    For subscriptions, it is easier to collect the JSONL files from ~/.claude/projects/ and similar directories. They are better organized (e.g., subagents) than what the proxy sees.

    However, the best value comes from collecting agent sessions across the whole organization. You'll need to scrub credentials and handle security.

  • Umm, observability ? I think the article means to say how do you know the agents arent talking nonsense to each other if you use a multi-agent system. Here again a thin layer of o11y would do the trick and also hooking into the wider ecosystem. Thats without having to bother with a proxy.
  • I'd love to do something like this, or use API keys, but I still don't understand how people justify the cost of using API keys vs. subscription.

    I tested it once, I'm in on the 20x claude max ($200/month) and I either max my weekly limit every week or come really close. But it only took 2-3 days to hit $200 spend with api keys.

  • You don't need a proxy to do this. I would argue you should not use a proxy to do this because the end result is a single point of failure direct in the line of your productivity.

    Both Codex[0] and Claude Code[1] output OTEL traces that you can ingest and process.

    Other harnesses like OpenCode, Pi, etc. you can hook into their plugin architecture and implement your own OTEL emission from a plugin (or use an off the shelf plugin[2]).

    Host an OpenTelemetry collector[3][4] or rely on your existing collector infra (e.g. Datadog (no affiliation), AppInsights, etc.)

    The OTEL traces will have exactly what you need. Tool calls, full prompts, token usage/cost, etc. It is less intrusive and does not become a single-point-of failure since the OTEL emission and collection is best-effort whereas a failing/overloaded proxy is going to strand your team until resolved. It's OK if you lose some OTEL traces; no productivity lost.

    The configuration to enable this for Codex and CC is very straightforward (see [0][1] + [5])

    --

    [0] https://learn.chatgpt.com/docs/config-file/config-advanced#o...

    [1] https://code.claude.com/docs/en/monitoring-usage

    [2] https://github.com/DEVtheOPS/opencode-plugin-otel

    [3] Open source collector: https://opentelemetry.io/docs/collector/

    [4] Sample configuration for filtering noise: https://github.com/zeeq-ai/zeeq-app/blob/main/build/otel-col...

    [5] Concrete examples of .codex/config.toml and .claude/settings.json: https://zeeq.ai/docs/key-features/session-telemetry#configur...

Explore Birbla archives