The context layer for AI agents

Your agents run out of context before they run out of sources.

A wide upstream response routinely runs past 30,000 tokens. Do that across five sources and the research is over before it starts. swarmsDB sits in front of the data — typed sections instead of JSON dumps, projection instead of truncation, caching and bulk fan-out instead of one call at a time.

Connect over MCP or REST · no card required

# claude_desktop_config.json — no API key changes hands
{ "mcpServers": {
    "swarmsdb": { "url": "https://app.swarmsdb.ai/mcp" }
} }
grant
{ "key_material": null,
  "grant": "workspace-bound",
  "revocable": true }
upstream 8,457,367 1,508 chars
76%
smaller payloads
on requests that project a section · 4.2×
5,608×
largest single reduction
8,457,367 → 1,508 chars
53
data providers
454 live endpoints · bring your own
21,582
requests served
2026-04-24 to 2026-07-22
the stall

It looks like the model got worse.

The agent starts strong, then hedges, then repeats itself. Nothing errored. It simply ran out of room to think, three sources into a five-source question.

the trap

So you truncate — and now it is confidently wrong.

Cutting a payload at N bytes removes whichever fields happened to sort last. The agent cannot tell a missing field from an absent one, so it fills the gap with a plausible guess.

the reframe

The wrapper was never the hard part.

Knowing which fields matter, letting the caller ask for only those, earning a cache TTL per endpoint, catching upstream drift before it reaches the model — that invisible layer is the product.

The proof

Compression is the product.

On requests that project a section, smaller payloads — 392 million chars served where the upstream sent 1.64 billion chars. That is the difference between an agent reading one source and reading several within the same context window.

Across projected requests 76% smaller · 4.2×
Raw upstream1.64 billion chars
Served392 million chars

Not uniform — concentrated. Savings concentrate in wide payloads rather than spreading evenly: the top 10% of requests account for 87% of all characters saved, while a mid-sized response typically compresses under 1.2×.

largest single reduction
5,608×
8,457,367 chars from upstream
1,508 delivered to the caller

eodhd/eod_bulk_last_day — a live upstream fetch, not a cache replay. Bar not to scale; at true ratio the served bar is a fifth of a pixel.

The layer

Not a proxy. Something that understands the payload.

// shape-typed

Sections, not blobs

Responses arrive as typed sections an agent can project. Ask for four fields and four fields cross the wire. An oversized payload degrades to a schema plus a preview rather than flooding the window.

select=id,doi,title,cited_by_count
// keyless

OAuth connectors that hold no key

A third party connects by grant, not by credential. The grant is workspace-bound and revocable, so access ends when you end it — no key was ever handed over to leak.

"key_material": null
// governed

Budgets that actually stop

Per-key scopes, rate limits and data residency; org budgets enforced on the serving path rather than in a nightly report. An autonomous swarm cannot quietly run up a bill you did not agree to.

402 Payment Required
// earned

Freshness you can defend

A long cache TTL is justified per endpoint, never assumed from a header. Upstream drift is caught by canaries that assert on content, not status codes — a 200 full of the wrong shape still fails.

ttl: earned · drift: asserted

Build vs buy

Wrapping three APIs by hand gets you raw JSON.

The wrapper is the easy half, and you will finish it. What breaks agents is everything after it — and it stays invisible until they start stalling and hallucinating.

  • Typing and projection

    Knowing which fields matter for a given question, and letting the caller ask for only those. Without it every response is all-or-nothing.

  • Freshness that is earned

    A long TTL has to be justified per endpoint. Trusting an upstream Cache-Control header is how an agent quotes a price from last Tuesday.

  • Vocabulary that survives an agent

    A parameter named query that silently means "raw expert DSL" does not error — it returns confident garbage the agent will happily reason over.

  • Drift you find before the model does

    Upstream schemas move without warning. Catching it needs canaries asserting on content; a 200 with the wrong shape passes every status-code check you own.

The catalogue

53 providers. 454 live endpoints. Or bring your own.

Every source is wrapped the same way — typed sections, projection, earned freshness — so an agent learns one interface, not 454. Anything missing can be added as a custom connector and behaves identically.

Browse in the console

Statistics

  • Eurostat
  • IMF
  • OECD
  • ECB
  • BIS
  • World Bank

Markets

  • EODHD
  • Polymarket
  • The Odds API
  • GLEIF

Energy & climate

  • Elexon
  • Carbon Intensity
  • Energy-Charts

Legal & public

  • EUR-Lex
  • TED
  • Land Registry
  • Entscheidsuche

Science

  • OpenAlex
  • UniProt
  • SEC EDGAR

Geospatial

  • Earth Search
  • OpenSky
  • Digitraffic

A representative slice. The full 454 are searchable in the console, and any MCP discovery call returns them.

Pricing

Priced on what you save. Discounted for what you contribute.

You pay per 1M tokens swarmsDB kept out of your context window — the reduction between the upstream payload and the section you asked for. Your unit rate is set by your own 7-day rolling cache-hit rate.

Fetching cold data

You are paying the latency to populate a cache every later caller benefits from. You warm the network, so you pay the lowest rate.

Served from cache

You get answers in milliseconds off work someone else did. You pay the fair share for it.

Pioneer
$0.50
per 1M tokens saved
under 50% cache Cache warmers
Contributor
$0.75
per 1M tokens saved
50–75% cache Balanced usage
Beneficiary
$1.00
per 1M tokens saved
75–90% cache Mostly served warm
Cache Rider
$1.25
per 1M tokens saved
90%+ cache Network beneficiary

Warm the network and you pay less. Ride a warm cache and you get the lowest latency, and pay the fair share for it.

Budgets that actually stop

Over budget returns a real 402/429, not a silent truncation.

Academic access

Discounted or free for students and research groups. Ask.

Point one agent at it.

Connect over MCP or REST. If your agents read more than one source, the context bill is the first thing you will see move.

Measured on our own agent-swarm workload. swarmsDB is battle-tested, not yet widely adopted — external traction is the next milestone.