
Description
inngest-middleware is an agent skill for adding cross-cutting concerns to Inngest durable functions. Middleware runs at key points in a function's lifecycle, during function execution and when events are sent, so it fits concerns that apply to many functions at once. The skill's examples cover structured logging or tracing across all functions, error tracking with Sentry, dependency injection and data transformation. The skill explains what middleware is, which is a set of hooks into the Inngest execution pipeline, and when to use it. Its examples are in TypeScript, and the Inngest documentation covers Python and Go. The skill notes that the middleware system was rewritten in version 4 of Inngest, and that the lifecycle hooks it describes reflect the version 4 API. Users migrating from version 3 should read the migration guide.…
Highlights
- Logging, tracing and error tracking across functions
- Sentry error tracking
- Dependency injection and data transformation
- Hooks into the function lifecycle
- Covers the version 4 middleware API
Ratings & Reviews
No ratings yet
Be the first to rate inngest-middleware.
People also visit

langchain-middleware
INVOKE THIS SKILL when you need human-in-the-loop approval, custom middleware
inngest-middleware FAQ
What is middleware in this context?
Code that runs at points in an Inngest client's lifecycle, such as function execution and event sending.
What examples does it cover?
Structured logging, tracing, Sentry error tracking, dependency injection and data transformation.
Does it cover version 3?
No. The skill describes the version 4 API and refers users migrating from version 3 to the migration guide.
How do I install it?
Run npx skills add https://github.com/inngest/inngest-skills --skill inngest-middleware.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best inngest-middleware alternatives?
Popular alternatives to inngest-middleware include inngest, inngest-durable-functions and inngest-setup. See all inngest-middleware alternatives







