Kanductor
A local-first AI agent where every task is its own session
The problem
The work was split across two separate agent tools: one for planning, memory and approvals, another for hands-on code work. A person sat in the middle passing context from one to the other by hand, and things got lost at every handoff.
Hosted agent products didn't fit either. The models had to run on my own machines, and nothing could sit on a framework I couldn't read and fix. When an agent got stuck on a judgement call, that question had to be easy to spot instead of getting lost in a chat log.
What I built
- One agent loop per session, with its own context, plan, tools and memory, so tasks never bleed into each other.
- Built in-house on plain JavaScript, socket.io and SurrealDB, talking to any OpenAI-compatible local model server. No agent frameworks or SDKs.
- Questions the agent can't answer alone become a multiple-choice prompt inside the session, and the session is marked as waiting on you in the list.
- When the agent says it is done, a second model checks the claim against the real git diff and tool output before the session closes.
- Built to run unattended: a supervisor restarts it after crashes, interrupted sessions resume, and known failures are diagnosed and repaired automatically.
What it does
- Session list grouped by day, with status, a breadcrumb path and file counts for each task.
- A conversation view that shows the agent's reasoning, tables, code and a live checklist of its progress.
- Decision prompts with written trade-offs per option, plus a free-text note, sent back with one click.
- A results column with the files and artifacts each session produced, a live terminal-style output log, and a context-usage meter.
- Pick your own look: six icon styles, five colour palettes and four terminal themes. Each session keeps the same icon so you can find it at a glance.
- Works on phones: the same sessions and decision prompts in a single column.
Built with Vanilla JavaScript, Node.js, socket.io, SurrealDB, Local LLMs (OpenAI-compatible), PWA with web push, 2026.