Skip to main content

aiui-code — PraisonAI Code Web UI Plugin

Standalone multi-agent coding workspace Web UI plugin for PraisonAIUI (aiui). Plugs dynamically into PraisonAIUI via Python entry points (praisonaiui.plugins) with zero UI code in praisonaiagents or praisonai-code and zero coding-domain bloat in aiui.

Features

  • Workspaces → Parallel Agent Runs: Register multiple local folders/repos, launch concurrent runs, and Cmd/Ctrl-click a second run for 2-pane split comparison.
  • Isolated Git Worktrees: Automatic per-run .praisonai/worktrees/<slug> isolation (backed lazily by praisonaiagents.GitWorktreeAdapter) with one-click Commit, Merge Worktree, and Discard.
  • Live Diff Review + Inline Line Comments: Unified & side-by-side split diff viewer; click any line to attach inline review comments and press Cmd/Ctrl+Enter to send structured file:line feedback directly back to the agent.
  • Unified Agent Inbox & Per-Agent Approvals: Per-agent WebApprovalBackend prevents concurrent runs from colliding, syncs to @aiui/sdk notifications, and persists narrow "Allow Always" rules strictly outside cloned repos (~/.praisonai/permissions/).
  • Multi-Engine Choice: PraisonAI Agent (100+ LLMs / Ollama), Claude Code CLI, OpenAI Codex CLI, Gemini CLI, and Grok CLI.
  • Mid-Flight Steering, Interrupts, Checkpoints & OpenShip: Steer running agents mid-flight, restore file checkpoints, run OpenShip Self-Review, or open Draft PRs (never auto-merges).
  • Opt-In Terminal & 390 px Mobile Handoff: Structured read-only command logs by default; pass --enable-terminal for an interactive workspace PTY. Responsive 4-tab layout on mobile.

Quickstart

pip install aiui-code
aiui code serve --workspace /path/to/your/repo
# → http://127.0.0.1:8766/code

With authentication for remote/Tailscale access:

export GATEWAY_AUTH_TOKEN="your-secret-token"
export AIUI_REQUIRE_TOKEN=1
aiui code serve --workspace /path/to/repo --host 0.0.0.0 --port 8766 --require-auth

List detected engines:

aiui code engines

Full CLI Parity (Control the Live Dashboard)

Every dashboard action is available via aiui code ... or aiui-code ... (supports --url, --token, and --json):

aiui code status
aiui code workspaces list
aiui code workspaces add /path/to/another/repo
aiui code runs start <ws_id> "Add unit tests for auth" --engine praisonai --mode safe --focus
aiui code runs watch <run_id>
aiui code runs steer <run_id> "Use pytest fixtures instead"
aiui code runs message <run_id> "Address review" --comment "app.py:12:Handle None input"
aiui code diff <run_id> --patch
aiui code commit <run_id> -m "feat: add auth tests"
aiui code merge <run_id>
aiui code approvals list --status pending
aiui code approvals approve <approval_id>
aiui code ui --run <run_id> --tab diff          # Live-control the open browser dashboard

MCP Server (Let Any Agent Control the Dashboard)

aiui-code exposes 23 MCP tools and 4 live resources (code://status, code://workspaces, code://runs, code://approvals) over both transports:

  1. Stdio MCP (aiui code mcp / aiui-code mcp) — for Antigravity, Claude Desktop, Claude Code, Cursor, Codex:
    aiui code mcp-config --transport stdio
    
  2. Embedded HTTP MCP (POST http://127.0.0.1:8766/api/plugins/code/mcp) — mounted directly on the running dashboard behind PraisonAIUI's auth/origin guards:
    aiui code mcp-config --transport http
    

Development

# Frontend (externalizes react & @aiui/sdk)
cd frontend && npm ci && npm test && npm run build

# Backend + plugin contract tests
pip install -e ".[dev]"
ruff check src tests
pytest -v

Metadata

Release files for aiui-code 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiui-code 0.1.2
File Size Uploaded Provenance Actions
aiui_code-0.1.2.tar.gz 58.6 kB Without provenance Details for aiui_code-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aiui-code 0.1.2
File Interpreter ABI Platform Actions
aiui_code-0.1.2-py3-none-any.whl Python 3 none any Details for aiui_code-0.1.2-py3-none-any.whl

Total release size: 118.4 kB

Release files / aiui_code-0.1.2.tar.gz

Download URL aiui_code-0.1.2.tar.gz
Size 58.6 kB
Tags Source
SHA-256 checksum
How to use checksums
19d40862a1109c4ffb0f57bd245e7f56724b4600247fc357b145e9d2e69199be
BLAKE2b-256 checksum
How to use checksums
3052d6bbefd8f17c3dd7cec834237f1acc3cb6df38333135cb0f89e83b9e30ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / aiui_code-0.1.2-py3-none-any.whl

Download URL aiui_code-0.1.2-py3-none-any.whl
Size 59.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4c58790f68e04b9923df330a77fe0ed9553e1cd9dcf31e21ebfbb924077b3c77
BLAKE2b-256 checksum
How to use checksums
e7797646672d6d9bc909cf70461b000374c3157bb3a28fe2ee9cce7d5feac805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Security for aiui-code 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page