v1.0 · Open Source · MIT

The Python micro-framework for clean frontend views

AgilePy is a lightweight, modular framework built on Flask and Jinja2. Designed for developers who want simplicity without sacrificing structure.

1,234 stars 567 forks MIT licensed
app.py
from agilepy import AgilePy

app = AgilePy(__name__)

@app.route("/")
def home():
    return app.render("home.html", title="AgilePy")

# That's it. Run it.
if __name__ == "__main__":
    app.run(debug=True)
Why AgilePy

Designed for clarity, built for speed

Everything you need to ship a Python-rendered frontend, nothing you don't.

⚡

Small & Fast

Minimal footprint, instant cold starts. Boot the framework in milliseconds, not seconds.

🧩

Modular by design

Compose features as plain modules. No controllers, no classes — just functions.

🎨

Jinja2 templating

Full Jinja2 power for templates, inheritance, macros, and partials out of the box.

🔐

Production-ready

Deploys cleanly behind Nginx and Gunicorn. CSRF helpers, sane defaults, no surprises.

🌍

SEO friendly

Server-rendered HTML, clean URLs, predictable status codes. Great for search and AI crawlers.

🛠

Developer first

Tiny API surface, readable source, helpful errors. Be productive in under five minutes.

Ready to build?

Read the docs, run the demo, or jump straight to the source.

Read the Docs Open Live Demo View on GitHub