vector-db-launch)
Starts and verifies the ChromaDB background HTTP service for multi-agent concurrency.
Contents
- Critical Constraints
- Quick start
- Workflow
- Verification
- Troubleshooting
- References
Critical Constraints
- Localhost-Only Binding: NEVER bind
--hostto0.0.0.0or any public interface due to CVE-2026-45829/45830/45831; binding MUST remain127.0.0.1. - In-Process Preference: Default to in-process mode unless concurrent writer access is explicitly required.
Quick start
Check whether the ChromaDB background server is already active:
curl -sf http://127.0.0.1:8110/api/v1/heartbeat > /dev/null && echo "ChromaDB running" || echo "ChromaDB stopped"
Workflow
- Check Existing Service: Query heartbeat to confirm port 8110 availability.
- Launch Daemon: Start ChromaDB background server binding strictly to localhost:
chroma run --host 127.0.0.1 --port 8110 --path .vector_data & - Verify Heartbeat: Poll heartbeat endpoint until healthy.
- Report Status: State daemon PID, host binding, port, and storage path.
Verification
Confirm service health via heartbeat response:
curl -sf http://127.0.0.1:8110/api/v1/heartbeat
Troubleshooting
chroma: command not found: Ensure dependencies are installed in virtualenv.Port 8110 already in use: Check running process withlsof -i :8110.Permission Denied: Confirm write access to.vector_data.
References
- acceptance-criteria.md — Acceptance criteria for vector database launch and lifecycle.
- vector-db-bootstrap-guide.md — Initialization manual and configuration details.