← Back to Leaderboard
Krcortx

rcortx/kiwiq

LangGraph and Prefect orchestration for multi-agent workflows with human review

View on GitHub ↗
Engineering Health (Methodology)
B · 50/100
Maintenance Activity
● Updated 7mo ago
Latest Release
Rolling commits (main)
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance6/35
Fork Adoption18/25
Release Cadence6/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 2,138
24h Growth
+0
7d Growth
+0
Forks
239

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

rcortx/kiwiq Star History (2026-03-17 - 2026-12-04) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +2.1k in 262d · avg +8/day 2.3k 1.1k 0 2026-03-17: ★ 12026-04-04: ★ 3922026-04-25: ★ 9392026-05-16: ★ 9442026-06-06: ★ 9462026-06-27: ★ 9482026-07-18: ★ 9502026-08-08: ★ 9512026-08-29: ★ 1,4052026-09-19: ★ 2,1342026-10-10: ★ 2,1352026-10-31: ★ 2,1362026-11-16: ★ 2,1382026-12-04: ★ 2,138 ★ 2.1k 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

KiwiQ separates the API from workflow execution. The kiwi_app FastAPI service exposes workflow, RAG, data-job, and WebSocket endpoints alongside authentication and billing. The workflow service compiles Python or JSON GraphSchema definitions to LangGraph. Prefect orchestrates execution through services/workflow_service/services/worker.py, while RabbitMQ carries asynchronous events between services. The reusable node registry in services/workflow_service/registry/nodes/ is the main point for extending graph behavior.

The storage layers serve distinct purposes: PostgreSQL holds relational state and LangGraph checkpoints, MongoDB stores versioned customer documents and workflow configuration, Weaviate handles vector retrieval, and Redis supports caching and sessions. The Python manifest includes Pydantic for typed models and settings, SQLModel and Alembic for relational persistence and migrations, and langgraph-checkpoint-postgres for checkpoint integration.

Key Capabilities & Differentiators

The SDK offers 24+ reusable node types, from routing, conditional branches, and data transforms to tool execution, nested workflows, and human review. A workflow can pause for input or approval, with run progress streamed over WebSocket. The node set also includes a Python runner with a sandboxing design; assess that isolation before allowing untrusted tenants to submit code.

LLM integrations cover OpenAI, Anthropic, Google Gemini, Perplexity, Fireworks, and AWS Bedrock. RAG combines document ingestion and Weaviate retrieval, while customer-data nodes load, store, and delete MongoDB-backed documents. The 27+ example workflows in standalone_test_client/ include graph definitions, prompt inputs, and test runners. Content generation, diagnostics, deep research, and lead scoring make them useful starting points for marketing automation, not evidence of equivalent coverage in unrelated domains.

Trade-offs & Limitations

Compared with using LangGraph directly, KiwiQ bundles an API, workers, storage integrations, progress streaming, and examples that would otherwise need to be assembled around the graph runtime. That is useful if the application needs checkpointed runs, human review, and document retrieval together. For a small workflow or a team with an established API and job stack, direct LangGraph integration avoids operating redundant services. Graphs are defined in code or JSON; the Prefect dashboard is for operations, not visual workflow authoring.

The cost of the integrated stack is coordinating upgrades, backups, and failure handling across several services. Plan recovery around both PostgreSQL checkpoints and the MongoDB documents that workflows reference. External model calls also bring network dependencies, rate limits, and usage charges. Apache-2.0 allows commercial self-hosting, but does not change provider terms or the data-handling obligations of a deployment.

Hardware & Deployment Guide

For local evaluation, use Python 3.12, Poetry, Docker, and Docker Compose. Populate .env from .env.sample with service credentials, a JWT secret, and keys for the model providers you intend to use. Run docker compose -f docker-compose-dev.yml up --build for the containerized development stack with persistent volumes and live reload. The API exposes interactive docs on port 8000, and the Prefect dashboard is on port 4201.

Production Compose uses Nginx and Certbot for TLS, external PostgreSQL and MongoDB, resource limits, rotating logs, and health checks. Its four-concurrent-workflow setting is a tuning point, not a capacity benchmark. For a non-Docker deployment, run kiwi_app.main:app with Uvicorn and start the Prefect worker separately, with backing services provisioned independently. Self-hosting the API and workers does not make provider-backed workflows offline. No release is listed, so there is no tagged release milestone to use as an upgrade baseline.

Graph compilation: services/workflow_service/graph/ turns Python or JSON schemas into LangGraph workflows for Prefect execution.
Reusable nodes: 24+ node types cover routing, transforms, model calls, tool execution, human review, and nested workflows.
State separation: PostgreSQL stores checkpoints, MongoDB versions documents, Weaviate serves vector retrieval, and Redis handles caching and sessions.
Run visibility: RabbitMQ carries asynchronous events, WebSocket streams progress, and Prefect provides an orchestration dashboard.
Reference workflows: 27+ definitions include graph schemas, prompts, runner scripts, and human-review test inputs.
Deployment paths: Development Compose bundles backing services; production Compose uses external PostgreSQL and MongoDB and adds TLS termination.
Best For

Python teams building self-hosted content, research, or diagnostics workflows that need versioned documents, human approval, and live run progress behind an API.

Skip If

You need a visual builder, an offline model runtime out of the box, or a lightweight library that fits into an existing orchestration stack.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedAPI
# Development (all services including databases)
docker compose -f docker-compose-dev.yml up --build

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
kiwiq ★2.1k—PythonApache-2.0LangGraph and Prefect orchestration for multi-agent workflows with human review
browser-use122.7k+477PythonMITPython REPL and CDP for adaptive browser automation
langgraph45.8k+293PythonMITPython graph orchestration for stateful, resumable agents and workflows
langchain150.4k+290PythonMITModular Python framework for building agents across model providers

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/rcortx/kiwiq.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

rcortx/kiwiq Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about kiwiq

How do I define a workflow and integrate it with my application?

Start with a Python or JSON graph definition from standalone_test_client/kiwi_client/workflows/active/. The graph builder compiles the schema to LangGraph using the node registry, and the Prefect worker executes the run. Integrate through the FastAPI workflow endpoints and use WebSocket streaming for progress and human-review steps.

Do I need a GPU, and what should I size for?

No GPU or VRAM requirement is specified for the documented provider-API setup. Size the host for the API, workers, and backing services. Measure peak memory and queue growth under representative concurrent runs, and account for vector index size, document volume, and provider rate limits before setting worker concurrency.

Can I self-host KiwiQ for commercial use and keep data on my infrastructure?

Apache-2.0 permits commercial use, modification, and redistribution, subject to its license terms, including applicable notice obligations when redistributing. Self-hosting the orchestration stack does not keep all data on your infrastructure if a workflow sends it to an external model or search provider. Review those provider terms and data flows separately.

When should I use KiwiQ instead of LangGraph directly?

Use LangGraph directly if you need graph execution and already have an API, job infrastructure, and storage, or want to choose those components yourself. Evaluate KiwiQ if the bundled FastAPI service, Prefect workers, live progress, and reusable workflow examples would save more integration work than the additional services would cost to operate.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining rcortx/kiwiq? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature rcortx/kiwiq on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare