SuperAPI AI Directory

vector-db-launch

Deployment & operations

View repository

Updated 10-16 08:00

About this skill

Vector DB Launch (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

  1. Localhost-Only Binding: NEVER bind --host to 0.0.0.0 or any public interface due to CVE-2026-45829/45830/45831; binding MUST remain 127.0.0.1.
  2. 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

  1. Check Existing Service: Query heartbeat to confirm port 8110 availability.
  2. Launch Daemon: Start ChromaDB background server binding strictly to localhost:
    chroma run --host 127.0.0.1 --port 8110 --path .vector_data &
    
  3. Verify Heartbeat: Poll heartbeat endpoint until healthy.
  4. 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 with lsof -i :8110.
  • Permission Denied: Confirm write access to .vector_data.

References