# kollabor-webui

Hacker-style web terminal UI for the Kollabor Engine.

## Quick Start

1. Start the engine server:
   ```bash
   cd /Users/malmazan/dev/kollabor-cli
   python -m kollabor_engine
   ```

2. In another terminal, start the UI:
   ```bash
   python -m kollabor_webui
   ```

3. Open http://127.0.0.1:8080 in your browser

## Features

- Matrix-style animated background
- Retro green terminal aesthetic
- SSE streaming for real-time AI responses
- Permission prompts for tool execution
- Session management (create, list, delete)
- Configurable approval modes

## Configuration

The UI connects to the engine at `http://127.0.0.1:58147` by default.

To use, you'll need:
- An Anthropic API key (or compatible)
- Or a configured profile in `~/.kollabor-cli/profiles/`

## API Endpoints Used

- `POST /sessions` - Create session
- `GET /sessions` - List sessions  
- `DELETE /sessions/{id}` - Delete session
- `POST /sessions/{id}/message` - Send message (SSE stream)
- `POST /sessions/{id}/permission` - Respond to permission request
- `POST /sessions/{id}/permissions/mode` - Change approval mode
