Skip to content
Back to Templates

Tersa: AI Workflow Canvas

A free, open-source template for building image and video workflows using AI Gateway.

tersa opengraph-image

Tersa

A visual AI playground. Drag, drop, connect and run nodes to build AI workflows powered by the Vercel AI SDK Gateway.

Features

  • Visual Workflow Builder: Create AI workflows by connecting nodes in a drag-and-drop canvas
  • Multi-Model Support: Access text, image and video models from 25+ providers through Vercel AI SDK Gateway
  • Cost Indicators: See relative pricing across models at a glance
  • Reasoning Extraction: View model reasoning for supported providers
  • Streaming Responses: Real-time text generation with streaming support
  • Local Storage: Canvas state persists in the browser automatically

Technologies

Getting Started

Prerequisites

  • Node.js (v20+)
  • PNPM package manager

Installation

  1. Clone the repository

    git clone https://github.com/vercel-labs/tersa.git
    cd tersa
  2. Install dependencies

    pnpm install
  3. Create a .env.local file with your AI SDK Gateway credentials and any provider API keys you want to use.

  4. Run the development server

    pnpm dev
  5. Open http://localhost:3000 in your browser

Usage

  1. Add nodes to the canvas using the toolbar
  2. Connect nodes by dragging from one node's output to another's input
  3. Select a model from any supported provider
  4. Run your workflow to process data through the AI models

License

This project is licensed under the MIT License - see the LICENSE file for details.

Made with ❤️ and 🤖 by Hayden Bleasel.

Use Cases
Database