Home

Foundry - Visual workflow builder for AI-powered software development pipelines


Foundry

Visual workflow builder for AI-powered software development pipelines

Build, visualize, and execute multi-step AI workflows with a drag-and-drop interface. Foundry combines a React Flow-based visual editor with a powerful FSM execution engine to orchestrate Claude-powered automation pipelines.


Key Features

🎨 Visual Workflow Builder

Drag-and-drop workflow construction with React Flow. Connect nodes visually, configure them in real-time, and see your automation pipeline come to life.

⚑ FSM-Based Execution

Deterministic state machine execution with checkpoint/resume capability. Pause workflows, inspect state, and resume from any node.

πŸ€– AI-Powered Nodes

Integrate Claude Agent SDK directly into your workflows. Agent nodes can use tools, execute multi-turn conversations, and make intelligent decisions.

πŸ”„ Real-Time Visualization

Watch your workflows execute in real-time with animated node states, live logs, and execution progress tracking via Server-Sent Events.

πŸ“Š Rich Node Library

Pre-built nodes for common operations:

πŸ”— GitHub Integration

Dispatch workflows via GitHub Actions, update GitHub Projects, and automate your development pipeline.


Quick Start

Installation

# Clone the repository
git clone https://github.com/iota-uz/foundry.git
cd foundry

# Install dependencies
bun install

# Set up database
docker compose up -d postgres
bun db:push

# Set up environment variables
cp .env.example .env.local
# Edit .env.local and add your Anthropic API key and DATABASE_URL

Development

# Start development server
bun dev

# Visit http://localhost:3000

Your First Workflow

  1. Launch Foundry - Run bun dev and open your browser
  2. Create Workflow - Click β€œNew Workflow” on the home page
  3. Add Nodes - Drag nodes from the left sidebar onto the canvas
  4. Connect Nodes - Draw edges between nodes to define flow
  5. Configure Nodes - Click nodes to configure in the right panel
  6. Execute - Click β€œRun” to start workflow execution
  7. Monitor - Watch real-time progress in the Execution panel

Architecture Overview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚     Visual Workflow Builder         β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚ React Flow   β”‚  β”‚ Node Config β”‚ β”‚
β”‚  β”‚ Canvas       β”‚  β”‚ Panel       β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚
                 β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚        Graph Engine (FSM)           β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚ State        β”‚  β”‚ Node        β”‚ β”‚
β”‚  β”‚ Manager      β”‚  β”‚ Executors   β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                 β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”
        β–Ό                 β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  PostgreSQL   β”‚  β”‚  Claude API   β”‚
β”‚  (Drizzle)    β”‚  β”‚  (Agent SDK)  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Technology Stack

Layer Technology
Runtime Bun
Framework Next.js 14+ (App Router)
UI Library React 18+
Styling Tailwind CSS v4 + Headless UI
State Zustand
Diagrams React Flow
AI Claude Agent SDK (Anthropic)
Database PostgreSQL + Drizzle ORM
Real-time Server-Sent Events (SSE)

Documentation

Core Concepts

Integration

Reference


Use Cases

πŸ”„ CI/CD Automation

Orchestrate complex deployment pipelines with AI-powered decision making. Run tests, analyze results, and decide next steps automatically.

πŸ› Intelligent Bug Fixing

Create workflows that analyze failing tests, generate fixes with Claude, and verify the solution before committing.

πŸ“ Code Review Pipelines

Build automated code review workflows that analyze PRs, check for patterns, and provide structured feedback.

πŸš€ Feature Development

Define multi-step feature implementation workflows: plan β†’ implement β†’ test β†’ fix β†’ commit.


Node Types at a Glance

Node Purpose AI-Powered
Agent Multi-turn AI execution with tools βœ…
Command Shell command execution ❌
SlashCommand Claude Code operations βœ…
HTTP REST API calls ❌
LLM Direct Claude API calls βœ…
Eval JavaScript transformation ❌
GitHubProject Project status updates ❌
DynamicAgent Runtime AI configuration βœ…
DynamicCommand Runtime command configuration ❌

Contributing

Foundry is open source. Contributions are welcome!

See the GitHub repository for more information.


License

MIT License - see LICENSE file for details



Ready to build AI-powered workflows? Get Started β†’