惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
博客园 - 司徒正美
D
DataBreaches.Net
宝玉的分享
宝玉的分享
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 【当耐特】
人人都是产品经理
人人都是产品经理
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
腾讯CDC
博客园_首页
The Cloudflare Blog
S
SegmentFault 最新的问题
C
Check Point Blog
美团技术团队
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - few-sh/fewshell
hexer303 · 2026-04-19 · via Hacker News: Show HN

A collaborative, self-hosted mobile+desktop SSH copilot for on-calls, devops, MLOps, AI researchers, sysadmins and self-hosting enthusiasts.

Download on the App Store Download on Google Play Download for macOS Get it on Linux Get it on Linux (ARM64)

Quick Start

tl;dr -

Using ssh on mobile is painful.

Modern AI is really good at shell commands.

But letting AI control infrastructure is dangerous.

Fewshell is an attempt to solve this without sacrificing security, privacy and safety.

It's designed around three core principles:

  1. Secure defaults: mandatory SSH and secrets management.
  2. Must be self-hosted: Eg, cloudless desktop-mobile sync.
  3. Human-first: AI will not run any command without your approval.

Fewshell demo

Why this exists

Use fewshell if you want to:

  • Have a quick way to restart, fix, update your autonomous agent (eg OpenClaw) remotely, without using the agent itself (eg: in case it fails to start back up.)
  • Start some long-running command from your desktop and then check on it while on the go.
  • Manage a self-hosted server remotely and run admin commands while on the go.
  • Run serverless infrastructure and use cloud CLI to occasionally fix things remotely via a bastion.
  • Keep track of every command you ever ran on your infrastructure, lab environment, etc through one interface.
  • Are in a team where you need to share your terminal with a collaborator (eg. two-person rule)

What fewshell is not:

It is not meant to be a coding agent or an autonomous AI assistant. There are many powerful open source and commercial agents for this. You can configure some to do the same or similar tasks as Fewshell, but it usually takes extra effort.

It is not packed with features or many customizable options. It's intended to do one thing and do it well. Constrained by-design to allow easy setup and reduce the risk of accidental misconfiguration.

Features

  • Mobile and desktop GUI clients — iOS, macOS, Linux, Android, (Windows planned)

  • Lightweight and performant - built in Flutter, low memory footprint, executes natively

  • Secret management — user and per-project secrets, stored in keychain, with per-secret LLM visibility control

  • Cross-device sync — seamless session sync between devices using your server

  • Command snippet library — reusable commands injected into LLM context

  • Session archival — full transcript of every session, useful for postmortems

  • BYOM — bring your own model — supports OpenAI, Anthropic, Google, DeepSeek, Ollama, Groq, xAI, OpenRouter, and more

  • Custom agent instructions — user and per-project system prompts with template variables

  • Push notifications for long-running commands (using our optional relay service)

Architecture overview

fewshell client app (mobile / desktop)

  • Stores secrets in system keychain
  • Optionally generates SSH keypair during setup (private key never leaves device)
  • Sends user input and command approvals
  • Displays terminal output and AI interaction

fewshell server (self-hosted)

  • Executes approved shell commands in a PTY
  • Streams command output to all connected clients
  • Keeps persistent sessions and synchronizes them across multiple authenticated clients
  • Holds secrets in memory for command use and replication across authenticated devices
  • Redacts secret values before sending context to the LLM
  • Calls the LLM API with redacted context

LLM Provider (self-hosted or third-party)

  • Receives context, command input and output (secrets redacted)
  • Requests command execution for human approval

Notification Relay (optional)

  • Sends push notifications for long-running commands (APNs)
  • Facilitates SSH public key provisioning during initial device pairing (optional)

Fewshell architecture

  1. SSH Tunnel is the only communication link between client and server.
  2. Domain socket: client connection is forwarded to the local domain socket on the host to communicate with the server. This provides additional access controls for host accounts. Eg, non-privilege users will only have access to their server instance.
  3. OS Keychain stores the secrets (API keys, passwords) on the trusted client device.
  4. SQLite is used on the client side for storage of sessions and offline support.
  5. SQLite on the server side stores and replicates the authoritative session, chat history and project data. It is replicated to the connected clients in real time.
  6. External API connection for LLM over an untrusted network (HTTPS).
  7. bash sessions are spawned by fewshell server for executing commands.

Security model

Fewshell assumes:

  • The client device is trusted
  • The server is controlled by the user
  • The LLM provider may be untrusted

Key properties:

  • Secrets are stored on the device keychain and synced to the server over SSH tunnel
  • Secrets are held in server memory — never persisted to disk on the server
  • Secrets are redacted (plaintext and base64) from chat history (LLM never sees their content)
  • The LLM cannot execute commands autonomously — every tool call requires explicit user approval

Project structure

decamp-app/ Flutter client (iOS, Android, macOS, Linux, Windows) decamp-agent/ Dart server — shell execution, sync, agent loop agent-core/ Shared client/server code — database schema, CRDT, LLM integration decamp-relay/ Rust relay microservice — push notifications, SSH key pairing llm_dart/ LLM provider library — multi-provider, streaming, tool use dartssh2/ SSH client library (fork with domain socket support) native_pty/ Native PTY bindings for Linux/macOS
Directory Description

Getting started

See the Quick Start Guide.

Status

Early-stage. Expect rough edges.

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

You can use, modify, and self-host freely. If you run a modified version and expose it over a network, you must provide the source code.

If your organization disallows the use of AGPL, please contact us for custom licensing options.