San

An open-source terminal agent runtime in one Go binary — lean context, near-instant startup, and models, prompts and tools you configure yourself.

Source repo
genai-io/san
Stars
★ 129
Last updated
today
FARS reviewed
Oct 29, 2026
License
Apache-2.0
Primary language
Go

At a glance

Works with
Universal · cross-platformClaude API
You'll need
Go 1.26.9+ (only for go install)Shell / CLINetwork accessLocal filesystem
Typical use
Backend or full-stack engineers who want the model to read code, edit files and run commands without leaving the terminal.
Main limitation
The software is free but you must supply your own model API key and pay per use; running cost is entirely provider-dependent.
Website
genai-io.github.io/san ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-23

What does this agent do, and when should you use it?

San is an open-source terminal agent runtime distributed as a single native Go binary under Apache-2.0, with no Node.js or Python dependency. Running san prompts you to pick a model and paste its API key, then drops you into a TUI; it also supports one-shot prompts (san "...") and a pipe-friendly print mode (san -p). The runtime works a reason → act → observe loop, executing tools and reading or writing files in your working directory while letting you inspect the model context and the tool calls it made. Beyond a single agent it ships multi-agent coordination — subagents, cross-session messaging, and Flow collaboration blueprints. It is deliberately a less opinionated harness: behavior is shaped through system prompts, personas, skills and tool configuration, with execution permissions and auto-update controlled from /settings.

On first launch san asks you to choose a model and enter that provider's API key, then opens a terminal TUI. Its three-step loop (reason → act → observe) turns the conversation into tool calls that run commands and read/write files in your working directory, feeding results back to the model. The CLI exposes several entry points: interactive san, one-shot san "explain this function", TUI-free san -p "do something" for pipes, plus san --continue to resume the latest session and san --resume to pick an older one. For coordination it provides subagents, cross-session messaging and Flow collaboration blueprints that split long tasks across agents. For control it displays model context and tool calls, configures execution permissions under /settings › General, lists interactive commands via /help and CLI flags via san --help, and installs new releases in the background unless you run san update manually or set SAN_DISABLE_AUTOUPDATE=1.

  1. Backend or full-stack engineers who want the model to read code, edit files and run commands without leaving the terminal.
  2. Developers on constrained laptops or CI boxes who care about footprint and startup: 12 MB download, 38 MB on disk, ~0.01s startup.
  3. Anyone wiring an agent into shell scripts or pipelines, using san -p "..." for redirectable output.
  4. Teams that want to define distinct personas, skills and system prompts per task rather than accept one fixed workflow.
  5. Multi-agent workflow designers who need to split a long task into subagents and pass messages across sessions.
  6. Security or platform teams that must audit model context and tool calls and tighten execution permissions.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • brew install genai-io/san/san
  • curl -fsSL https://raw.githubusercontent.com/genai-io/san/main/install.sh | bash
  • irm https://raw.githubusercontent.com/genai-io/san/main/install.ps1 | iex
  • go install github.com/genai-io/san/cmd/san@latest
Runtime
Go 1.26.9+
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

San ships as a single Go binary; Node.js and Python are not required.

macOS / Linux via Homebrew:

brew install genai-io/san/san

Or with the install script:

curl -fsSL https://raw.githubusercontent.com/genai-io/san/main/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/genai-io/san/main/install.ps1 | iex

Via Go (requires Go 1.26.9+):

go install github.com/genai-io/san/cmd/san@latest

Build from source:

git clone https://github.com/genai-io/san.git
cd san
go build -o san ./cmd/san

Uninstall on macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/genai-io/san/main/install.sh | bash -s uninstall

How do you use this agent?

Run san, choose a model when prompted, and paste that provider's API key — then work in the TUI:

san                          # interactive
san "explain this function"  # one-shot

Print mode (no TUI) for scripts and pipes:

san -p "do something"

Resume sessions:

san --continue
san --resume

Inside the TUI, /help lists interactive commands and /settings (General) controls permissions and auto-update; san --help lists CLI flags. Set SAN_DISABLE_AUTOUPDATE=1 to turn off background updates, or run san update to update manually.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • confirmation before acting

