awizemann/scarf
Native SwiftUI console for operating local and SSH-hosted Hermes agents
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Scarf is a native Hermes client, not an agent runtime. It uses feature-oriented MVVM, Swift 6 strict concurrency, and SwiftUI. A single Xcode project houses the Mac and iOS apps and the shared ScarfCore, ScarfDesign, and ScarfIOS packages. The client reads Hermes configuration, logs, memory, and skills directly. It opens local state.db strictly read-only to avoid WAL contention and routes management operations through the hermes CLI.
Each Mac window binds to one host. Remote windows use system SSH, read SQLite state from atomic snapshots, and start ACP chat with ssh -T host -- hermes acp. SwiftTerm provides a separate terminal path for hermes chat, Sparkle handles Mac updates, and ScarfGo uses Citadel for SSH. At the project level, Scarf watches .scarf/dashboard.json for changes and embeds HTML/CSS/JS mini-apps in a restricted WKWebView, with a rate-limited bridge whose permissions default to deny.
Key Capabilities & Differentiators
Rich Chat streams Markdown, reasoning, tool calls, and permission prompts over ACP; the terminal path preserves the native Hermes interaction. Operators can search full session history, inspect tool calls, track token and per-model costs where supported, and export Markdown, HTML, Quarto, or JSONL with secret redaction. Separate panes handle memory, skills, cron, gateways, MCP servers, and configuration, with controls exposed according to each host's capabilities.
Project chats start in the project's working directory so Hermes can load its context files. Project dashboards and Fleet group activity across machines; Fleet can flag config drift and push model presets, boards, and cron settings. On capable hosts, the model pane discovers Ollama, LM Studio, vLLM, and llama.cpp locally or over SSH and surfaces context-window and vision warnings. The optional Hermes proxy exposes an OpenAI-compatible endpoint; Scarf itself does not serve models.
Trade-offs & Limitations
Compared with the Hermes CLI, Scarf is most useful when troubleshooting spans sessions or hosts: searchable history, tool-call inspection, cost views, and project dashboards are easier to navigate than separate terminal sessions. Compared with a hosted agent console, direct SSH avoids operating a Scarf relay but leaves account provisioning, key management, and host reachability with the operator. Capability gating lets old and new Hermes hosts coexist, but it also means the same workflow may expose different controls on different servers.
Read-only SQLite access limits direct database writes; it does not make Scarf a read-only admin tool. CLI-backed actions can still change configuration, skills, boards, or schedules, and Fleet pushes can affect multiple hosts. The Mac build runs outside the app sandbox to read ~/.hermes/ and launch Hermes, so review the app's local access and the privileges of remote SSH accounts. No relay does not mean no outbound traffic: Mac usage analytics can be disabled, and optional GPT-Live sends voice and recent chat context directly to OpenAI.
Hardware & Deployment Guide
Install the signed, notarized Mac build from GitHub Releases on macOS 15 or later; universal builds cover Intel and Apple Silicon, and Sparkle delivers updates. ScarfGo is distributed through the App Store and requires iOS 18.6 or later. Source builds need Xcode 16 or later; scripts/local-build.sh provides an unsigned Debug path. Each host needs Hermes v0.6.0 or later, and Mac remote connections require key-based SSH, sqlite3 and pgrep on the remote PATH, and read access to ~/.hermes/.
No Scarf backend is required. The Mac client reuses system SSH settings; ScarfGo instead generates an Ed25519 key on-device, and the operator authorizes its public key on the host. A green SSH connection with an empty dashboard warrants running the built-in host diagnostics. Release v3.8.0 stopped canceling chats on navigation, v3.9.0 added Hermes v0.23.0 support, and v3.9.1 extended that to v0.23.4 and fixed discovery of gateways started by Hermes v0.23.
hermes chat; v3.8.0 keeps chats running when users switch conversations..scarf/dashboard.json drives live widgets, while embedded mini-apps use a default-deny, rate-limited bridge.Apple-platform users already running Hermes who want searchable sessions, project dashboards, and multi-host administration over direct SSH.
You need a cross-platform team console, a bundled agent or inference server, or a fully sandboxed Mac client; terminal-only Hermes is simpler for shell-first workflows.
Quick Start & Installation
xattr -d com.apple.quarantine /Applications/Scarf.appComparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| scarf ★ | 928 | +6 | Swift | MIT | Native SwiftUI console for operating local and SSH-hosted Hermes agents |
| hermes-agent | 268.1k | +1.5k | Python | MIT | Self-hosted Python agent with persistent memory and automation across chat and C |
| cua | 34.1k | +973 | Rust | MIT | Rust-backed sandboxes and cross-OS desktop controls for computer-use agents |
| n8n | 213.1k | +787 | TypeScript | — | Visual Node.js platform for self-hosted workflows and multi-step AI agents |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/awizemann/scarf.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about scarf
Do I need to run a Scarf service on each Hermes host?
hermes acp. Each host needs its own Hermes installation; there is no Scarf relay or companion daemon.How should I size the client and the inference hosts?
Can a company use or redistribute Scarf with self-hosted Hermes?
When is Scarf a better fit than operating Hermes from the terminal?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy