Skip to content

About

Self-hosted workspace for coding CLIs, mobile chat and reviewed agent pipelines

Resources

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

4,125 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentPier

Your coding CLIs and personal agents, on your own machine.

Self-hosted workspace for coding CLIs (Codex, Claude Code, OpenCode) and persistent personal agents. Native terminals and chat on desktop and phone, reviewed pipelines, and agents that work as a team.

Deutsch · Docs index · Contributing · Security · License

A split view with a Claude Code terminal, a Codex session chat and an agent chat side by side

An agent chat on a phone

What you get

  • Start page: what runs and what needs you at a glance: questions, approvals and host problems first, sessions with their state, CPU and RAM, agents, the latest pipeline runs, a live system status and your tools, with filters and search for long lists (start page).
  • Native CLI sessions: real tmux-backed terminals with each CLI's own login, models and prompts, plus a chat view that shows replies while they are written, completes the CLI's own slash commands, skills and plugin commands, recovers on the phone and takes dictation, and a Changes tab to review the working tree and send comments to the agent (changes guide, slash commands, live updates, reload and resume, mobile delivery, dictation).
  • Control Room sits below Inbox and shows Autopilot orders across projects. Open a new order to discuss its brief in a regular coding session. Follow the live batch plan, answer questions in that session, and open linked pipeline runs. Each order has separate implementation and merge permissions, both off by default. See Autopilot orders.
  • Inbox: every CLI question and approval, pipeline gate and agent request that waits on you, with live counts, answered in place or in one list; Claude Code approvals offer Always allow per account and show plans before you approve them (inbox). CLI approvals can be remembered for a session or project, and read-only commands such as git status never ask (remembered approvals).
  • Quick open: ⌘K (macOS) or Ctrl+K, or the search button on a phone, finds sessions by name, project, CLI or account, projects, agents and their chats, pipeline runs and definitions, inbox items, every page and setting, and actions such as New session, Start run and Open inbox; typos still match, recent results come first, and a restricted user finds only their own agents (UI guide, screenshot).
  • Split views: show up to six sessions and agent chats side by side in a window wider than 1150 px; create a view with + in the sidebar group Views or by dragging a second item onto a session or an agent chat, split, replace, move and resize panes by drag and drop, and keep views saved on the host (views, screenshot).
  • Pipelines with review: reusable profiles, isolated Git worktrees, parallel reviewers whose verdicts are joined, bounded review loops, checks, a risk gate for sensitive paths, a token budget per run, a run queue per project with a concurrency limit and human approval, line comments on a run's changes that go back with the gate's feedback, and a finished run sent back to a chosen stage with them, plus a built-in software factory from spec to pull request (pipelines). The sidebar’s Active pipelines group lists runs awaiting your decision first.
  • Delete a project: the owner deletes a project and its folder from disk after a check that blocks on running sessions, runs and processes and warns about unsaved Git work, or removes a project whose folder is gone from AgentPier (projects page).
  • Tickets: a project's Tickets tab lists open GitHub issues and Plane work items, starts one as a session or a pipeline run, marks it "In progress" and shows it on the session or run, or starts several as a sequence that AgentPier works through one at a time, watching each pull request until it is merged, asking for fixes and, when allowed, merging it. Label rules add every ticket with a label to that sequence on their own (ticket sources).
  • Agents and teams: persistent agents organized into lasting groups, with team members staying under their lead; leads ask and delegate to their members on request, by suggestion or on their own and share their project folders, coding projects and MCP servers with them or set up routines on them that report back, named groups of permanent members that take one task in parallel and whose results the lead sums up once, members that agree among themselves and report to their lead, Agency agents as templates for agents and members, work goals that keep an agent going until the job is done, a thinking level, fast mode, loop protection and fallback models per agent (model behaviour), optional nightly dreaming that tidies each agent's memory, an optional memory wiki an OpenClaw agent keeps from its notes and you read (memory wiki), an optional semantic memory search that lets OpenClaw agents find notes by meaning with a local embedding model, nothing leaving the computer (semantic memory search), the tokens and, where the model has a price, the cost each OpenClaw agent and chat used (usage), hooks that let monitoring and other systems wake an agent, with @-mentions, Telegram, skills (bundled ones plus an owner-managed skill catalog with a scan before every install, and skills an agent learns itself where you switch that on), routines, check-ins, files in both directions, a pinboard where the agent keeps lists of files for you to read, watch and review (pinboard), interactive cards such as a meal plan to tick off or a status board (agent cards), images created through ChatGPT, hands-free talk mode that sends what you say and reads the reply aloud (talk mode), PDFs read with the agent's own model (or an optional fallback), read or read-and-write access to project folders and GitHub through your token profiles, new projects they create themselves, and coding sessions they start and steer themselves in their own worktrees, escalating questions to you and deleting their stopped sessions (agents, coding sessions).
  • Users: add family members who sign in with their own password and chat privately with their own or shared agents, locked away from shell, coding and the rest of your workspace; you read their chats only when you switch it on (users).
  • Central MCP servers: add a server once and bind it to agents and to your coding CLIs, with OAuth sign-in from AgentPier and per-agent folders for local servers; the reverse-engineering server REA installs with one click, including Ghidra, a JDK and Frida (MCP, managed REA); Craft Anything, a second analysis tool in restricted mode, installs the same way (managed Craft Anything); the Craft Anything page then lets it rebuild an app or website, also from screenshots, as a new project, with questions in your inbox, also started by your sessions and agents (Craft Anything).
  • SSH and SFTP: SSH and SFTP hosts with a pinned host key (SFTP with a password or a key) that coding CLIs and agents use, with approvals for changes and deletes, whole-folder transfers, syncs and live activity rows; coding sessions reach their hosts only with plain ssh <alias>, scp, sftp, rsync, git and tunnels through their own SSH agent, which keeps the key in AgentPier, and so do agents with shell access for their trusted hosts; agents can propose a new SSH access that you confirm after checking its host key (SSH, plain SSH, plain SSH for agents, SFTP).
  • Previews: coding sessions and agents open their dev server or SSH tunnel as a link in your browser through AgentPier, with its own port from a configurable range, reachable locally, over Tailscale and in network mode, for the signed-in owner only (previews).
  • Secrets: named secrets, such as API tokens, that you grant to agents and coding sessions as a file, never as an environment variable (secrets).
  • Email for agents: IMAP/SMTP mailboxes (Gmail with an app password, or any other) that agents check for new mail, read, search (also inside PDF and Office attachments), sort and draft in, and whose attachments they save, attach and forward; a guided Gmail setup walks you through the app password; a mail goes out only after your approval in the chat, the Inbox or Telegram, or to recipients you allowed (email).
  • Shopping for agents: agents with Use a browser and Remember information, team members and agents with their own Telegram bot included, find deals and electronics parts on Amazon and AliExpress, build carts for a project and buy with the shop accounts you signed in to, only after your yes in your own chat or a standing order you gave there. A switch per agent turns it off; agents of users never shop. The guard is the agent's instructions, not AgentPier (shopping).
  • Connections: model access (provider connections for OpenRouter, Z.ai, Azure OpenAI, local models with Ollama or llama.cpp and any compatible endpoint, and ChatGPT for agents), services for agents, MCP servers, SSH/SFTP accesses, email accounts, secrets and GitHub connections in one place, created once and granted where they are used, each with Used by (providers), plus ticket sources (Plane) for a project's Tickets tab. Native CLI accounts, skills, plugins and subagents are under CLIs and extensions (shared CLI extensions).
  • Files and knowledge: a file explorer, private artifacts, shared project memory and AgentBus between sessions (files, artifacts, memory, AgentBus).
  • Sessions and agents talk: a coding session may ask and tell your agents, and agents may write to granted sessions, within budgets you control (guide).
  • Phone-first: install as an app, push notifications, and delivery and upload recovery (notifications, mobile recovery).
  • Operations: backups, updates with Stable and Preview channels, an activity log, and a system status with disk, CPU and RAM on the start page, AgentPier's own share, a low-disk warning and cleanups for old update backups, transcripts and agent dependencies (backups, release channels, system status).