What are this agent's strengths and limitations?

Pros
  • One native Go binary: the README measures a 12 MB download and 38 MB on disk, with no Node.js or Python runtime to install.
  • Very low startup overhead — roughly 0.01s and ~32 MB of memory — plus a harness context of about 2.3k tokens in the project's own measurement.
  • Model-agnostic by design: behavior is shaped through system prompts, personas, skills and tools instead of a fixed opinionated workflow.
  • Multi-agent coordination is built in: subagents, cross-session messaging and Flow collaboration blueprints.
  • Control and visibility: configurable execution permissions plus inspection of model context and tool calls.
  • Apache-2.0 licensed, so you can fork it or build from source.
Limitations
  • The software is free but you must supply your own model API key and pay per use; running cost is entirely provider-dependent.
  • Explicitly a less opinionated harness — prompts, personas, skills and tools are yours to define, so it feels empty if you want a turnkey workflow.
  • Terminal TUI/CLI only; the README documents no IDE extension, desktop app or web UI.
  • The Claude Code comparison is project-run and mixes release batches (v1.13.2 / v2.1.112 for most rows, v1.22.0 / v2.1.220 for context overhead), so results need reproducing with the documented method.
  • Background auto-update is on by default and must be disabled via /settings or SAN_DISABLE_AUTOUPDATE=1.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
San This agent 55 · Major gaps — ★ 129 today Go Claude API
Agent Deck 74 · Some gaps CLIFree + model costs ★ 1.3k today Go Codex · Claude Code
Nausicaa 72 · Some gaps CLIFree + model costs ★ 33 1mo ago TypeScript ChatGPT · OpenAI API · Claude API
DSPy-Go 44 · Major gaps CLIFree + model costs ★ 205 9d ago Go OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
55/ 100 5-point scale 2.8 / 5
Trust 17/29
Reliability 6/14
Adaptability 12/18
Convention 10/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust17 / 29 · 2.9/5

The permission model doc is unusually thorough: a nine-step decision pipeline, deny>ask>allow precedence, a circuit breaker that survives bypass mode, an unrecoverable confirmation tier never delegated to the judge, and hook allows re-checked by ResolveHookAllow; user confirmation (Y/A/N, six modes) is well evidenced, so user_confirmation scores 3. However the doc itself admits a subagent declaring mode: bypassPermissions runs unrestricted even when allowBypass is locked, a concrete least-privilege gap, so least_privilege is 2. SECURITY.md states prompts and code context go to LLM providers and transcripts stay local, but there is no field-level data-flow inventory, so data_flow_transparency and sensitive_data_handling are 2 each. Dependency security has weekly govulncheck and SHA-pinned CI actions, but go.mod relies on multiple forks and pseudo-versions (genai-io/bubbletea, ultraviolet, sdk-go) with no SBOM or audit note, so 2. External effects: background auto-update and daily models.dev refresh are on by default and only disabled via env vars, so external_effects is 1. Rollback offers only uninstall and inspector replay, with no snapshot or undo for file edits or command execution, so rollback is 1. Source attribution: LICENSE names the copyright holder, but README gives little third-party attribution beyond benchmark methodology, so source_attribution is 1.

Reliability6 / 14 · 2.1/5

Internal inconsistencies exist: README says Go 1.26.9+, CI pins go-version 1.27.3; the six modes in permission-model do not fully align in naming or semantics with the mode table in claude-permission-compat (default/plan/auto), so self_consistency is 2. Dependency availability is weakened by fork and pseudo-version dependencies and by install.sh/install.ps1 being curl|bash remote execution with no checksum or signature in evidence, so dependency_availability is 1. Failure messages: troubleshooting covers only Go cache and goimports, with no common runtime error guidance, so failure_messages is 1.

Adaptability12 / 18 · 3.3/5

