Documentation · Architecture

How boostmyagents is built.

The moving parts, what happens to a request, and exactly what we store.

The parts

The application, gateway, and database run on DigitalOcean.

What happens to a request

  1. Your client sends a normal Anthropic Messages request to the gateway with your virtual key.
  2. The gateway checks the key and the shape of the request: the model, the options, and the names and types of tools. It does not read the text of prompts, system instructions, or tool results.
  3. It counts the request’s input tokens exactly and works out the most the request could cost.
  4. If needed, it lowers the maximum output length so the request fits what is left of your boost. If the request still cannot fit, it is rejected before reaching Anthropic and is not charged.
  5. The request goes to Anthropic and the response streams back to you.
  6. The actual cost is recorded against your key.

Each key runs one request at a time, so two requests can never race past the limit together. If the gateway cannot work out a request’s cost in advance, it rejects the request instead of guessing.

Requests reach the gateway directly. No CDN or third-party proxy sits between your client and the gateway.

How money is tracked

What we store

For each gateway request

A spend record, kept for accounting and so limits can be enforced:

Technical metadata, deleted after 30 days:

For developers

For supporters

What we never store

The Privacy Policy is the authoritative version of this list.