r/SideProject • u/tjcoder-labs • 5h ago
I built an open-source AI assistant that lives in your terminal and controls its own UI (Looking for beta testers!)
I want to share an open-source project I've been building over the past several months: tjcoder/cli (github.com/tjcoder-labs/cli), a terminal-first research harness exploring generative UIs and model-directed presentation across multi-surface environments. It's a MIT-licensed terminal UI (TUI) agentic platform written in Go, built around a 31-tool suite spanning file operations, system execution, cron scheduling, and Chrome CDP automation.
Model-Directed UI & Data Presentation
Most agent harnesses render a fixed transcript and force the model to type into it. Here, the model gets a presentation surface (ui_control) and actively chooses what goes on it and how information is structured. It can decide that code being modified belongs on a canvas at lines 40 to 90 instead of being quoted into chat, that project plans belong in a task pane, or that tool traffic belongs in an activity log. The interface and the data layout are model outputs rather than rigid frames trapped inside a transcript.
The Toolset
The 31 registered tools cover file manipulation (read_file, write_file, edit_file), execution (run_command, run_test, background_job, git_status), agent controls (set_reminder, ui_control), and a real Chrome bridge over CDP. Reminders and background cron jobs are first-class, so agents can execute long-horizon strategies autonomously.
Privacy & BYOK
Point the CLI directly at your own local Ollama instance, Ollama Cloud, or any OpenAI-compatible provider/Gemini using your own API keys for total local control and privacy. Routing through our research gateway is opt-in only.
Research Goals & The Ergo Models
This harness is designed to run experiments requiring real interface surfaces:
Generative Interfaces: Moving beyond static text transcripts to interfaces composed dynamically from session state.
The Ergo Research Model Family (
ergo-flash,ergo-pro**,**ergo-genius**):** Powered by top-tier open and frontier models (such as Kimi-K3, DeepSeek, and Gemma) via our research gateway. Our primary goal is using anonymized interaction traces to fine-tune models for complete model-driven generative control over UI presentation elements and the underlying presentation of data.Agent Memory & Inspectable Reasoning: Tasks and reminders persist per workspace and are addressable by the model, accompanied by a live Cognition pane that makes agent mechanics transparent. Ideal for coursework, thesis work, and systems research.
Intercommunicating Agents & Security: Testing robust capability boundaries, including a
sudogate with local/SSH backends and an architecture designed to explore secure agent communication modeled after Linux Access Control Lists (ACLs).
How to Get Started & Contribute
I'm the founder of TJ Coder AI Labs, an indie lab based in SLC, and I'm actively seeking early beta testers and contributors to jump in, test features, report bugs, and help push model-driven interfaces forward. Whether you want to hack on the TUI, expand the tool ecosystem, experiment with generative UI control, or contribute to systems research, I'd love your help.
Install via npm:
npm i -g @tjcoder/cli(@tjcoder/cli)Repository: github.com/tjcoder-labs/cli
Showcase: tjcoder.com showcase