fast terminal coding agent

The coding agent for the fast terminal.

Built for developers who value speed, privacy, and zero framework bloat. Run fully offline with local Ollama models, or stream cloud inference via Groq with sub-10ms startup.

$bun install -g tiny-agent
architecture & tools

Crafted for pure terminal speed.

Every tool is engineered with safety guards, zero framework overhead, and instant path resolution.

Read full reference
engine & execution

Production-grade tooling foundation

Combines Bun's native bundler and runtime with private local models and fast cloud streaming.

tiny-agent core
Bun + TypeScript

Bun Runtime

Native TypeScript execution without compilation steps. Sub-10ms startup and fast compilation to a single binary.

Ollama Engine

Private, local-first inference running directly on your machine. Your code and prompts never leave your local environment.

Groq Cloud

Fast cloud inference via OpenAI-compatible endpoints. Instant tool streaming when you need larger model capabilities.

live simulator

Interactive terminal simulator

Watch tiny-agent resolve paths, request tool approval, and stream answers without bloated abstraction layers.

tiny-agent·session
$
differentiation

What fx doesn't do yet

Both tools share a minimal Unix ethos with zero framework bloat. Here is how their capabilities differ today based on verifiable code.

Local models

Offline inference

fx.shunsupported

No working local-model path today. Relies on external OpenAI-compatible cloud endpoints via curl.

tiny-agentsupported

Fully offline execution via native Ollama integration. Tested with local open weights like Qwen 2.5 Coder without API keys or telemetry.

Safety confirmations

Action inspection

fx.shunsupported

Prompts confirmation before executing raw bash commands suggested by the model.

tiny-agentsupported

Granular safety policy. State changes (write_file, edit_file, run_shell_command) pause for explicit confirmation with diff previews; read-only operations run instantly. Scriptable with --yolo.

Open & extensible

Standard protocols

fx.shunsupported

Script-level configuration without standard external tool protocols or structured context files.

tiny-agentsupported

Model Context Protocol (MCP) client to plug in standard tool servers, automatic AGENTS.md project instruction loading, and modular skills system.

Factual comparison verified against current repositories.
workflow

How it works

Three sequential steps to an instant, local-first coding assistant in your terminal.

01Configure

Interactive first-run wizard saves config to ~/.tiny-agent/config.json, or pass --local / --cloud flags anytime.

$ tiny-agent --local
[tiny-agent] provider=ollama
model=qwen2.5-coder:latest
02Command

Start an interactive REPL or invoke one-shot commands directly from your shell or CI pipeline.

$ tiny-agent "edit src/config.ts to use port 8080"
[groq/openai/gpt-oss-120b] ❯
03Execute

Autonomous tool loop reads context, auto-resolves bare paths, prints action logs, and streams final answer.

⚡ edit_file src/config.ts
✓ Successfully edited src/config.ts
Updated the port to 8080.
quick start

Installation

Install globally via Bun or npm to get the tiny-agent executable in your terminal.

package: tiny-agent
Requires Bun (https://bun.sh) installed, even when installing via npm
$bun install -g tiny-agent