Titanium is a local-first Electron desktop harness for small AI coding models. It rebuilds the strongest parts of CodeTitan around a much narrower core: Pi-powered agent execution, a clean Electron bridge, persistent sessions, and a polished React UI.
- Uses
@mariozechner/pi-coding-agentas the execution foundation - Targets local OpenAI-compatible runtimes first: LM Studio, Ollama, or a custom endpoint
- Streams agent activity into the desktop UI in real time
- Stores sessions and config as JSON under Electron
userDatafor easy debugging - Keeps the runtime small and predictable for weaker local models
- Electron
- React + Vite
- TypeScript
- Pi coding agent SDK
src/
main/ Electron main process, stores, Pi runtime
preload/ Safe renderer bridge
renderer/ React UI
shared/ Shared types, channels, provider presets
tests/ Store and provider tests
npm install
npm run devnpm run buildnpm test- Pick a workspace folder in the UI before starting serious runs.
- Refresh models after starting LM Studio or Ollama so Titanium can auto-detect the active local model.
- The app keeps the tool loop grounded in the configured workspace and uses Pi's native
read,bash,edit, andwritetools underneath.