Skip to content

Repository files navigation

telekinesis (tk)

license crates.io

AI coding agent in your terminal

telekinesis is the CLI + TUI host for the rotary (rx4) agent harness. rx4 runs in-process; telekinesis adds the terminal UX, OAuth login, pi-compatible JSONL v3 sessions, and an ACP JSON-RPC server over stdio.

Quick Start

1. Install

macOS and Linux (installs tk to ~/.local/bin):

curl -fsSL https://raw.githubusercontent.com/tschk/telekinesis/main/install.sh | bash

Any platform with a Rust toolchain:

cargo install telekinesis

2. Log in

tk login grok

Also: openai, claude, gemini, copilot, kimi, antigravity.

3. Run

tk                                # interactive TUI
tk exec "summarize this repo"     # one headless turn; final text on stdout

Usage

printf '%s\n' "review the diff" | tk exec -
printf '%s\n' "review the diff" | tk --no-yolo
tk -c                             # continue newest session for this project
tk exec --json --cwd /workspace "list the rust crates"
tk exec --model grok-4.5 "summarize this repo"
tk acp                            # ACP JSON-RPC server on stdin/stdout

Default non-TTY / tk exec is yolo (AlwaysAllow); --no-yolo denies Ask-class tools. tk exec flags: --json, --cwd <dir>, --provider <id>, --model <name>, --effort|--thinking <low|medium|high|xhigh>, --mcp, --prewalk, --smol-model <name>, --investigate-model <name>.

tk acp speaks ACP JSON-RPC 2.0 (one request per stdin line, one response per stdout line) with initialize, session/new, session/list, session/prompt, and session/cancel. It accepts the same --cwd / --provider / --model / --mcp / --no-yolo flags.

Features

Default tk is the lightest useful coding CLI: pi-compat (JSONL v3 sessions + embed SDK) + acp (enabled by default) over rx4 providers / builtin-tools. Everything else is opt-in:

feature what it adds
mcp rx4 MCP + ~/.telekinesis/mcp.json discover/register
search darash web_search tool
computer-use cu_* tools (Praefectus)
skills rx4 skill engine
graph-memory rx4 graph memory / dream
full all of the above
cargo install telekinesis --features full

TUI, CLI, and GUI forward rotary host events (RetryReason, ProcessStdin, ProcessStart, ProcessEnd, RequestPermissions, PatchHunk, Recovery, ToolSpill) the same way as tool execution and approvals.

Examples

See examples/README.md for TUI, headless exec, sessions, MCP, and ACP flows.

Documentation

  • Docs index
  • Usage — install features, CLI, OAuth, TUI keys and slash commands.
  • Architecture — product layers and the in-process event path.
  • Rotary integration — host/engine boundary and the rx4 API.
  • AVO loop — NVIDIA agentic variation loop via scripts/avo + tk exec.

Build from source:

cd ui/tui && cargo build --release
# binary: ui/tui/target/release/tk

License

MPL-2.0

About

AI coding agent CLI + TUI. Powered by rotary (rx4) harness engine + crepuscularity-tui. Rust.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages