BYOAIK — Bring Your Own AI Key: a directory of AI tools that run on your own API key.
Letta
Open-source platform for building stateful AI agents with long-term memory
- Category:
- Agent Frameworks
- Pricing:
- Open Source
- Open source:
- Yes (Apache-2.0)
- Self-hostable:
- Yes
- Local-first:
- Yes
- Platforms:
- Self-hosted, CLI, Library/SDK, Web, Docker
- AI providers (bring your own key):
- OpenAI, Anthropic, Google Gemini, Azure OpenAI, OpenRouter, Groq, Mistral, DeepSeek, xAI Grok, Ollama, Together AI, Custom / OpenAI-compatible
- API key storage:
- Configured by environment variable
- Key risk level:
- LOW
- Trust score:
- 90/100
Letta (formerly MemGPT, from UC Berkeley's Sky Computing Lab) is an open-source platform for building stateful AI agents with advanced, self-editing tiered memory that persists and self-improves across sessions. It exposes a server/API plus Python and TypeScript SDKs and a CLI (Letta Code), and is fully model-agnostic. Users bring their own provider API keys via environment variables (e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY) when self-hosting the Docker server, or via /connect in Letta Code. BYOK is documented as working on all cloud tiers with OpenAI, Anthropic, and OpenRouter keys. It also supports configurable OpenAI-compatible base URLs/proxy endpoints for local and alternative backends (Ollama, vLLM, LM Studio), plus enterprise backends like Azure OpenAI, AWS Bedrock, and Google Vertex.
How your API key is handled
Your API key is supplied via an environment variable or local config file. Requests are sent directly to the AI provider. Because it can be self-hosted, your key never has to touch a third-party backend.
Setup
Install the tool, set your provider API key as an environment variable (or in its config file), and pick a model.