Why Pikku?
Write backend logic once. Run it everywhere. Keep the cost of changing your mind near zero.
Pikku solves the fundamental problems that slow teams down: vendor lock-in, protocol duplication, and infrastructure lock-in. Whether you're building a new product or scaling an existing one, Pikku gives you the flexibility to adapt without rewrites.
๐๏ธ Architectural Flexibilityโ
Same code, any runtime. Deploy anywhere without rewrites.
- Start with a monolith, scale to microservicesโno code changes
- Switch from serverless to VMs to containersโjust config
- Mix deployment strategies: HTTP on Lambda, WebSockets on a server
- Adapt to new platforms as they emerge
Traditional frameworks lock you into one architecture. Pikku adapts to your needs at any stage.
Learn about avoiding costly rewrites โ
๐ฐ Cost Optimizationโ
Control infrastructure costs. Never get trapped by vendor pricing.
- Deploy to the most cost-effective platform for each workload
- Switch providers when pricing changesโno vendor leverage over you
- Avoid costly migration projects that divert engineering from business value
- 40% cost reduction with hybrid architectures (research-backed)
Pikku reduces Total Cost of Ownership by eliminating rewrite costs and maintaining vendor negotiating power.
See the cost breakdown โ
๐ค AI-Era Qualityโ
Simple, consistent patterns mean dramatically better AI-generated code.
- Claude, GPT, and other AI tools understand Pikku's patterns
- Generate new functions with confidence
- Expose functions to AI agents via Model Context Protocol (MCP)
- Build CLI tools and automation from your existing backend logic
MCP (Model Context Protocol) is a cornerstone of the next internet, and Pikku's MCP integration bridges the gapโallowing your normal APIs to work with AI agents without any cognitive overhead.
Learn how Pikku enables AI-first backends โ
๐ TypeScript Everywhereโ
End-to-end type safety across all protocols and runtimes.
- Write TypeScript functions with full type inference
- Auto-generated type-safe clients for HTTP, WebSockets, and RPC
- Catch errors at compile time, not in production
- IntelliSense support across your entire stack
Pikku brings complete type safety to every layer of your backendโacross all protocols and runtimes.
Learn about end-to-end type safety โ
๐ Protocol Unificationโ
One function. Every protocol. Zero duplication.
- HTTP APIs, WebSockets, queues, cron jobs, CLI, MCPโfrom one codebase
- Same auth, permissions, and validation across all protocols
- Progressive enhancement: Add SSE to HTTP without breaking clients
- Expose backend logic to AI agents via Model Context Protocol
Stop maintaining separate implementations for each protocol. Write once, wire anywhere.
Learn how protocol unification works โ
Key Advantagesโ
๐ Ship Faster, Maintain Lessโ
Write business logic once and deliver features across all protocols instantly. One source of truth means:
- Fewer bugs โ No sync issues between HTTP and WebSocket implementations
- Faster iterations โ Change logic once, updates everywhere
- Easier testing โ Test functions directly without mocking protocol layers
๐ Production-Ready Featuresโ
Built-in support for everything production apps need:
- Authentication & Authorization โ Cookie, bearer, API key auth with fine-grained permissions
- Services โ Singleton and per-request dependency injection (database, logger, config)
- Middleware โ Before/after hooks that work across all protocols
- Schema Validation โ Auto-validate against TypeScript schemas at runtime
- OpenAPI Generation โ Auto-generated API documentation from your functions
๐ชถ Zero Lock-Inโ
Pikku doesn't lock you inโit frees you from lock-in:
- Standard TypeScript โ No magic, no proprietary APIs
- Bring your own tools โ Any database, any logger, any framework
- Tiny runtime โ Minimal overhead, bundles as small as 50KB
- Easy migration โ If you ever need to leave, it's just TypeScript functions
Get Started
Ready to try Pikku? Get up and running in 5 minutes.
Learn More
Dive deeper into why Pikku gives you the flexibility to succeed.
Questions or Feedback?
- ๐ป GitHub
- ๐ฌ Discussions
- ๐ Documentation
- ๐ฆ Twitter/X
- ๐ฌ Discord