# Klein — card for AI agents

Microframework combining Werkzeug routing with Twisted async capabilities.

Category: HTTP servers and APIs · PyPI package `klein` · latest version 24.8.0 (checked 2026-11-03)
Install: `pip install klein`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 31.7 (#3942 of all tools, 96 of 102 in its category)
- Downloads last week: 9,098 (as of 2026-11-24), +116.3% over 4 weeks
- GitHub stars: 843 (as of 2026-11-24)
- Last push: 2026-11-16

## Often used with
coloredlogs 100.0%, gevent 100.0%, jsonschema 100.0%, Matplotlib 95.7%, Requests 95.7%, scikit-learn 95.7%

## Checked alternatives (same job)
- FastAPI: https://agentgid.com/tools/fastapi/agent.md
- Flask: https://agentgid.com/tools/flask/agent.md
- Starlette: https://agentgid.com/tools/starlette/agent.md
- Django: https://agentgid.com/tools/django/agent.md
- Tornado: https://agentgid.com/tools/tornado/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/klein/
- Homepage: https://github.com/twisted/klein
- Repository: https://github.com/twisted/klein

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
