Restack is an open source framework for building autonomous AI applications in TypeScript. It helps developers build resilient, autonomous AI workflows that can execute logic and API calls reliably, maintain state over weeks or months, and self-improve over time. The examples in this repository demonstrate how to build TypeScript applications using Restack's features.
Start the Restack Engine and Web UI using Docker:
docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main
Or using Docker Compose:
docker compose up -d --build --pull always
The Restack Web UI will be available at http://localhost:5233
- posthog - Analyzes PostHog session recordings and creates Linear digests
- voice - Voice processing with Deepgram and OpenAI
- child-workflows - Example of parent-child workflow orchestration
- encryption - Example of encrypted data handling in workflows
- human-loop - Example of human-in-the-loop workflows
- openai - Basic OpenAI integration example
- gemini - Example using Google's Gemini model
- composio - Calendar event creation with AI
- gotohuman - Human-in-the-loop example using gotoHuman
- expresss-together-llamaindex - Together AI and LlamaIndex integration with Express
- nextjs-together-llamaindex - Together AI and LlamaIndex integration with Next.js
- nextjs - Integration with Next.js applications
- express - Basic Express server to schedule restack workflows
- swagger - Express server with Swagger documentation to trigger restack workflow from Swagger UI
For detailed documentation and guides, visit https://docs.restack.io/
Join our community on Discord for support and discussions.
The Restack Engine uses Temporal to reliably run and manage AI workflows. It handles all the complex orchestration behind the scenes, including:
- Long-running workflows that maintain state for days or months
- Detailed workflow replay and debugging
- Automated event processing and handling
- Scheduled and recurring job execution
- Smart API rate limiting
- Persistent memory and state management
The web-based dashboard lets you:
- Track and troubleshoot running workflows
- Step through and replay workflow executions
- Test and validate individual functions
- Create and manage workflow schedules
- Access complete execution logs and history