Documentation: https://lauren-py.dev
Docs MCP server (for AI coding agents): https://lauren-py.dev/api/mcp — setup guide
Source Code: https://github.com/lauren-framework/lauren-framework
For AI Agents & Coding Assistants
Install all skills in one command
# Claude Code, Cursor, Copilot, Continue, Codex CLI — auto-detected
npx skills add lauren-framework/lauren-framework
This copies all 60+ SKILL.md context packs into your agent's global skills
directory (~/.claude/skills/, ~/.cursor/skills/, etc.). The next time your
agent opens a Lauren project it has pre-loaded expertise on auth, database,
API patterns, observability, security, and more.
| Resource |
What it contains |
lauren/llms.txt |
Framework overview — start here |
lauren/llms-full.txt |
Complete reference — all APIs, patterns, common errors |
AGENTS.md |
Agent rules, by-task lookup, file ownership, common errors, definition of done |
CLAUDE.md |
Conventions, commands, golden rules, pattern selection guide |
skills/ |
60+ copy-paste skill guides covering every common task |
Connect your agent to the live docs (MCP)
The docs site hosts a read-only MCP server so agents can search the current
documentation instead of guessing from training data:
claude mcp add --transport http lauren-docs https://lauren-py.dev/api/mcp
Configurations for Cursor, VS Code, Windsurf, Gemini CLI and stdio-only clients:
lauren-py.dev/mcp.
Full install guide and skills index: docs/guides/agent-skills.md
lauren is a modern, high-performance Python web framework for building APIs
that need to fail at startup, not in production. It is built on these
core ideas:
- Metadata-first. Routes, dependency-injection bindings, module
boundaries, lifecycle hooks, middleware, and guards are declared with
decorators that attach metadata. They never rewrite your functions.
- Startup-validated, runtime-pure. Every misuse — circular DI, missing
module export, malformed extractor, conflicting routes — is rejected
inside
LaurenFactory.create(...), not on the first request.
- No reflection on the request path. The whole graph is compiled into
immutable structures at startup; serving a request is pure traversal.
- HTTP-correct routing. GET routes serve HEAD automatically (headers only);
typed path converters, host routing, trailing-slash policies and optional
OPTIONS are configured once with
RoutingConfig.
- Modules own their URLs and policies.
@module(prefix=..., guards=[...]),
RouterModule / Route for nested areas and global_prefix= put a whole
feature area under one prefix and one guard stack, validated at startup.
- AI-ready by default. Public surface is mirrored in
llms.txt / llms-full.txt and exported
in __all__ — a CI hook keeps the two in lock-step.
Features