Run pi in the board
Each session opens pi in a terminal next to its board. Close the browser tab and pi keeps running in the board server. Open it again and you are back where you were. Ctrl+` shows or hides the terminal.
pi-kanban runs your pi sessions in a browser terminal, next to their todos, subagents, and docs. The agent can show you a card, ask you a question, open a file beside the board, or hand a task to another session. It all runs on your machine.
The board in light and dark. Switch the mode at the top of the page and the screenshots follow.
pi runs in the board server, not in the browser tab. Close the tab and pi keeps working.
The live demo runs in your browser with sample sessions. No install.
Each session opens pi in a terminal next to its board. Close the browser tab and pi keeps running in the board server. Open it again and you are back where you were. Ctrl+` shows or hides the terminal.
Click + New or press Ctrl+Alt+N. Pick a folder from your projects, then give a name, a first prompt, a model, and a thinking level. Ctrl+Alt+R opens the same dialog to resume an older session.
Ctrl+Shift+P opens the session picker. Type to filter by name or project. Tab switches between the sessions on the board and all sessions, and Ctrl+Space peeks at one before you open it.
pi runs pi-kanban dispatch start to give a task to a new worker session in the board terminal. The worker sends back one report, and pi-kanban dispatch wait gets it for the parent.
The agent shows you cards and asks you questions on the board. Your answers and comments go back to pi as messages.
pi writes a markdown or HTML file, such as a table, a chart, or a diagram, and posts it with pi-kanban show. The card opens over the terminal and updates each time pi saves the file. Page through the cards, fill the terminal with one, or open it as a tab.
The ask tool puts an HTML card in a modal: a form, a choice between two layouts, sliders over a preview. pi waits for your answer, and the sidebar counts the sessions that wait on you.
Select text in a pane or the preview, press C, and write a comment. Ctrl+Enter sends all the comments to pi as one message, with the quoted text and the file.
The board reads the pi session files and pushes each change to your browser.
Pending, in progress, completed. The agents log under the board lists every subagent, and the session log shows each prompt, reply, and tool call in order. Ctrl+Shift+L opens it.
Open a subagent from the agents log to read its prompt and the full response, rendered as markdown, with its model, status, and run time.
Session info shows the id, project, path, tasks folder, and scratchpad, each with a copy button, plus token use and linked documents. I opens it for the selected session.
Keep the plan, the dev server, or a report open beside the board, as tabs of the session.
pi-kanban pane add opens a URL or a local markdown, HTML, text, or image file as a tab. Press | to split a tab with the one before it, and Ctrl+Alt+1…9 to go to a tab. Linked docs open in the preview modal.
Two pi packages open as tabs on the board, in the board theme, for the session you look at.
Both also run on their own: /cost and /inspect in pi. Shift+X opens Packages, which installs the ones you do not have.
pi-cost shows cost, tokens, and models per message, session, and project, with actual and estimated spend. Press $ on a session, or run /kanban cost in pi.
pi-inspect shows the system prompt, tools, slash commands, skills, and context files of a session. Press Shift+I on a session, or run /kanban inspect in pi.
pi-costpi install npm:pi-costpi-inspectpi install npm:pi-inspect17 color themes, a zen mode that hides the other sessions, and a key for most actions.
Each theme comes in light and dark, and the board passes it on to pi-cost and pi-inspect. T switches between light and dark.
Ctrl+Shift+Z hides every other session. The sidebar shows the context use, cost, scratchpad, linked docs, and agents of the open session. Press it again to see all sessions.
Select a group header in the sidebar and press Ctrl+Shift+Z. The sidebar then shows only the sessions in that group.
Arrow keys move through todos, Tab switches between the sidebar and the board or the open pane tab, and \ hides the sidebar. Press ? for the full list.
Ctrl+Shift+` lists the terminals the board runs. End the ones you are done with.
Counts the tool calls of a session, with failures and their share of the context. Open it from session info.
Shift+X lists the pi packages the board reads from, and installs the missing ones.
Shift+S shows what the board keeps in your browser for each session, and clears it.
Put sessions in groups. . pins a session to the top, and > makes the pin sticky.
Find tasks, sessions, and projects from the sidebar.
Each session card shows how full its context window is.
N keeps notes for a session. pi gets a scratch folder for each session too.
Review comments, card answers, and task moves reach pi as user messages.
The board is a PWA: install it from the browser to get its own window.
The package gives pi these skills, one tool, and one command. pi loads a skill only when it needs it.
kanban skillAdd a URL or a file as a tab next to the board, link a file to the session, preview a file now, or open pi-cost and pi-inspect for the session.
show skillpi writes a markdown or HTML card and posts it with pi-kanban show.
ask toolShows an HTML question in a modal and waits for the answer. When the board is down, pi asks in its own prompt.
visualize skillpi writes a full HTML page that explains a topic and adds it as a tab.
dispatch skillGive a task to a new pi session in the board terminal and get its report back.
/kanbanIn pi: open the board, open pi-cost or pi-inspect, or pin and link the session.
pi-kanban doc | show | pane | session | group | task | project | dispatch | terminal | skillsThe command the skills run. You can run it from a shell too. pi-kanban help lists the subcommands.
pi-kanban shows what other pi packages write. Install these next to it to fill the board.
pi-costThe cost of each session, as a tab on the board.
pi-inspectWhat pi loaded into each session, as a tab on the board.
pi-subagentsStarts named subagent sessions. The board shows them under each parent session.
@juicesharp/rpiv-todoTodo tracking that the board shows as columns.
@juicesharp/rpiv-ask-user-questionQuestions from the agent in the pi terminal. The board marks the session as waiting until you answer.
pi install npm:pi-kanbanIt gives pi the /kanban command, the ask tool, and the skills that drive the board. Then run npm install -g pi-kanban to get the board command.
pi-kanbanRun it in a shell. The board listens on 127.0.0.1:3460 and prints its URL with the access token.
+ NewOpen the URL the board prints and click + New to run pi in the board terminal. For pi started in another terminal, run /kanban open in pi.
The board listens on loopback only. Its access token travels in the URL fragment, so the browser never sends it to a server.