Agentsh is live · free plan; paid plans on request · last verified 28 Nov 2026 · viability healthy

Agentsh

Agentsh

agentsh enforces syscall-level policy for AI coding agents — file, network, and process control that holds no matter the prompt.

81/100Safe BetFree plan · paid plans on requestFreemium

If your agent has write access and a network connection, prompt-level guardrails are theater. agentsh enforces at the layer where intent becomes reality, and the `wrap` command is a five-minute test drive. The tradeoff is honest: YAML policies, kernel-dependent coverage, and no polished console unless you buy the Enterprise tier.

Verdict generated

Verified 5d ago · liveness 81/100 · cite: rightaichoice.com/tools/agentsh

Best for
  • Security engineers who need runtime policy enforcement that survives prompt injection and jailbreaks
  • Developers running autonomous coding agents in CI or on shared dev hosts with write and network access
  • Teams on sandbox platforms (E2B, Vercel, Modal, Daytona, Sprites) who want governance inside the sandbox
  • Organizations that need audit-grade JSON logs proving what an agent actually did
Not ideal for
  • Teams that need a hosted control plane, SSO, or a central dashboard out of the box
  • Non-technical builders who want a point-and-click agent security UI
  • Environments where you can't verify the kernel — protection dips to Landlock-only or lower
Visit Website

Not deciding today? Get one email if Agentsh changes its price or its website goes down. Free.


IntermediateSingle developer wrapping one agent locally: under a minute if you just run `agentsh wrap --root . --policy agent-default -- claude` with the default policy. Teams wiring agentsh into CI or container images: half a day to a day — install via Homebrew/.deb/.rpm/Arch/Alpine, decide the security mode with `agentsh detect`, write the first real YAML policy, and route JSON events to your log stack.CLINo public APIVerified 5d ago
Pricing
Free plan · paid plans on request
FreemiumFree tier2 plans4 hidden costs
Learning curve
Intermediate
Single developer wrapping one agent locally: under a minute if you just run `agentsh wrap --root . --policy agent-default -- claude` with the default policy. Teams wiring agentsh into CI or container images: half a day to a day — install via Homebrew/.deb/.rpm/Arch/Alpine, decide the security mode with `agentsh detect`, write the first real YAML policy, and route JSON events to your log stack.
Runs on
CLI
No public API · 15 integrations
Who it's for
Platform engineer at a 40-person startup running Claude Code and Cursor agents in CISecurity engineer standardizing agent governance across E2B and Vercel sandboxesIncident responder investigating an agent that deleted a workspace
Live sentiment
Is Agentsh actually worth it?

We scan public community discussion about Agentsh and hand you an honest verdict, or say plainly when we cannot tie the posts to this tool.

  • Honest verdict, not marketing
  • Real pros & cons from real users
  • Attributed quotes with receipts
Run a free scan

Free scans included · no card needed

Skip it if

Skip agentsh if you need a hosted control plane with a dashboard, SSO, and point-and-click policy editing rather than self-hosted YAML policies and JSON audit events.

Skip-it-if note generated
The 30-second take
Biggest gripe

There's no license fee, but the real cost is engineer time: writing YAML policies, choosing a security mode, and wiring JSON audit events into your own logging stack is on you.

Price reality

agentsh is Apache 2.0 and free to self-host — you pay in engineering hours rather than licence fees. That places it well below commercial agent-security and sandbox-governance platforms, and roughly on par with rolling your own seccomp/Landlock policy layer, but with the policy engine and audit-event plumbing already built. The tradeoff: no hosted control plane, no support contract, and no SLAs.

Generated

In short

Agentsh — agentsh enforces syscall-level policy for AI coding agents — file, network, and process control that holds no matter the prompt. Best for Security engineers who need runtime policy enforcement that survives prompt injection and jailbreaks, Developers running autonomous coding agents in CI or on shared dev hosts with write and network access, Teams on sandbox platforms (E2B, Vercel, Modal, Daytona, Sprites) who want governance inside the sandbox. Free to start; it also has paid plans whose price we could not confirm — see the pricing table.

Claim this listing

What is Agentsh?

Agentsh — agentsh enforces syscall-level policy for AI coding agents — file, network, and process control that holds no matter the prompt. Best for Security engineers who need runtime policy enforcement that survives prompt injection and jailbreaks, Developers running autonomous coding agents in CI or on shared dev hosts with write and network access, Teams on sandbox platforms (E2B, Vercel, Modal, Daytona, Sprites) who want governance inside the sandbox. Free to start; it also has paid plans whose price we could not confirm — see the pricing table.

