by taichuy
1flowbase: self-hosted AI gateway with protocol translation, dispatch, chat logs, built-in backend & React blocks to combine AI with business data. All managed by your Agent via MCP.
# Add to your Claude Code skills
git clone https://github.com/taichuy/1flowbaseLast scanned: 8/4/2026
{
"issues": [
{
"file": "README.md",
"line": 97,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/taichuy/1flowbase/main/scripts/shel\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-08-04T06:27:26.253Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}1flowbase is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by taichuy. 1flowbase: self-hosted AI gateway with protocol translation, dispatch, chat logs, built-in backend & React blocks to combine AI with business data. All managed by your Agent via MCP. It has 257 GitHub stars.
Yes. 1flowbase passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/taichuy/1flowbase" and add it to your Claude Code skills directory (see the Installation section above).
1flowbase is primarily written in Rust. It is open-source under taichuy on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh 1flowbase against similar tools.
No comments yet. Be the first to share your thoughts!
1flowbase is a self-hosted AI gateway for individuals and enterprises: on top of protocol translation, dispatch, and detailed chat logs, it ships with a built-in Application Backend and Native React frontend blocks that help you combine AI with your business data. Most importantly, all of it can be operated and managed by your Agent through MCP.
1flowbase lets an Agent take over the entire application through MCP — whether orchestrating and publishing an AI gateway, generating backend application endpoints, or building native React interfaces.
Local Agent -> MCP Gateway -> discover / configure / build / operate
Model clients -> AI Gateway -> compatible endpoints / model workflows / traces
External systems -> Application Backend -> generated CRUD APIs / custom workflow APIs
People -> React blocks -> interactive application UI
The four foundations can be used independently, or combined around the same 1flowbase application.
| Foundation | What it provides |
|---|---|
| AI Gateway | Translate and dispatch OpenAI Responses, Chat Completions, and Claude Messages traffic; route models and publish observable workflows as virtual models |
| MCP Gateway | Project 1flowbase capabilities into progressively discoverable tools; manage Tools, mappings, Groups, Bindings, policies, upstream MCP connections, and reusable Bundles |
| Application Backend | Define Data Models that materialize PostgreSQL tables, fields, indexes, and relations; automatically generate governed CRUD APIs and publish custom endpoints powered by Workflows |
| Native React frontend blocks | Build responsive application interfaces with standard React/TSX and CSS, controlled component imports, data binding, and Shadow DOM isolation |
For example, a local Agent can create Customer and Ticket Data Models through MCP, assemble a workflow-backed /api/ex/tickets/escalate endpoint, and build the React interface. External systems call the generated backend APIs, while people work directly in the interface. If the same local Agent also points its model endpoint at the AI Gateway, it gains virtual models with routing, model composition, and full logs; the application itself does not depend on this optional connection.
The MCP Gateway projects platform capabilities into an agent-oriented virtual UI. An agent can progressively discover the relevant domain, inspect a tool contract, make a call, verify the resulting state, and continue building — no hard-coded frontend flow needed for each new task.
Agent
-> mcp_list: discover applications and capabilities
-> mcp_get: inspect the next tool contract
-> mcp_call: create, configure, run, and publish
-> inspect state / traces
-> iterate
Define and publish a Data Model in 1flowbase, and the platform materializes the PostgreSQL schema and generates model-aware List, Get, Create, Update, and Delete APIs with OpenAPI contracts. When standard CRUD is not enough, use a Workflow Extension to define business logic and publish it as a custom endpoint under /api/ex/{slug}.
Data Model definition
-> PostgreSQL table / columns / indexes / relations
-> generated CRUD runtime APIs + OpenAPI
Workflow
-> custom input/output contract
-> published /api/ex/{slug} endpoint
Frontend blocks use standard React/TSX, Hooks, events, and CSS directly. 1flowbase compiles and mounts each block in an isolated Shadow DOM runtime, exposing the platform capabilities the block is allowed to use through controlled catalogs and context contracts.
export default function StatusCard({ ctx }) {
const status = ctx.inputs.status;
return <button onClick={() => ctx.outputs.publish({ action: 'retry' })}>
{status}
</button>;
}
Keep GLM-5.2, DeepSeek V4, or another strong text-based coding model in charge of planning and writing code, and let 1flowbase route screenshots, UI images, charts, and PDF pages to a mounted vision model.
Claude Code
-> 1flowbase virtual model endpoint
-> GLM-5.2 / DeepSeek / other main coding model
-> mounted vision tool
-> GLM-5V-Turbo / Gemini / GPT vision / OCR model
-> structured visual result
-> final coding answer
Guide: Make GLM-5.2 See Images in Claude Code with 1flowbase
1flowbase ships with a fusion template. The client calls a single model name; 1flowbase queries multiple branch models in the background, invokes a synthesis model, returns the final answer, and keeps the execution record of every branch.
User request
-> Main LLM
-> fusion tool
-> Branch LLM A
-> Branch LLM B
-> Branch LLM C
-> Synthesis LLM
-> final answer
Guide: Fusion-Style Workflows: Publish a Multi-Model Panel as an Observable Virtual Model
Build the workflow once, then serve it through common model protocols:
| Protocol | API path | Typical usage |
|---|---|---|
| OpenAI Responses API | /v1/responses |
newer OpenAI-style clients and application code |
| OpenAI Chat Completions API | /v1/chat/completions |
SDKs, coding tools, chat clients, application frameworks |
| Claude-compatible Messages API | /v1/messages |
Claude-compatible clients that support custom endpoints |
Linux/macOS:
curl -fsSL https://raw.githubusercontent.com/taichuy/1flowbase/main/scripts/shell/docker-deploy.sh | sh
Windows PowerShell:
irm https://raw.githubusercontent.com/taichuy/1flowbase/main/scripts/powershell/docker-deploy.ps1 | iex
Windows CMD:
powershell -NoProfile -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/taichuy/1flowbase/main/scripts/powershell/docker-deploy.ps1 | iex"
This path is for developing 1flowbase itself.
Requirements: Node.js >= 24.0.0, pnpm, the latest stable Rust, and Docker for local middleware.
git clone https://github.com/taichuy/1flowbase.git
cd 1flowbase
docker compose -f docker/docker-compose.middleware.yaml up -d
cd web
pnpm install
pnpm dev
Frontend:
http://127.0.0.1:3100
To develop Native React blocks with the optional External npm Pack, start the companion repository in another terminal. Vite proxies the same production path, /external-npm/, to port 4174 by default:
git clone https://github.com/taichuy/1flowbase-web-external-npm.git
cd 1flowbase-web-external-npm
pnpm install --ignore-scripts
pnpm dev
Override VITE_EXTERNAL_NPM_PROXY_TARGET in web/app/.env when the pack server uses another address.
Start backend services:
cd api
# Copy api/apps/api-server/.env.example to .env before the first run.
cargo run -p api-server --bin api-server
cargo run -p plugin-runner --bin plugin-runner
Default backend endpoints:
API Server: http://127.0.0.1:7800
Plugin Runner: http://127.0.0.1:7801
Script-assisted startup:
node scripts/node/dev-up.js
node scripts/node/dev-up.js status
node scripts/node/dev-up.js stop
node scripts/node/dev-up.js restart
See scripts/README.md for more configuration options.
Local or external Agent
-> MCP Gateway
-> create Data Models and relations
-> publish CRUD and Workflow Extension APIs
-> assemble Native React blocks
-> inspect and continuously evolve the running application
This is the primary full-stack path formed by the four foundations: the agent operates the control plane through MCP, the Application Backend handles data and APIs, and Native React blocks provide the human interface. The AI Gateway is connected on demand only when the application also needs to serve governed model endpoints externally.
Data Model
-> PostgreSQL table / columns / indexes / relations
-> generated CRUD runtime and OpenAPI
-> custom business logic via Workflow Extension APIs
Ideal for internal tools, management systems, o