Prerequisites (recommended):
- Docker + Docker Compose
- Python 3.9+ for the SDK and gym packages
- Python 3.14+ for the platform API
- Node.js 24.x with pnpm for the web apps and docs
Platform API local dev
Agent Sentinel’s platform lives inapps/platform/ and runs with Docker Compose.
- Create
apps/platform/.env(minimum required keys):
- Start the stack:
- API:
http://localhost:8000 - OpenAPI/Swagger UI:
http://localhost:8000/docs
Web console
The operator console lives inapps/console-sentinel/.
Public web app
The public web app lives inapps/web/.
Docs (Mintlify)
Troubleshooting
API returns 422 / auth errors
API returns 422 / auth errors
- Ensure
apps/platform/.envis set (especiallySECRET_KEY,FIRST_SUPERUSER,FIRST_SUPERUSER_PASSWORD). - Use
POST /api/v1/login/access-tokento get a JWT, then call protected endpoints withAuthorization: Bearer <jwt>.
Docs preview doesn't start
Docs preview doesn't start
Try updating the CLI and restarting:
