GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dcolley/tourbillon: Open-source AI agent orchestration — Mastra.ai + LM Studio + shadcn/ui

BranchesTags
Open more actions menu

Latest commit

 

History

328 Commits
328 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
apps
apps
 
 
deploy/systemd
deploy/systemd
 
 
docs
docs
 
 
packages
packages
 
 
projects
projects
 
 
scripts
scripts
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
BACKFILL_INVESTIGATION.md
BACKFILL_INVESTIGATION.md
 
 
DEVELOP.md
DEVELOP.md
 
 
README.md
README.md
 
 
RELEASE_NOTES.md
RELEASE_NOTES.md
 
 
approach.md
approach.md
 
 
docker-compose.yml
docker-compose.yml
 
 
mcp.json.example
mcp.json.example
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
tsconfig.base.json
tsconfig.base.json
 
 

Repository files navigation

tourbillon

Tourbillon (French, /tuʁ.bi.jɔ̃/ ['toor-bee-yon']) — literally whirlwind or vortex; from the Old French torb(i)illon, rooted in Latin turbo (a spinning top, a whirlwind).
In horology, the tourbillon is the most complex escapement ever invented: a self-correcting rotating cage
that counteracts the pull of gravity on the movement's gears, keeping time with relentless precision.
The name fits here — a team of agents spinning continuously through work, self-correcting as they go,
driven by an inner heartbeat that never stops ticking.

Open-source AI agent orchestration built with:

  • Mastra.ai — TypeScript agent orchestration (agents, workflows, memory, MCP, Schedules)
  • LM Studio — local OpenAI-compatible API running open-source HuggingFace models
  • Next.js 14 App Router + shadcn/ui + Tailwind CSS
  • Drizzle ORM + PostgreSQL + pgvector
  • WakeRunner + Mastra Schedules — timer/assignment/approval wakes (no BullMQ heartbeats)
  • Better Auth — API key + session auth

What It Does

A control plane for running teams of AI agents as a company:

  • Org chart — agents with roles, reporting lines, and hierarchies
  • Work system — goals → projects → issues, with atomic checkout and state machine
  • Heartbeat loop — agents wake on schedule or events, check their inbox, do work, exit
  • Skills — SKILL.md files injected into agent system prompts at wake time
  • Budget tracking — per-agent token budgets with hard ceilings
  • Governance — approval queues with human-in-the-loop gates
  • MCP tools — agents call the control plane API as tools

Quick Start

Prerequisites

  • Node.js 20+
  • pnpm 9+
  • Docker (for Postgres, Redis)
  • LM Studio with a model loaded and local server running on port 1234

Setup

# Clone
git clone https://github.com/dcolley/tourbillon
cd tourbillon

# Install dependencies
pnpm install

# Copy env
cp .env.example .env
# Edit .env — set LM_STUDIO_DEFAULT_MODEL to match your loaded model

# Start infrastructure
docker compose up -d postgres redis

# Run DB migrations
pnpm db:migrate

# Start the app
pnpm dev

# In a second terminal, start the heartbeat workers
pnpm workers:dev

Open http://localhost:3002.

Mobile Companion App

See apps/mobile/README.md for instructions on running the iOS/Android companion app.

Project Structure

apps/
  web/                  Next.js 14 App Router + shadcn/ui
  mobile/               Expo React Native companion app (iOS/Android)
packages/
  db/                   Drizzle ORM schema + migrations
  mastra/               Mastra agents, workflows, tools
  scheduler/            WakeRunner + Mastra schedule boot
  shared/               Shared types and utilities
  skills/               SKILL.md files (agent methodology)
    control-plane/
    plan-to-tasks/
    create-agent/
    para-memory/
    tourbillon-operator/  # operator guide for running Tourbillon companies

Architecture

See [docs/architecture.md](docs/architecture.md) for the full system design.

License

MIT

About

Open-source AI agent orchestration — Mastra.ai + LM Studio + shadcn/ui

Resources

Readme
Activity

Stars

5 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.