FreemiumIntermediateNo APICLI

agentsh ("agent shell") is an Apache 2.0, open-source execution gateway for anyone running AI coding agents with real file, socket, and shell access. It installs underneath the agent or harness and intercepts activity at the system-call boundary — files opening, sockets connecting, processes spawning — then applies a deterministic verdict: allow, deny, approve, redirect, audit, or soft_delete. The premise is blunt: models are probabilistic, so execution shouldn't be. Getting started is a single line. Run `agentsh wrap --root . --policy agent-default -- claude` and every command the agent spawns is policy-checked automatically. Because harnesses like Claude Code, Cursor, and OpenAI Codex CLI ship built-in file and network tools that never touch bash, wrapping the whole harness is what catches those — one run, one complete audit trail. Inside containers, a shell shim swaps /bin/bash and /bin/sh so the agent never realizes it's governed. Around the gateway sit an LLM proxy with DLP redaction for scrubbing PII, a Postgres-family database proxy that applies connection and statement policy, and checkpoints that snapshot the workspace so a destructive run can be rolled back. Every operation emits structured JSON audit events you can route to external logging or a SIEM, and an `agentsh detect` protection score (0-100) reports which Linux primitives — seccomp, eBPF, FUSE, Landlock — are actually available, weighted by domain. It complements rather than replaces sandbox platforms: pair it with E2B, Vercel, Modal, Daytona, or Cloudflare, where the sandbox limits where damage can land and agentsh decides what the agent may do once inside. Version 0.20.5 ships via Homebrew, .deb, .rpm, Arch, and Alpine/musl packages for amd64 and arm64, plus npm and pip SDKs for Vercel, E2B, Daytona, Sprites, Runloop, exe.dev, and Freestyle. Hosted agent-firewall SaaS gives you a dashboard and SSO; agentsh gives you the enforcement primitives and the raw event stream, and expects you to

Key features

  • Syscall-level policy enforcement for file, network, and process activity
  • Six deterministic decisions: allow, deny, approve, redirect, audit, soft_delete
  • Harness wrapping via agentsh wrap for Claude Code, Cursor, Codex CLI, Aider
  • Full harness governance catching built-in file and network tools, not just shell
  • Container shell shim that replaces /bin/bash and /bin/sh transparently
  • Structured JSON audit events routable to external logging and SIEM
  • Subprocess tree visibility into pip installs, npm scripts, and makefiles
  • Approval gates that pause risky operations for human or CI confirmation
  • LLM proxy that intercepts API requests and tracks token usage
  • DLP redaction of PII from prompts or responses
  • Postgres-family database proxy enforcing connection and statement policy
  • Checkpoints that snapshot workspace state and roll back destructive runs
  • Redirect and soft_delete actions that swap to a safe alternative or quarantine
  • agentsh detect protection scoring (0-100) across seccomp, eBPF, FUSE, Landlock
  • npm @agentsh/secure-sandbox and pip agentsh-secure-sandbox SDKs

Behind the verdict

We'd reach for agentsh the moment an autonomous coding agent gets both write access and network reach on a host you care about. The failure modes it targets are real and boring: a pip install that pulls a shell script, a curl to an endpoint it shouldn't touch, a file edit nobody asked for. Wrapping the harness rather than just bash is the detail that matters — Claude Code and Cursor do plenty of damage through built-in tools that never spawn a shell. The approval-gate and checkpoint combo is where it earns its keep in CI. Risky operations pause for a human or a CI policy to confirm, and a destructive run can be rolled back from a snapshot. Add the JSON audit stream and you have the artifact a security reviewer will actually ask for after an incident, not a chat log. Where it bites: coverage depends on the kernel. `agentsh detect` will tell you your score honestly, and on minimal kernels or Landlock-only setups that number drops. You're also writing YAML policies and wiring your own SIEM — there's no central dashboard in the open-source build. Plan for an afternoon of policy tuning before the defaults stop being annoying. Pick this over a hosted agent-firewall SaaS if you want primitives and the raw event stream and already have ops people. Pick it over a plain sandbox if the sandbox is doing the isolating but nobody's deciding what's allowed inside. If you need SSO, a control plane, and a point-and-click console out of the box, the Enterprise tier is the conversation — otherwise look at hosted firewall products. One caveat to internalize: the AGENTS.md instruction route is advisory and bypassable. It's a fallback for when you can't wrap the agent, not a security control. Don't treat it as one.

Limitations

  • Requires command-line expertise: policies are defined in YAML and audit events are consumed as structured JSON.
  • There is no managed cloud console or graphical dashboard — you self-host, define your own policies, and monitor output yourself.
  • Kernel-dependent security modes mean protection varies by platform: full seccomp + eBPF + FUSE features need a recent Linux kernel, Landlock network restrictions need kernel 6.7+ / Landlock ABI v4, and macOS, Windows, and older kernels fall back to weaker modes (Landlock-only ~80%, minimal ~50%).
  • Subprocess blind spot detection only governs code that actually runs under agentsh — an agent invoked outside `agentsh wrap` or the shell shim is not intercepted.
  • The AGENTS.md/CLAUDE.md instruction path is explicitly advisory and bypassable; the vendor says to use it only when you can't run the agent under agentsh.
  • The sandbox SDKs (npm, pip) shim agentsh into E2B, Vercel, Modal, and similar platforms but do not replace those platforms' isolation — you still need them for containment.

as of 2026-10-09

Researching Agentsh? Get your full AI stack in 60 seconds.

Free, no signup — tell us your goal and get tools matched to your budget & existing stack.

Is Agentsh still active?

Agentsh is live · free plan; paid plans on request · last verified 28 Nov 2026 · viability healthy.

Viability score

81/100
Safe Bet

How well maintained and how widely used is Agentsh? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this

Recent activity
not measured
Traction
100
Site health
95
User sentiment
62
What the vendor publishes
60

Last calculated: December 2026

How we score →

What do users say about Agentsh?

What people actually say about Agentsh — is it worth it?

We ran a structured research pass across product reviews, community discussions, and post-purchase forum threads to surface the patterns vendors won't publish themselves. Below: the recurring strengths, the hidden costs people mention most, and the cohort that consistently regrets adopting this tool.

Researched

Discussed by users across 5 sources (Hacker News, YouTube, Bluesky, GitHub, Lemmy) · researched Nov 16, 2026.

56% positive44% critical

Weighted by the 19 posts each of 5 sources contributed.

Recurring strengths
  • +Syscall-boundary enforcement holds regardless of what the model or prompt does
  • +Harness wrapping catches built-in file and network tools, not just shell commands
  • +Apache 2.0 license with Homebrew, deb, rpm, and npm/pip SDKs lowers adoption friction
  • +Structured JSON audit events route cleanly to SIEM and external logging
  • +Six deterministic verdicts (allow, deny, approve, redirect, audit, soft_delete) cover real scenarios
Recurring frustrations
  • −Thin community data — no Reddit, Stack Overflow, or Product Hunt validation yet
  • −Requires a security-engineer mindset; policy authoring is not beginner-friendly
  • −Effectiveness depends on kernel primitives that vary across environments
  • −Not a sandbox — containment still needs a separate platform like E2B or Modal
  • −Approval gates and audit pipelines add operational overhead for small teams
Patterns worth knowing
Prompt-level guardrails are insufficient; execution must be deterministic
Seen on Hacker News, Bluesky
Syscall-level enforcement catches what prompt instructions and tool blocking miss
Seen on Hacker News, Bluesky
High-profile agent incidents (DB deletion, Copy Fail, ClawHub malware) prove the need
Seen on Hacker News, Bluesky, Lemmy
Learning curve
intermediateProductive in ~A few hours
Hidden costs people mention
  • • Engineering time to author policies and maintain approval gates
  • • SIEM or logging infrastructure to ingest audit events at scale
  • • Sandbox platform costs (E2B, Modal, Daytona) if you need actual containment
  • • Potential performance overhead from syscall interception in high-throughput workloads

How we verified this

Every listed fact about Agentsh — pricing, features, links, status — is re-read from the vendor's own pages by our verification pipeline and each change is logged with a date; the last pass ran on 28 Nov 2026. Analysis is drafted with AI models and checked against our editorial standards before publishing; see how we verify.

Verification history

We have re-verified Agentsh 14 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.

  1. — changed domain expiry
  2. — changed SSL certificate
  3. — changed integrations, features, pricing tiers, who it suits, summary, pricing model, who should skip it, description, our verdict
  4. — changed features, who should skip it, pricing tiers, our verdict, who it suits, summary, description
  5. — changed our verdict, summary, features, integrations, limitations, description, who should skip it, switching in, switching out, pricing fit, hidden costs, setup time
  6. — changed features, who it suits, pricing tiers, our verdict, description, summary, who should skip it

Showing the 6 most recent of 14 verification passes.

Free to cite with attribution — this page re-verifies continuously.

Claim this listing

How much does Agentsh cost in 2026?

Agentsh: Free to start; it also has paid plans whose price we could not confirm — see the pricing table. Pricing last verified 28 Nov 2026.

Plans compared

Every published Agentsh tier, its price as the vendor publishes it, who it fits, and what it adds over the tier below. The 12-month cost projection follows.

Agentsh pricing plans compared
PlanPriceBillingWho it's for
Open SourceFree—Engineering and security teams running autonomous coding agents in production who are comfortable self-hosting and writing YAML policies.Adds: Starting tier and only tier: Apache 2.0, $0/mo, self-hosted, no managed control plane or support contract.
EnterpriseCustomquote—

12-month cost

Project the real annual outlay, including the implied monthly cost when only an annual tier is published.

Annual total
Free
Over 12 months
Effective monthly
—
—

Prices as the vendor publishes them, including any current offer. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.

Hidden costs & gotchas

What the public pricing page doesn't put in bold, drawn from the vendor's own pricing page, terms and help pages.

  • There's no license fee, but the real cost is engineer time: writing YAML policies, choosing a security mode, and wiring JSON audit events into your own logging stack is on you.
  • Protection silently degrades with the host: on macOS, Windows, or older Linux kernels you fall into landlock-only (~80%) or minimal (~50%) mode, so the score you saw in staging may not match production.
  • Network restrictions under Landlock need kernel 6.7+ (ABI v4) — upgrading or re-basing container hosts to reach that mode is work the licence doesn't cover.
  • Running under `agentsh wrap` adds a policy-check layer to every shell command, which is a real per-command overhead you'll feel on chatty npm/make pipelines.

Where the pricing makes sense

The company stage and team size where Agentsh's pricing actually pencils out — and where peers do it cheaper.

agentsh is Apache 2.0 and free to self-host — you pay in engineering hours rather than licence fees. That places it well below commercial agent-security and sandbox-governance platforms, and roughly on par with rolling your own seccomp/Landlock policy layer, but with the policy engine and audit-event plumbing already built. The tradeoff: no hosted control plane, no support contract, and no SLAs.

Hidden-cost and price-fit notes generated

Has Agentsh's pricing changed?

No plan price for Agentsh has moved since we began tracking it in Aug 2026; the pricing page is re-read on every verification pass.

Who should pick Agentsh?

Pick Agentsh if you are Security engineers who need runtime policy enforcement that survives prompt injection and jailbreaks, Developers running autonomous coding agents in CI or on shared dev hosts with write and network access, Teams on sandbox platforms (E2B, Vercel, Modal, Daytona, Sprites) who want governance inside the sandbox, Organizations that need audit-grade JSON logs proving what an agent actually did.

Look elsewhere if you are Teams that need a hosted control plane, SSO, or a central dashboard out of the box, Non-technical builders who want a point-and-click agent security UI, Environments where you can't verify the kernel — protection dips to Landlock-only or lower, Projects that only need prompt filtering or content moderation.

Skip it if Skip agentsh if you need a hosted control plane with a dashboard, SSO, and point-and-click policy editing rather than self-hosted YAML policies and JSON audit events.

Generated

Real-world workflow fit

Concrete scenarios for the personas Agentsh actually fits — and what changes day-one when you adopt it.

Platform engineer at a 40-person startup running Claude Code and Cursor agents in CI

Wrap the agents with `agentsh wrap --root . --policy agent-default -- claude` in the CI job, route JSON audit events to the existing log stack, and add an approve rule on writes outside the workspace directory.

Outcome: Destructive writes pause for CI-side confirmation, every subprocess (npm ci, make test) lands in the audit log, and reviewers can replay exactly what an agent did during a failed build.

Security engineer standardizing agent governance across E2B and Vercel sandboxes

Install the shell shim into the container image so /bin/bash and /bin/sh route through agentsh, then use the Postgres proxy and LLM DLP proxy to cover database calls and prompt traffic.

