A powerful and user-friendly AGB (AGent Bot) starter project with React frontend and Python Flask backend. This project provides a streamlined interface for managing AGB sessions, including session creation, file browsing, code execution, and remote desktop viewing.
- Node.js 20+
- Python 3.11+
- Get AGB API Key
# Install dependencies, uv will take care of the python interpreter and venv creation, and install the required packages
uv syncinstall web UI dependencies via pnpm:
cd ./web
pnpm install
# Run both the backend and frontend servers in development mode
./bootstrap.sh -dThe application will be available at http://localhost:5173
To modify the port, edit the PORT environment variable in server/config.py or use the --port option with the start scripts.
The production artifacts will be in the dist/ directory.
- Connect: Enter your AGB API Key and click "Connect"
- Automatic Session Creation: The system automatically creates a
moltbot-linux-ubuntu-2204session - Maximized View: The session stream automatically opens in maximized view
- Manage Sessions: Use the session list to switch between sessions or create new ones
- Browse Files: Navigate the file system of your sessions
- Run Code: Execute code snippets in Python, JavaScript, or Shell
agb-moltbot-starter/
├── server/
│ ├── main.py # Flask backend server
├── web/
│ ├── src/
│ │ ├── main.jsx # React entry point
│ │ └── Debugger.jsx # Main debugger component
│ ├── public/ # Static assets
│ └── package.json # Frontend dependencies
POST /api/connect- Verify API Key and connect to AGBPOST /api/sessions- List sessionsPOST /api/sessions/create- Create a new sessionPOST /api/sessions/link- Get session stream linkPOST /api/sessions/delete- Release/delete a sessionPOST /api/files/list- List files in a session directoryPOST /api/files/download- Download a file from a sessionPOST /api/code/run- Execute code in a session
See LICENSE file for details.
