BYOAIK — Bring Your Own AI Key: a directory of AI tools that run on your own API key.

Agent Zero

Self-hosted, Docker-sandboxed autonomous agent framework that writes and runs its own code using your provider keys.

Website Source code

Category:
Agent Frameworks
Pricing:
Open Source
Open source:
Yes (MIT)
Self-hostable:
Yes
Local-first:
Yes
Platforms:
Self-hosted, Docker, Web
AI providers (bring your own key):
OpenAI, Anthropic, OpenRouter, Ollama, Custom / OpenAI-compatible
API key storage:
Configured by environment variable
Key risk level:
LOW
Trust score:
84/100

Agent Zero is a general-purpose autonomous agent that spawns sub-agents, writes and executes code in a Dockerised Linux sandbox, and persists memory across sessions, usable for coding, research and automation tasks. Setup documents two BYOK paths: entering keys directly in the web UI settings page, or setting them in a .env file, for OpenAI, Anthropic, OpenRouter and other providers, plus native Ollama support for fully local models. Around 18,800 stars and active development.

Why this trust score (84/100)

Trust measures how the tool treats your API key and how much of that has been verified. It contains no popularity signal.

  • Key Safety 22/25 — The key is supplied by an environment variable or local config file you control.
  • Request Routing 17/20 — Requests go straight from you to the AI provider.
  • Transparency 20/20 — Source is public under MIT, so anyone can check how the key is handled.
  • Privacy 14/15 — Local-first: it works without sending your data anywhere. Can be self-hosted, so the data path stays inside infrastructure you control.
  • Maintenance 10/10 — Actively developed — commits within the last three months.
  • Verification Confidence 1/10 — Compiled from public documentation by an AI-assisted pass, not independently confirmed.

What was checked

Verification tier: RESEARCH_ASSISTED — derived from the evidence below, not set by hand.

  • [REPORTED · RESEARCH] This listing was compiled by an AI-assisted research pass over the tool's public website, README and documentation. No person independently confirmed it.
  • [STRONG · SOURCE_SCAN] Supports a local model backend, so it can run with no cloud provider key at all. source
  • [CONFIRMED · SOURCE_SCAN] Most recent commit 2026-08-01 — about 0 month(s) ago. source

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.