PraisonAI Code UI (ui code)

Launch a multi-agent coding workspace in your browser with one command.

Open a browser workspace where agents plan, edit and run code across one or more repos.

bash
pip install praisonai aiui-code
praisonai ui code

This opens http://127.0.0.1:8766. If you pass no -w, aiui-code uses the current directory as the workspace.

Diagram

👤 You

praisonai ui code

🧩 aiui-code plugin

🤖 Multi-agent workspace
plan · edit · run

Quick Start

  1. Install
    bash
    pip install praisonai aiui-code
  2. Launch
    bash
    praisonai ui code

    Open http://127.0.0.1:8766.

  3. Launch with options
    bash
    praisonai ui code -w ./my-repo --require-auth --enable-terminal

How It Works

Diagram
Browseraiui-code serverpraisonai CLIUserBrowseraiui-code serverpraisonai CLIUseralt[Not installed][Installed]praisonai ui codeIs aiui_code installed?ERROR + “pip install aiui-code” (exit 1)python -m praisonaiui.cli code serve –host –port …Workspace on :8766Ctrl+C / SIGTERMStop server

praisonai ui code is a thin launcher. It checks for aiui_code with importlib.util.find_spec, so nothing loads until you run the command. It then hands every flag to aiui code serve and stops the server cleanly on Ctrl+C or SIGTERM.

Options

OptionShortTypeDefaultDescription
--workspace-wPath (repeatable)current directoryWorkspace folder(s) to open. Pass it more than once to open several repos side-by-side.
--port-pint8766Port to run the Code Web UI on.
--hoststr127.0.0.1Host interface to bind the server to.
--require-authflagFalseRequire bearer-token authentication for all requests.
--enable-terminalflagFalseEnable the opt-in interactive PTY WebSocket terminal.

Common Patterns

Single workspace
bash
cd ~/code/my-app
praisonai ui code
Multiple workspaces
bash
praisonai ui code -w ~/code/repo-a -w ~/code/repo-b --port 9000
Shared on the network
bash
praisonai ui code --host 0.0.0.0 --require-auth
Interactive terminal
bash
praisonai ui code --require-auth --enable-terminal

Example Session

  1. Run praisonai ui code -w ~/code/api -w ~/code/web.
  2. Open http://127.0.0.1:8766. Both repos appear as workspaces.
  3. Ask: “Rename get_user to fetch_user in the API and update every caller in the web app.”
  4. The agents plan the change, edit files in both workspaces, and show the result for review.
  5. Press Ctrl+C in the terminal to stop. The CLI prints 🤖 PraisonAI Code Web UI stopped.

Which Command Should I Use?

Diagram

Yes

No

Yes

No

What do you need?

Coding across
one or more repos?

praisonai ui code
:8766

Chat with one
codebase, Chainlit?

praisonai code

praisonai ui
:8081

praisonai codepraisonai ui code
Installpip install "praisonai[code]"pip install praisonai aiui-code
BackendChainlit appaiui-code plugin (aiui code serve)
Default portChainlit default8766
FocusChat with a codebaseMulti-agent plan + edit + run
WorkspacesOne (PRAISONAI_CODE_REPO_PATH)Many (repeatable -w)
AuthChainlit loginOpt-in bearer token (--require-auth)
Terminal—Opt-in PTY (--enable-terminal)

Related