Tidebase Tidebase GitHub Start self-hosting
Docs

Tidebase Documentation

Tidebase is an open-source checkpoint layer for AI agents: wrap your steps, and failed runs resume from the last safe point — in your own Postgres, without moving execution into a new runtime.

It is not a workflow engine, queue, LLM proxy, or hosted runtime. Your code keeps running in your own app, worker, or job process. Tidebase stores checkpoints, live state, events, approval gates, and usage records around it, so the question “this run died at step 7 — is it safe to rerun?” has a reliable answer.

import { Tidebase } from '@tidebase/sdk'

const tide = new Tidebase()

await tide.run('generate-report', { runId }, async (run, input) => {
  const plan = await run.step('plan', () => makePlan(input))
  await run.state.set({ status: 'writing', progress: 0.7 })
  return run.step('write-report', () => writeReport(plan))
})

Re-invoke the same workflow with the same runId after a crash: completed steps return their checkpointed results instantly, and execution continues at the first incomplete step.

Guides

Comparisons

For AI assistants and agents

Status

Tidebase is an open-source (Apache-2.0), self-hosted alpha: Postgres-backed server, TypeScript and Python SDKs, and a Studio dashboard. API auth is opt-in via a shared TIDEBASE_API_KEY; without it, run in trusted local/self-hosted environments only. Repo: https://github.com/BlueprintLabIO/tidebase