README and getting-started cover interactive, one-shot, piped, Windows/PowerShell, many providers and local Ollama, so audience_and_scenarios is 2. Capability boundaries are documented via permission-model and claude-permission-compat (tool restrictions, subagent modes, read-only allowlist), so capability_boundaries is 2. Trigger precision: Bash AST matches per argv, splits compound commands, and PowerShell has no parser so judgments err strict, so trigger_precision is 2. Environment fit covers macOS/Linux/Windows, Homebrew, Go install and source build, so environment_fit is 2.

Convention10 / 18 · 2.8/5

Docs index, architecture, package map and configuration reference are well structured, so information_architecture is 2. Install notes cover many paths, so install_notes is 2. Naming stability suffers from dual san and .claude compat config tracks and inconsistent mode names across docs, so naming_stability is 1. Examples and FAQ include getting-started, config samples and tmux interaction tests, so examples_and_faq is 2. Known limitations are only scattered (PowerShell has no parser, subagent bypass gap) with no consolidated section, so known_limitations is 1. LICENSE is the full Apache-2.0 text with a copyright holder, so license is 3. Versioning has a release badge and san update but no in-repo CHANGELOG, so versioning_changelog is 1. Maintenance responsibility: SECURITY.md promises best effort and latest-release-only support, and publisher identity is unverified, so maintenance_responsibility is 1.

Effectiveness7 / 13 · 2.7/5

Output usability includes TUI, print mode, inspector replay and session resume, so output_usability is 2. Marginal value: against existing terminal agents like Claude Code the pitch is small size, low context overhead and pluggability, a clear but limited differentiation, so marginal_value is 2. Cost benefit: the benchmark table is self-measured with mixed versions (v1.13.2 and v1.22.0 rows) and no reproducible third-party comparison, so cost_benefit is 1.

Verifiability3 / 8 · 1.9/5

Benchmark claims point to docs/operations/benchmark.md methodology, so claim_traceability is partly supported, but key numbers mix versions, so 1. Cross-source corroboration: README, getting-started and configuration broadly agree on config paths and permissions, yet mode naming and Go version conflict, so cross_source_corroboration is 1. Fact/inference separation: docs are largely assertive (e.g. 20x faster) without flagging differing measurement conditions, so fact_inference_separation is 1.

Risks and how to mitigate them
  • The docs admit a subagent declaring mode: bypassPermissions runs unrestricted even when allowBypass is locked; verify this path before deployment.
  • Background auto-update and daily models.dev refresh are on by default, a default network side effect; disable explicitly with SAN_DISABLE_AUTOUPDATE / SAN_DISABLE_MODEL_REFRESH.
  • Install scripts are executed via curl | bash with no checksum or signature in evidence; review the script before running.
  • go.mod depends on multiple forks and pseudo-versions (bubbletea, ultraviolet, sdk-go), limiting supply-chain traceability.
  • Benchmark numbers mix versions (v1.13.2 and v1.22.0); performance and context-overhead claims should be re-measured independently.
  • Publisher identity is unverified; maintenance and security response are best effort and only the latest release is supported.
Evidence confidence: Low Reviewed Oct 29, 2026 Reviewed revision 93c195120717
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/san.svg)](https://followagents.com/en/agents/san)
<a href="https://followagents.com/en/agents/san"><img src="https://followagents.com/badge/san.svg" alt="FARS review"></a>

FAQ

Does San work on Windows?
Yes. The install notes on this page include a Windows command: irm https://raw.githubusercontent.com/genai-io/san/main/install.ps1 | iex.
Is San open source?
Yes. The source code is on GitHub (genai-io/san) under the Apache-2.0 licence.
Is San safe to use?
FollowAgents' FARS review (Oct 29, 2026) scored San 17/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is San still maintained?
Yes. The latest commit on GitHub is from 2026-11-23, within the last 30 days.
Who makes San?
San is published on GitHub by the account genai-io. FollowAgents has not verified which person or company is behind that account.
What is San's official website?
The project's GitHub repository lists https://genai-io.github.io/san/ as its website. That link is set by the repository owner; the source code itself is on GitHub (genai-io/san).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts