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.2.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.2.2
File Size Uploaded Provenance Actions
aiui_code-0.2.2.tar.gz 68.2 kB Without provenance Details for aiui_code-0.2.2.tar.gz

Built distribution (wheel)

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

Total release size: 136.9 kB

Release files / aiui_code-0.2.2.tar.gz

Download URL aiui_code-0.2.2.tar.gz
Size 68.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a6c3d6dc86f0c5dbac161ad61556f1e4093a504878bf41a048cef7154080e4cb
BLAKE2b-256 checksum
How to use checksums
94811c5f93fa53ace83db3a1491a20ddf9fa3341aa77461200b2f84249f5d8d2
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.2.2-py3-none-any.whl

Download URL aiui_code-0.2.2-py3-none-any.whl
Size 68.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9773f2c227f79ff703d67b0dc98af60d7df2f77f51ce20e33d04d67c55f9656
BLAKE2b-256 checksum
How to use checksums
6bea9e1d466120d3adb1876bf5af4eedb37256c5afda4da99e913ce7cc82bbc7
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.2.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