What is PySpur?
PySpur is a self-hosted visual workspace for the unglamorous part of agent work: seeing what a workflow actually did. It sits in the Low-Code & No-Code Builders category of the App UIs & Builders tools and is open-source, written in Python & TypeScript and licensed Apache-2.0. To get started: install PySpur.
Overview
PySpur is a self-hosted visual workspace for the unglamorous part of agent work: seeing what a workflow actually did. Its pitch is aimed at three specific frustrations — hours lost to prompt tweaking, no visibility into how steps interact, and debugging by squinting at raw JSON in a terminal — and the product is organised as a loop around them: define test cases, build the agent in Python or through the UI, iterate, deploy.
The canvas is a graph of nodes, and the escape hatch is that every node is a Python file: you add a new one by writing a single file rather than by extending a DSL. Between those two ends sit the features a real workflow needs — loops with memory for iterative tool calling, human-in-the-loop breakpoints that pause a run until someone approves it, structured outputs with a JSON Schema editor, file upload and URL pasting for documents, and multimodal handling of video, images, audio, text and code.
Retrieval is built in as a two-step flow rather than bolted on: create a document collection (parse and chunk), then create a vector index (embed and upsert). Deployed workflows publish as an API in one click and capture execution traces automatically, and evals run the agent against real-world datasets. The project claims support for more than 100 LLM providers, embedders and vector databases, with connectors for Slack, Firecrawl, Google Sheets and GitHub among others.
What it does
- Visual node graph with node-level debugging, plus automatic execution traces for deployed agents
- Human-in-the-loop breakpoints: persistent workflows that pause at a node and resume when a person approves
- Loops with memory for iterative tool calling, and a UI editor for JSON Schema structured outputs
- Built-in RAG as an explicit two-step flow — parse and chunk into a document collection, then embed and upsert into a vector index
- Multimodal inputs (video, images, audio, text, code) via file upload or pasted URLs
- Python-first extensibility — a new node is a single Python file — with support for 100+ LLM providers, embedders and vector DBs
- One-click deploy as an API, plus evals against real-world datasets
Getting started
Python 3.11 or higher is required. The pip path is the quickest way to a running instance; the dev-container path is for working on PySpur itself.
Install PySpur
pip install pyspurInitialize a project
This creates a new directory containing a .env file.
pyspur init my-project
cd my-projectStart the server
The app comes up at http://localhost:6080 backed by SQLite. The project recommends configuring a Postgres URL in .env for a more stable experience.
pyspur serve --sqliteAdd your provider keys
Either through the app's API Keys tab, or by editing .env and restarting.
# App UI: API Keys tab → add OpenAI / Anthropic / … keys
# Manual: edit .env (recommended: configure postgres), then
pyspur serveDevelop against the repo
For contributing to PySpur itself, the project supports a dev container (Cursor/VS Code, 'Reopen in Container') or a manual docker compose setup. Development on Windows is not supported.
git clone https://github.com/PySpur-com/pyspur.git
cd pyspur
docker compose -f docker-compose.dev.yml up --build -dCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Debug an agent that fails intermittently by stepping through it node by node and inspecting each step's real input and output
- Put a human approval gate in front of a consequential step — a sent email, a posted trade, a published document — without writing the pause/resume plumbing
- Prototype a RAG pipeline visually (parse → chunk → embed → upsert → query) and swap embedders or vector stores without rewriting it
- Publish a working workflow as an API endpoint and keep the traces and evals attached to it after it ships
How PySpur compares
PySpur alongside other open-source low-code & no-code builders tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| Langflow | ★ 157k | Langflow is an open-source platform for building AI agents and workflows visually, then deploying each flow as an API or MCP server. |
| OpenDesign | ★ 110k | Local-first desktop app that turns a written brief into web, mobile and desktop prototypes, decks, images and video by delegating to the coding-agent CLIs already on your machine. |
| NocoDB | ★ 65.7k | An open-source tool that turns any SQL database into a no-code spreadsheet-style app, used as a self-hosted Airtable alternative. |
| Flowise | ★ 55.6k | Flowise is an open-source low-code tool that lets you build LLM apps and AI agents by connecting nodes on a visual canvas, then ship them as an API or chat widget. |
| JeecgBoot | ★ 48.7k | Java low-code platform — online form, report and workflow designers plus a code generator — with a bundled langchain4j app layer for chat assistants, RAG knowledge bases and MCP plugins. |
| ToolJet | ★ 41.3k | An open-source low-code platform with a drag-and-drop UI builder, built-in database, and JavaScript logic for building internal tools, dashboards, and workflows. |
| Appsmith | ★ 41.3k | An open-source low-code platform for quickly building internal tools, admin panels, and dashboards from a visual editor plus custom JavaScript and data-source connections. |
| PySpur | ★ 5.8k | A visual playground for building, debugging and deploying agent workflows |
