Build
Subclass a base agent, register it with one decorator, call create_app(). REST, MCP, persistence and auth come wired in.
Open source · MIT · Python 3.12+
Build, simulate and test LLM agents.
A cloud-native Python framework on FastAPI, LangGraph and PostgreSQL.
$ uvx cookiecutter gh:btech-software/agent-lab --directory cookiecutter
$ cd my-agent-app && docker compose up --build -d
$ curl http://localhost:18000/status/liveness
# REST API at /agents · MCP server at /mcp · OpenAPI docs at /docsSubclass a base agent, register it with one decorator, call create_app(). REST, MCP, persistence and auth come wired in.
Run agents against live LLMs with a simulated user and an LLM-as-judge, tracked over time in Langfuse and LangWatch.
Validate every change against real infrastructure, spun up by testcontainers. No mocks where it matters.
Tutorial · about 15 minutes
# 1 · scaffold
$ uvx cookiecutter gh:btech-software/agent-lab --directory cookiecutter
# 2 · install and test with no infrastructure
$ cd my-agent-app
$ uv lock && uv sync --group dev --group test
$ make test_unit
# 3 · run the full local stack
$ docker compose up --build -d
$ curl http://localhost:18000/status/livenessThe documentation is organized by what you are trying to do.