This guide covers development workflows, including running individual services, building, and contributing to the project.
The Flask web application provides the backend API and serves the built React frontend.
docker-compose up webcd src
poetry run python -m pipe.cli.appAccess at http://localhost:5000
The Web UI provides intuitive visual management and direct manipulation of session history.
| Use Case | Description |
|---|---|
| View/Edit History | Browse detailed session histories; surgically edit specific turns or session metadata (purpose/background). |
| Fork from Turn | Easily fork a conversation from any specific turn to test alternative instructions or validate different LLM responses without altering the original flow. |
| Enable Editing | Activate expert_mode in setting.yml to enable editing and deleting session turns directly from the Web UI. |
| Continue Sessions | Use form inputs to send new instructions to existing sessions. |
| Management | Intuitively start new sessions, compress history, or delete unnecessary sessions via a graphical interface. |
The React application is built with Vite for fast development.
docker-compose up reactcd src/web
npm run devAccess at http://localhost:3000
Storybook for UI component development and testing.
docker-compose up storybookcd src/web
npm run storybookAccess at http://localhost:6006
Model Context Protocol server for AI agent integration.
docker-compose up mcpcd src
poetry run python -m pipe.cli.mcp_serverLanguage Server Protocol server for Python code intelligence.
docker-compose up lspcd src
poetry run python -m pipe.cli.pygls_serverFor production builds:
cd src/web
npm run buildThe built files are served by the Flask backend.
To build all Docker images:
docker-compose build- Setup: Follow the setup guide
- Development: Run services individually or all together with
docker-compose up - Testing: Run tests with
npm test(frontend) orpoetry run pytest(backend) - Building: Build frontend and commit changes
- Deployment: Use Docker Compose for production deployment
This project is released under CC0 1.0 Universal Public Domain Dedication. We don't seek traditional contributors or pull requests. Instead, we encourage forking and creating your own versions. Feel free to copy, modify, and distribute as you wish. No need to be bound by a single vision—explore your own ideas!
For more information, see the main README.md.