Requirements

  • macOS 14 or later (Apple Silicon or Intel), or Linux on x64 or arm64. Intel Macs are supported, but the full native agent qualification covers Apple Silicon and Linux only.
  • Node.js ^24.22.1 || >=26.12.1 (24.22.1+ or 26.12.1+; Node 22, 23 and 25 are not supported; bundled in release packages), Git, tmux and OpenSSH 8.9 or newer.
  • Optional: Tailscale for remote access, and a Chromium-based browser for the agents' browser tool (Brave or Chromium for visible agent browser windows; AgentPier can install a managed Chrome for Testing for them with one click). Private network access for all agent browsers is an explicit owner opt-in; see browser isolation.
  • At least one coding CLI or model provider. Provider accounts and their costs are your own.

Install

macOS, install script. Installs prerequisites and the login service:

(agentpier_tmp=$(mktemp -d) && trap 'rm -rf "$agentpier_tmp"' EXIT && curl --fail --show-error --location --proto '=https' --proto-redir '=https' --tlsv1.2 https://github.com/Ranger-Marketing-Vertriebs-GmbH/agent-pier/releases/latest/download/install-agentpier.sh -o "$agentpier_tmp/install.sh" && /bin/sh "$agentpier_tmp/install.sh")

macOS, Homebrew:

brew install ranger-marketing-vertriebs-gmbh/tap/agentpier-installer && agentpier-install

Both open AgentPier at http://127.0.0.1:4380. Options: installation guide.

Linux. Download the .aprelease package for your architecture from the releases and install it with sh scripts/install.sh --archive <package> --service from a checkout. See the Linux guide and the exact commands.

From source (macOS or Linux):

git clone https://github.com/Ranger-Marketing-Vertriebs-GmbH/agent-pier.git
cd agent-pier
npm ci
npm run build
npm start

First steps

  1. Open http://127.0.0.1:4380 and create the workspace user. Later visits need the login. Finish this before you share access. If you turn on network mode first, the form also asks for a one-time setup code: npm run setup-code prints it on the AgentPier computer (installation).
  2. Open the sidebar Menu (group Set up): sign in to a coding CLI under CLIs and extensions › Accounts, or add a provider connection under Connections › Model access. Missing CLIs can be installed from the overview or under CLIs and extensions › Installation. Search (⌘K or Ctrl+K) finds every session, project, run, page, agent and action, also by its old name.
  3. Choose + in the sidebar's Sessions group (on a phone, + › Session in the header), pick a CLI, an account and a project folder, and start. Next time the dialog preselects the CLI, account and folder you last started with. Without such a choice it prefers an account AgentPier manages over the Local account, which uses this computer's own CLI login and settings. The native terminal handles CLI logins and menus; the chat shows the saved conversation. While an account's sign-in session is still open, no other session of that account starts: the dialog names the sign-in session and offers Stop the sign-in session.
  4. Optional: open Agents from the Menu, choose Enable agents and create one with New agent (agents guide).

Choose German or English under Settings › General › Language. Stopping the web server leaves CLI sessions running; stop a session in the interface to end its CLI process.

Update

Installed versions update under Settings → Operations → Updates, on the Stable or Preview channel (release channels). A failed start returns to the previous version. Coding CLIs update from the overview (CLI updates); a CLI AgentPier installed cannot start sessions below its minimum version until it is updated, and a running session on an older CLI says so in its chat, with the way to update it. A source checkout updates with git pull, npm ci and npm run build (updating).

Upgrading from 1.x

  • There is no rollback to 1.x after the update, and backups made by 2.0 cannot be restored on 1.x. Take a backup before updating if you might go back.
  • Sign in again once to OAuth MCP servers used from managed Codex accounts.
  • Lead agents now ask and instruct their members without an approval prompt.
  • Settings moved: shared credentials are under Connections, CLI accounts and extensions under CLIs and extensions, the agent service under Agents › Runtime, the rest in the Settings tabs; old links still work.
  • Backups copy CLI profiles by allowlist, include histories (AgentPier's sessions, chats and AgentBus messages, and CLI histories) only encrypted with a passphrase, and restored hook scripts need chmod +x again.

Details: Upgrading from 1.x.

Guides

The docs index lists every guide.

Area Guides
Use Inbox · Views · Providers · Pipelines · Tickets · Files · Artifacts · Previews · MCP · SSH · SFTP · Email · Shopping · Secrets · Notifications
Agents Agents · Users · Workflows · Model connections · Runtime updates
Operate macOS · Linux · Remote access · Backups · Operations · System status · Sandbox
Develop Architecture · UI guide · Settings pattern · Testing · Frontend · Contributing

Data and security boundaries

AgentPier is a trusted personal workspace, not an isolation boundary between users. Its data lives in .data/ for a source checkout and in ~/Library/Application Support/AgentPier for a macOS installation. The data holds credentials, profiles, session metadata and conversations with private file permissions, but is not encrypted at rest. On macOS that includes the login of a Claude Code account with a separate profile: it is a file in the account folder, not a keychain item, so sandboxed sessions can use it (details). The login protects the web workspace; remote access explains Tailscale Serve and the network mode. Over Tailscale, the pages answer only devices signed in to your tailnet; the MCP endpoint and agent hooks also serve tagged devices. Tailscale Funnel is refused everywhere. Users you add reach only their own app and their agents' chats, never your workspace, files or settings; the operating-system user and its data stay yours.

Coding CLIs and agents run as your operating-system user. The optional nono sandbox confines CLI sessions only, not agents. An agent with shell access works with your logins, files and keys; local MCP servers run commands on the host; an agent's own Telegram bot answers the people you allow; and a lead agent's questions and tasks run on its members without approval. See SECURITY.md.

Development

npm ci
npm run check
npx playwright install chromium webkit
npm run test:e2e
AGENTPIER_TEST_BROWSER=webkit npm run test:e2e

For frontend development, run AGENTPIER_DEV=1 npm start for the backend and npm run dev in a second terminal. Vite serves on port 5173 and proxies /api and /auth to the backend on 4380; AGENTPIER_DEV=1 lets the backend accept that dev origin. In a pipeline stage with a leased port block, both follow AGENTPIER_PORT (see Ports and browser sessions).

Bug reports, documentation improvements and focused pull requests are welcome. Start with CONTRIBUTING.md, the testing guide and the frontend architecture. Report vulnerabilities privately using SECURITY.md.

License

AgentPier is licensed under Apache-2.0. Bundled AgentBus retains its MIT license. Dependencies and provider marks retain their respective notices and rights; see third-party notices.

About

Self-hosted workspace for coding CLIs, mobile chat and reviewed agent pipelines

Resources

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages