Kollab AI engine - HTTP/SSE server wrapping kollabor-ai and kollabor-agent
pip install kollabor-engine==0.15.5 Copy PIP instructions
kollabor-engine is the local HTTP/SSE runtime for Kollabor.
It wraps the same core AI, tool, permission, profile, MCP, and hub pieces used by the terminal app, but exposes them through a FastAPI service. The intended use is a local companion daemon for kollabor-webui, browser-based control surfaces, and other trusted local clients.
This package is not yet a production multi-user service. It currently relies on in-memory sessions and process-global runtime state, so treat it as a per-user local service bound to 127.0.0.1.
The engine is a thin service layer over other workspace packages:
To run this alongside kollabor-webui in one step, use kollab --web-ui from the repo root instead (see packages/kollabor-webui/README.md).
python -m kollabor_engine serve --host 127.0.0.1 --port 7433 On startup, the service writes a bearer token to:
~/.kollab/engine.token Use that token for protected endpoints:
TOKEN="$(cat ~/.kollab/engine.token)" curl -H "Authorization: Bearer $TOKEN" \ http://127.0.0.1:7433/sessions Programmatic app creation:
from kollabor_engine import create_app app = create_app() API Surface Health and metadata endpoints:
These are current implementation gaps to address before treating the engine as a reliable service boundary:
Run package tests against the local source tree:
PYTHONPATH=packages/kollabor-engine/src:packages/kollabor-ai/src:packages/kollabor-agent/src:packages/kollabor-events/src:packages/kollabor-config/src:packages/kollabor-rpc/src:packages/kollabor-tui/src:packages/kollabor-plugins/src \ python -m pytest packages/kollabor-engine/tests -q Without the PYTHONPATH override, this checkout may import an installed kollabor_engine from site-packages instead of the local package.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Yanked reason: Accidental release; use the 0.5.x series until the 1.0 release is ready




