Frigg: the Left Hook SDK for integrations
The open-source integration framework that runs in your cloud. Build, deploy, and manage integrations with full control and transparency.
The SDK itself is Frigg, and it installs from npm as @friggframework/core. There is no separate npm package called “Left Hook SDK”, so install that one.
Install Frigg
Both lines install @friggframework/core, the framework package published on npm. The @next tag is the Frigg 2.0 pre-release; it also pulls in @friggframework/schemas.
Frigg is Left Hook's integration framework: infrastructure for building direct integrations between your product and other APIs. It is not the lefthook Git hooks manager by Evil Martians, which is an unrelated tool with a similar name.
Triggers and actions
A Frigg integration is code you own, and it runs as its own service. Two words cover most of the work: a trigger starts a flow, an action does something in another app.
Trigger: what starts the flow
An event that runs your integration's code. In practice that is one of:
- • a webhook the other app calls when a record changes,
- • a poll on a schedule, or
- • a message on an SQS/SNS queue in your own AWS account.
You write it as an event handler on the integration: Frigg routes the event to your code, and the integration decides which record changed and what to do about it.
Action: what the flow does
The handler the trigger runs: a call through an API module into another app, such as creating a contact in HubSpot or a ticket in a help desk.
Each API module ships the client for that app and its auth flow, so an action is usually one method call. Frigg keeps each tenant's credentials and the integration's own state in the database you point it at.
Run one locally
frigg start runs a preflight before it boots the app, and it gates on more than a database. The checks run in this order:
DATABASE_URLis set.- Docker is installed.
- The Docker daemon responds.
- The database is reachable.
- Postgres migrations are applied (Postgres only).
- LocalStack answers at
http://localhost:4566, unlessAWS_ENDPOINTpoints at real AWS.
--no-interactive turns the preflight off rather than answering it: the CLI then checks only DATABASE_URL, the database type and the Prisma client, so a stopped Docker daemon or an unreachable database no longer blocks the start. Creating the schema and generating the Prisma client is a separate step: frigg db:setup.
So run one in a scaffolded project against a throwaway database plus a LocalStack container. There is no in-memory mode, and no mode that skips these checks:
For MongoDB, start a replica-set Mongo in step 2 instead: mongo:7 with --replSet rs0 and an rs.initiate() call, because Prisma needs a replica set for transactions.
A complete example, from install to a running trigger, is on the build page. If you are deciding what to expose before you build it, the Toolkit's readiness Scorecard grades one product across Spec, Docs, Auth and MCP. If you would rather have us build it with you, book a call.
Why Choose Frigg?
Unlike SaaS iPaaS solutions, Frigg gives you complete control over your integration infrastructure
Your Cloud, Your Control
Deploy Frigg in your own cloud infrastructure. No vendor lock-in, no data sovereignty concerns, complete transparency.
API Module Library
Pre-built modules for popular APIs and services. Standardized authentication, error handling, and data transformation.
Developer-First
Built by developers, for developers. Clean APIs, extensive documentation, and TypeScript support out of the box.
Production-Ready
Battle-tested in production environments. Comprehensive logging, monitoring, and error handling built-in.
Extensible Architecture
Modular design allows for custom integrations. Build your own modules or extend existing ones with ease.
MIT Licensed
True open source with MIT license. Use it commercially, modify it, distribute it—no restrictions or hidden costs.
How Frigg Works
Frigg provides a standardized approach to building and managing integrations
Traditional iPaaS
- Vendor lock-in and data sovereignty issues
- Limited customization and extensibility
- Recurring costs that scale with usage
- Black box operations and debugging
Frigg Framework
- Deploy in your own cloud infrastructure
- Full source code access and customization
- No licensing fees or usage-based costs
- Complete transparency and debugging
Perfect for Enterprise Teams
Frigg is ideal for development teams that need enterprise-grade integration capabilities without the enterprise price tag or vendor lock-in.
Discuss Your Use CaseResources & Community
Everything you need to succeed with Frigg