← Open Source
vercel-labs

tersa

Tersa is an open source canvas for building AI workflows.

AI EngineeringBuild agent workflow (visual)TypeScript
Open on GitHub
Momentum
+-2stars in 24 hours-0.2%
1.04k
Stars
173
Forks
+-1
This week
4
Contributors
Created 2025-04-21 · Updated 2026-10-05 · #18580 today
Top developers
README

Tersa

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.