Connect
4 capabilitiesOne endpoint in front of every model and tool.
Model routing, agents, tools, memory, sandboxes and tracing in one open-source platform. Run it on our cloud or on infrastructure you own.
Bring the loop you already wrote, or put an agent to work from the event that starts it to the report at the end. Pick one and see which parts it runs on.
Point your own agent loop at the gateway, give it a sandbox to run code in, and read every model call back with what it cost.
Your loop, with routing, limits and traces you did not build.
See how to build itRun my agent loop on another model and show me what each call cost.
client = Everstack(base_url=..., api_key=...)model = "@anthropic/claude-sonnet-4-5"Every call recorded, with tokens and cost.Install the Everstack SDK and point it at your gateway. A loop built on an OpenAI client works too, by changing its base URL.
Ask for a model by name. The gateway resolves its provider, so changing models does not change your loop.
Create a sandbox over the API with CPU, memory and network limits, run commands in it and read the files back.
Each model call is recorded with its tokens, latency and cost, so you can see where a run went wrong.
Your apps call one endpoint. Everstack routes each request to the provider you choose, and runs the agents, sandboxes and workflows in between.
Your apps and frameworks
Model providers
Your apps and frameworks
Model providers
Works with the model providers you already use. Browse all 912 models
Every part shares the same API keys, the same limits and the same traces, so adding one does not mean integrating another vendor.
One endpoint in front of every model and tool.
Agents, and the places they run code and keep context.
Traces, evaluations and guardrails for what you ship.
Start with a model call. Add agents, tools and memory through the same Everstack SDK.
Add your provider credentials in the console, then create an Everstack API key for your application.
Set your gateway URL and Everstack key. Call your models from Python or TypeScript, with agents and tools in the same SDK.
Inspect the trace, configure routing and limits, then add agents, tools or sandboxes when your application needs them.
pip install everstack
export EVERSTACK_BASE_URL="https://<your-instance>.<your-region>.everstack.ai"
export EVERSTACK_API_KEY="<your-everstack-api-key>"import os
from everstack import Everstack
client = Everstack(
base_url=os.environ["EVERSTACK_BASE_URL"],
api_key=os.environ["EVERSTACK_API_KEY"],
)
response = client.chat.completions.create(
model="@openai/gpt-4o-mini",
messages=[{"role": "user", "content": "Hello, Everstack."}],
)
print(response.choices[0].message.content)Use your gateway URL, Everstack key and a configured OpenAI provider. Keep API keys on your server.
Paste the brief into Claude Code, Cursor or Codex. It reads the docs, installs the SDK and sends the first request for you.
To let an agent call your Everstack agents and memory as tools, connect it to the Everstack MCP server with your own endpoint and a key made for that client.
Set up Everstack in this project.
Everstack is an OpenAI-compatible gateway. Its documentation is indexed for
agents at https://docs.everstack.ai/llms.txt. Read that first.
1. Install the Everstack SDK for the language this project uses:
- Python: pip install everstack
- TypeScript: npm install @everstack/node
2. Read the gateway URL from EVERSTACK_BASE_URL and the key from
EVERSTACK_API_KEY. Never write the key into a file or a commit.
3. Send one chat completion through the gateway and print the reply.
Ask me which model to use if you cannot tell which providers I have keys for.
4. Tell me what you changed and how to run it.Keep your models, your framework, your vector store and your chat tools. Everstack meets them over open protocols.
Give agents room to work, with explicit boundaries around their code, network access and credentials.
Around your deployment
At the gateway
Around agent code
Agent code
Roles, single sign-on and approvals for the whole organisation, and a plan without ceilings when you need one.
It is one open-source codebase under Apache 2.0. Self-hosting is free, and Cloud plans start at $0.
Run the whole stack in your own environment, on Docker Compose or Kubernetes, with your own provider keys.
The managed service: the same code and the same console, run by us in the EU.
Needs Docker with Compose v2 and 6 GB of memory.
git clone https://github.com/everstacklabs/everstack.git
cd everstack
docker compose -f examples/quickstart/compose.yaml up -d --buildSomething else? Open an issue on GitHub or write to us.
For supported OpenAI-compatible calls, you can keep your SDK. Point your SDK's base URL at your gateway (https://{instance}.{region}.everstack.ai/v1 on Cloud, http://localhost:8089/v1 when self-hosted) and use an Everstack API key. Model names from any configured provider work in the same call.
The model catalog lists 35 providers and 912 models, including OpenAI, Anthropic, Google Gemini, Azure OpenAI, AWS Bedrock, Cohere, Mistral, DeepSeek, Hugging Face, Qwen, MiniMax, Moonshot and OpenRouter, plus Ollama and other OpenAI-compatible endpoints.
Same code and the same console. Self-hosted, you run the gateway and runtime on your own infrastructure with Docker or Kubernetes. On Cloud, we operate the control plane, databases, upgrades, backups and regional infrastructure. OIDC single sign-on is available on the Enterprise plan.
Self-host Everstack to run its gateway and runtime in your environment. Requests still go to the model providers, tools and telemetry services you configure. On Cloud, requests pass through your managed Everstack instance on their way to the provider.
Each sandbox has its own filesystem, network, resource and lifetime limits, on Docker, Firecracker microVM or Kubernetes backends. Network access can be denied outright or limited to an allowlist of hosts.
Each request records tokens in, tokens out and cached tokens, and prices them with the model catalog. Totals roll up per key, per model and per agent, and feed spend limits and alerts.
Apache 2.0. The Community Edition includes the gateway, agent runtime, workflows, sandboxes, memory, MCP, observability, APIs, CLI and the self-hosted admin console. Commercial capabilities such as SSO do not change that licence.
Run it yourself in a few minutes, or start on Everstack Cloud with your own provider keys.
Star on GitHubOpen source under Apache 2.0. A star helps others find it.