The Python Framework
for the
Reactive Web.
Caspian combines the raw performance of FastAPI, the type-safety of Prisma, and a revolutionary Hybrid Frontend Engine. Build async full-stack apps without writing a single API endpoint.
The "Zero-API" Philosophy
Async Server Actions
Define
async def
functions and call them directly from the browser. Full support for
Dependency Injection.
Hybrid Engine
The best of both worlds. Start with Zero-Build HTML for speed, or seamlessly upgrade to Vite + NPM for the full ecosystem.
Type-Safe ORM
Built-in Prisma integration gives you autocompletion and type safety for your database queries right out of the box.
File-System Routing
Intuitive routing based on folders. Supports
layout.html
nesting and dynamic
[id]
parameters.
Python Components
Encapsulate UI logic in Python functions decorated with
@component. Reuse them like Lego blocks.
Enterprise Security
Built on Starlette. Automatic CSRF protection, HttpOnly cookies, and strict Origin validation enabled by default.