Skip to main content

Use Cases

Discover how STOA Platform solves real challenges for enterprises adopting AI and managing APIs at scale.


πŸ€– Use Case 1: AI Agent API Gateway​

Challenge: Your AI agents (Claude, GPT, custom LLMs) need to call internal APIs, but you lack governance, audit trails, and access control.

Solution: STOA's MCP Gateway provides a unified entry point for all AI-to-API interactions.

Benefits​

Without STOAWith STOA
Direct API access, no governanceCentralized policy enforcement
No visibility on AI callsFull audit trail per agent
Manual API key managementAuto-discovery via MCP
Scattered rate limitingUnified quotas per tenant

Quick Implementation​

# 1. Bridge your OpenAPI spec to MCP Tool manifests and apply via stoactl
stoactl bridge ./billing-openapi.yaml --namespace default --output ./tools/
for f in tools/*.yaml; do stoactl apply -f "$f"; done

# 2. AI agent discovers registered tools over MCP (Streamable HTTP / SSE)
# Client calls JSON-RPC tools/list and tools/call on POST /mcp with Bearer JWT

πŸ“Š Use Case 2: AI Cost Management & Token Metering​

Challenge: Multiple teams use LLMs, but you have no visibility on token consumption, costs spiral, and there's no chargeback mechanism.

Solution: STOA's AI Gateway tracks every token, provides real-time dashboards, and enables per-team quotas.

Benefits​

MetricBefore STOAAfter STOA
Cost visibilityNoneReal-time per team
Token wasteRedundant LLM callsReduced with semantic cache*
Budget controlMonthly surprise billsAutomatic quota enforcement
Provider lock-inSingle providerMulti-provider failover

Semantic caching can significantly reduce redundant LLM calls. Actual savings vary based on query patterns and use case.

Dashboard Preview​

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Token Usage by Team (January 2026) β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Engineering β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘ 2.4M tokens β”‚
β”‚ Marketing β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 800K tokens β”‚
β”‚ Support β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 1.2M tokens β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Total Cost: €1,240 | Cache Savings: €520 (30%) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

🏒 Use Case 3: Multi-Tenant API Platform​

Challenge: You're an ESN/ISV exposing APIs to multiple clients. You need isolation, per-client quotas, billing, and compliance (NIS2/DORA).

Solution: STOA provides native multi-tenancy with complete isolation and European sovereignty.

Tenant Isolation Architecture​

AspectImplementation
AuthSingle Keycloak realm (stoa), one Keycloak group per tenant, and verified tenant_id JWT claim (ADR-074)
DataShared PostgreSQL schema logically scoped by tenant_id
Tool PoliciesFail-closed, Control Plane-signed per-tenant tool policies (ADR-070)
SecretsTenant-scoped Vault / OpenBao paths (ADR-075)
QuotasIndependent per-tenant and per-consumer rate limits and token budgets

Compliance Features​

  • NIS2 β€” Security incident reporting, access controls
  • DORA β€” ICT risk management, resilience testing
  • GDPR β€” Data residency in EU, audit trails
  • European Hosting β€” EU data residency option available*

Legal jurisdiction depends on multiple factors. Consult your legal counsel for compliance advice.


Getting Started​

Ready to evaluate or deploy these use cases? STOA Platform is open source (Apache 2.0) at stoa-platform/stoa; hosted access is available on request at sales@gostoa.dev.

Follow stoa/quickstart/README.md and export all five required variables (POSTGRES_PASSWORD, KC_BOOTSTRAP_ADMIN_PASSWORD, KEYCLOAK_CLIENT_SECRET, KEYCLOAK_ADMIN_CLIENT_SECRET, and STOA_ADMIN_API_TOKEN) before starting the 5-container R1 verifier:

# Minimal 5-container R1 access verifier (401/401/200 proof via POST /admin/contracts)
git clone https://github.com/stoa-platform/stoa.git
cd stoa/quickstart
export POSTGRES_PASSWORD="<set-me>" \
KC_BOOTSTRAP_ADMIN_PASSWORD="<set-me>" \
KEYCLOAK_CLIENT_SECRET="<set-me>" \
KEYCLOAK_ADMIN_CLIENT_SECRET="<set-me>" \
STOA_ADMIN_API_TOKEN="<set-me>"
perl -e 'alarm shift; exec @ARGV' 300 docker compose up --wait
./verify.sh

For the 19-service local stack with Console, Portal, and Observability (deploy/docker-compose), validate your .env statically with docker compose -p stoa-local-check -f docker-compose.yml config --quiet first, then start the explicit 5-target shortcut documented in the Quickstart Guide.


Need Help?​


Claude is a trademark of Anthropic, PBC. GPT-4 and Azure OpenAI are trademarks of OpenAI/Microsoft. All other product names are trademarks of their respective owners.

Cookies and privacy

With your permission, we use cookies to measure visits and understand navigation to improve the site.

Learn more

Google Analytics measures visits and useful clicks. Microsoft Clarity provides masked interaction replays. No advertising use. Your choice is saved for six months. You can change or withdraw it at any time using the β€œCookies” button.

Read the audience measurement details