Skip to content
VercelLogotypeVercelLogotype
LoginSign Up

Tersa: AI Workflow Canvas

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

DeployView Demo

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

  • Next.js 15 with App Router and Turbopack
  • React 19
  • Vercel AI SDK with AI SDK Gateway
  • Vercel Blob for media storage
  • ReactFlow for the visual canvas
  • TipTap for rich text editing
  • Tailwind CSS for styling
  • shadcn/ui, Kibo UI and Radix UI for UI components

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 [blocked] file for details.


Made with ❤️ and 🤖 by Hayden Bleasel.

GitHub
Ownervercel-labs
Repositorytersa
Use Cases
AI
Stack
Next.js
Tailwind
Database
Vercel Blob

Related Templates

Next.js Boilerplate

Get started with Next.js and React in seconds.
Next.js Boilerplate thumbnail

eve Chat Template

A persisted Next.js chat template for eve, built with shadcn/ui, Tailwind CSS, Streamdown, Better Auth, Drizzle, and Neon.
eve Chat Template thumbnail

Image Gallery Starter

An image gallery built on Next.js and Vercel Blob.
Image Gallery Starter thumbnail

Agent Stack

  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • eveNew
  • ConnectNew

Core Platform

  • CI/CD
  • Content Delivery
  • Fluid Compute
  • Observability

Security

  • Platform Security
  • WAF
  • Bot Management
  • Bot ID

Tools

  • Vercel DropNew
  • Vercel Agent
  • Vercel PluginNew
  • Agent Skills
  • Next.js
  • Domains
  • v0

Frameworks

  • eveNew
  • Nuxt
  • SvelteKit
  • Nitro
  • Turborepo
  • Tanstack Start
  • FastAPI
  • xmcp
  • All frameworks

SDKs

  • Vercel SDK
  • Workflow SDKNew
  • Flags SDK
  • Chat SDKNew
  • Queues SDKNew
  • Streamdown

Build

  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
  • Platform Engineers
  • Design Engineers

Learn

  • Docs
  • Blog
  • Changelog
  • Knowledge Base
  • Academy
  • Articles
  • Community

Explore

  • Customers
  • Marketplace
  • Templates
  • Partner Finder
  • Vercel + AWS

Company

  • About
  • Careers
  • Press
  • Events
  • Startups
  • Shipped on Vercel
  • Open Source Program
  • Enterprise
  • Pricing
  • Help

Legal & Trust

  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • DPA
  • Acceptable Use Policy
  • Legal (all documents)
  • Trust Center
  • Status

Social

  • GitHub
  • X
  • LinkedIn
  • YouTube
  • Instagram
  • VercelVercel
Agent Stack
  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • eve
Core Platform
  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • CI/CD
Tools
  • Next.js
  • Vercel Agent
  • Vercel Plugin
  • Domains
  • v0
Learn
  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base
Build
  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce
Explore
  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community
EnterprisePricing
Contact
Log InSign Up
Dashboard

Products

Agent Stack

  • AI SDK
  • AI Gateway
  • Sandbox
  • Workflows
  • eve

Core Platform

  • Security
  • Content Delivery
  • Fluid Compute
  • Observability
  • CI/CD

Tools

  • Next.js
  • Vercel Agent
  • Vercel Plugin
  • Domains
  • v0
Resources

Learn

  • Docs
  • About
  • Blog
  • Changelog
  • Knowledge Base

Build

  • AI Apps
  • Web Apps
  • Marketing Sites
  • Platforms
  • Commerce

Explore

  • Customers
  • Marketplace
  • Partner Finder
  • AWS
  • Community
Enterprise
Pricing
Sign UpLog In
Contact
DeployView Demo

Loading status…

Select a display theme: