CLI
CLI for TODOforAI — create, watch, and inspect AI-powered todos from your terminal. Pipe-friendly, Claude-Code-style.
Platform Support: ✅ Windows · ✅ macOS · ✅ Linux
Install
Code
Alternative one-liners:
Code
Setup
Run todoai. On first use it opens a browser for device login and saves the API key to ~/.todoforai/credentials.json, shared with the Bridge and the desktop app.
Code
Auth resolution order: --api-key flag → shared credentials → TODOFORAI_API_TOKEN env → device login.
Bridge
The CLI only talks to the backend. Shell commands, file I/O and tool calls run in the Bridge on your machine. When you create or resume a TODO, todoai installs the Bridge if it is missing (Linux and macOS) and starts it if it is not running; logs are in ~/.todoforai/bridge.log. Use --no-bridge if you run the Bridge yourself (systemd, another terminal).
Usage
Code
In your IDE (ACP)
The CLI is also an Agent Client Protocol agent, so it runs inside Zed, JetBrains IDEs (2025.2+) and VS Code (via a community ACP client). Point the editor's agent settings at:
Code
Editor-by-editor setup: todofor.ai/downloads/ide
Open Source: github.com/todoforai/cli