Outcome: Both sandbox vendors get the same policy decisions inside the container, secret reads from .env and mounted credentials are denied by default, and PII is redacted before prompts leave the network.

Incident responder investigating an agent that deleted a workspace

Run `agentsh detect` to confirm the host was in full vs. degraded mode, then pull the structured JSON events for the session to reconstruct which file and process operations were allowed, denied, or soft-deleted.

Outcome: A concrete timeline of syscall-level decisions replaces guesswork, and any soft_delete'd files can be restored from quarantine checkpoints.

Workflow scenarios generated

Use cases

  • Stop an AI coding agent from deleting critical workspace files even when a jailbreak or injected tool output tries to steer it.
  • Automatically approve read-only file operations while pausing destructive writes for human or CI confirmation.
  • Log every subprocess an agent spawns (npm install, pip, make) as structured events for security audit.
  • Steer rm -rf and other destructive commands to a quarantine directory with restore instead of executing them.
  • Block an agent from reading environment variables, .env files, or mounted credentials containing API keys.
  • Redact PII from prompts and responses with the built-in LLM proxy and DLP before they leave your network.
  • Enforce connection and statement policy on agent-triggered Postgres activity via the database proxy.
  • Add governance inside containers running agents on E2B, Vercel, Modal, or Cloudflare sandboxes via the shim.

Setup time & first value

How long it actually takes to get something useful out of Agentsh — broken out by persona, not the marketing-page minute.

Single developer wrapping one agent locally: under a minute if you just run `agentsh wrap --root . --policy agent-default -- claude` with the default policy. Teams wiring agentsh into CI or container images: half a day to a day — install via Homebrew/.deb/.rpm/Arch/Alpine, decide the security mode with `agentsh detect`, write the first real YAML policy, and route JSON events to your log stack.

Switching to or from Agentsh

How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.

Migrating in
  • →From prompt-only guardrails (system prompts, AGENTS.md instructions): install agentsh, run your agent under `agentsh wrap`, and let policy decisions replace 'please don't do that' instructions — the AGENTS.md path is
  • →From plain container isolation (no runtime policy): add the agentsh shell shim to the image so /bin/bash and /bin/sh route through policy inside the container.
  • →From homegrown seccomp/Landlock wrappers: replace the hand-rolled layer with `agentsh wrap --policy agent-default` and import existing rules into the YAML policy format.
Migrating out
  • ↗To a commercial agent-security platform with a hosted console: if you need SSO, dashboards, and vendor support, there is no agentsh-managed equivalent — you'd move to a SaaS control plane and accept its opinionated
  • ↗To sandbox platforms alone (E2B, Vercel, Modal): if you only need containment rather than per-operation governance, drop agentsh and rely on the sandbox's own isolation.

Integrations

E2BSpritesDaytonaBlaxelVercelModalCloudflareDenoRunloopFreestyleTensorlakeClaude CodeCursorOpenAI Codex CLIAider

Tutorials & Learning

YouTube returned 6 videos for “Agentsh”, and we withheld 6: 6 could not be judged, because “Agentsh” is a single word that other videos use for other things. We are showing none, because we could not prove any of them are about Agentsh.

What are the best Agentsh alternatives?

The closest alternatives to Agentsh we list are Aembit, Mcp Gateway and Holistic AI. Ranked by direct product-type match, not category overlap.

Closest alternatives to Agentsh
AlternativePricingStarts atLast verified
AembitFreemium$20/agent/mo27 Nov 2026
Mcp GatewayContact SalesCustom pricing29 Nov 2026
Holistic AIContact SalesCustom pricing28 Nov 2026

Alternatives to Agentsh

View all
Aembit

Aembit

Aembit brokers short-lived, policy-scoped credentials for AI agents and MCP servers through an identity control plane.

FreemiumTry
Mcp Gateway

Mcp Gateway

Enterprise AI security platform that discovers agents and MCP servers, red-teams them, and enforces policy inline at the gateway.

Contact SalesTry
Holistic AI

Holistic AI

AI governance platform that discovers shadow AI, tests models and agents, and enforces policy at runtime with Guardian Agents.

Contact SalesTry

Agentsh vs its closest rival

Agentsh's closest head-to-head is with Push Security.

Our Agentsh vs Push Security verdict written Jul 6, 2026 is more than 90 days old, so it is being re-reviewed against current data and is not shown.

Frequently asked questions

For makers of Agentsh

Used Agentsh? Help shape our editorial sentiment research.