Run multiple tasks in the browser
Open separate conversation tabs, switch between projects, and access a terminal without leaving the Web workbench.
Web workbench guideIn your terminal and browser
pig is a PHP port of pi with a self-hosted Web workbench. Bring your own models and tailor your workflow with extensions, skills, and MCP.
curl -fsSL https://pigagent.dev/install.sh | sh
Add a dark-mode toggle and remember the user's choice.
The theme toggle follows the system preference and saves your selection.
settings.phpThemeTest.phppig web start -dInterface illustration · Sample conversationActual screenshot →Pig · Esc interrupt · / commands
› Add a dark-mode toggle and remember the user's choice.
The theme toggle follows the system preference and saves your selection.
– Added a labeled control in settings.php
– Added tests in ThemeTest.php
pigTerminal illustration · Sample conversationActual screenshot →Open separate conversation tabs, switch between projects, and access a terminal without leaving the Web workbench.
Web workbench guideResume a saved conversation or use /tree to branch from an earlier turn without losing the original.
How sessions workConnect to hosted providers or local models, then switch with /model without starting a new conversation.
ModelsInstall PHP extensions, skills, or prompt templates via Composer or Git. Connect MCP servers with the built-in client.
Packages