Full-Code · Workflow Enginesactive

Restack

Type: full-code  ·  Vendor: Restack  ·  Language: Python, TypeScript  ·  Status: active  ·  Status in practice: emerging  ·  First released: 2024-07-27

Links: homepage docs repo

Backend platform for building long-running AI agents on top of Temporal and Kubernetes, with workflows-as-code, MCP-exposed tools, ClickHouse-backed context, and a product-team-facing visual interface.

Description. Restack is a vendor-managed agent platform for enterprise teams. Engineers write workflows in Python or TypeScript (`@restackio/ai`) by composing functions called via a `step` primitive; the platform runs these on a Temporal-backed durable engine deployed on Kubernetes so agents can run for weeks or months. Python functions are exposed to the agent as MCP tools, long-term context lives in a ClickHouse store, and product teams manage prompts, versions, and tests through a UI.

Agent loop shape. Restack agents and workflows are durable Temporal-backed processes. A workflow is a multi-step function that uses the `step` primitive to call user-defined functions (the activities); the framework records each step so that on crash or restart the run resumes from the last committed step. Agents are long-running variants that can wait on events, call MCP tools, pull context from the ClickHouse store, and be scheduled via the platform's Schedules feature. Restack manages the underlying Kubernetes + Temporal stack so users do not run Temporal directly.

Primary use cases

  • long-running enterprise AI agents (weeks-to-months horizons)
  • durable workflows composed from Python or TypeScript functions
  • MCP-tool integrations exposing in-house Python code
  • self-hosted agent deployments on AWS / GCP / Azure / on-prem

Key concepts

  • Workflow durable-workflow-snapshot (docs)Multi-step orchestration coordinating model calls, API requests, and logic with durable state.
  • Step / Function tool-use (docs)`step()` primitive inside a workflow calls user-defined functions (the activities of the run).
  • Agent agent-resumption (docs)Long-running variant of a workflow that handles errors, retries, and interruptions automatically.
  • Context store (docs)Built-in long-term memory powered by ClickHouse; stores past interactions and retrievable context.
  • MCP-out-of-the-box mcp (docs)Python functions are exposed to the agent as MCP tools by default.
  • Schedules scheduled-agent (docs)Cron / calendar schedules on workflows, agents, and functions.

Patterns this full-code implements

Neighbourhood

Click any neighbour to follow the lineage. Scroll to zoom, drag to pan.