Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

agend-sh

Latest version: v2.0.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
MCP server Transport: stdio Publisher: agend-sh
0 Stars
0 Forks
2 Versions
Go Repo language

Scan summary

agend-sh was last scanned on 23 Nov 2026 at version 2.0.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 23 Nov 2026.
  • Findings: No rules fired in version 2.0.0.
  • MCP server: Runs over stdio.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.0.0 LATEST 23 Nov 2026 No rules fired
1.2.14 9 Oct 2026 No rules fired

No rules fired in 2.0.0

Findings

Findings for v2.0.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.0.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.


agend gives your agent a persistent, isolated Linux environment it can drive through MCP. It can run code, edit files, use Python REPLs and Vim, start services, and expose a preview URL. You can open a shell yourself or watch the agent's interactive terminal as it works.

Build Interact Show the work
Run commands and background tasks. Transfer files. Keep projects in your remote workspace. Drive REPLs and terminal apps through a PTY, with feedback when the terminal enters an input wait. Open a browser preview or mirror the interactive session with agend watch --env <env-id>.

Quick start

1. Install

Linux / macOS

curl -fsSL https://agend.sh/i | sh

Windows · PowerShell

irm https://agend.sh/i.ps1 | iex

Homebrew · Linux / macOS

brew install agend-sh/tap/agend

The script installers verify the release signature and archive SHA-256 checksum. The Unix installer writes to /usr/local/bin and may ask for sudo. The Windows installer writes to %LOCALAPPDATA%\agend\bin and adds it to your user PATH. Releases support amd64 and arm64 on all three platforms.

agend version
2. Sign in
agend login

Complete authentication in the browser. Creating an account with email and a password instead:

agend signup --email you@example.com

signup prompts for a password and signs you in on success. You do not need to run login again.

3. Create your workspace
agend env create --name my-workspace
agend ping --env <env-id>
agend exec --env <env-id> 'python3 --version'

Use the ID printed by env create in subsequent commands. Its size follows your account's default profile. Use agend profiles to see available sizes, quotas, and sleep policies; pass a returned profile ID with agend env create --profile <profile-id> to choose another size.

4. Connect your agent
agend config claude-code

Or configure a different client:

agend config codex cursor gemini

Restart or reload your client's MCP integration, then try this prompt:

Use agend's list_environments to find my-workspace. Start an interactive Python REPL there, calculate 6 × 7, then exit the REPL.

Your agent discovers the environment and drives it with MCP tools. An Agend account and available environment quota are required; the CLI alone does not provision a free local machine.

agend-sh is listed in the official MCP Registry as io.github.agend-sh/agend-sh. For Docker-based installation, see the container package and connection guide. Also available on Smithery. For clients that support MCPB extensions, see the bundle guide.

Interactive terminals

The terminal can report that it entered an input wait. That gives the agent process feedback while it drives a REPL or terminal app.

For example, call shell_exec with:

{
  "environment": "my-workspace",
  "command": "python3 -q",
  "interactive": true
}

A response can look like this:

status: awaiting_input
>>>
prompt_type: interactive
input_wait: true

Continue through shell_send_raw:

{
  "environment": "my-workspace",
  "input": "print('hello from agend')\n"
}
status: awaiting_input
print('hello from agend')
hello from agend
>>>
input_wait: true

Then send exit()\n through shell_send_raw to close Python.

Reading the response
Field Meaning
status: completed The command ended. Check exit_code.
status: awaiting_input The interactive process is still alive. This status alone does not prove it is waiting for input.
input_wait: true An input-wait event was observed while collecting this response: the terminal reader lacked sufficient input and entered its wait path.
input_wait: false No new event was observed in this response. It does not cancel a previous event or prove the process stopped waiting.
status: timeout A foreground command exceeded its time budget.

The input-wait signal is an event, not a persistent state query or a guarantee that an application or service is ready. It depends on support in the environment's guest stack.

For REPLs and TUIs, set interactive: true and use shell_send_raw for subsequent input. Include \n when you want Enter. Use shell_resize when the viewport changes. Quit through the app's own command, or use shell_interrupt to close the session. One interactive session can be active per environment; finish it before starting another shell_exec.

An interactive process stays alive between tool calls and is not killed when its response collection times out. After a completed tool response, disconnecting the MCP client does not itself stop the process: reconnect to the same environment to continue. Environment sleep, a crash, or a cold reset can affect its lifetime.

Watch your agent work

agend watch --env <env-id>

Watch mirrors the specified environment's interactive session, replays retained output, and follows new updates. It sends no input to the remote process. Press q or Ctrl+C to stop watching; the agent's session continues.

For a screen recording:

agend watch --env <env-id> --typing-delay 40ms

Match your terminal's size to the remote session for an accurate display. Watch follows output collected by the agent's tool calls; it does not poll the guest for output between those calls. It shows interactive sessions, not ordinary command output or background-task logs.

Want to work in the environment yourself?

agend connect --env <env-id>

This opens a live terminal with keyboard input and terminal resizing. Run exit to close the shell. It requires a terminal on stdin and uses the same single interactive-session slot as MCP, so close the agent's interactive app first.

Share a browser preview

Have your agent start a service using shell_exec:

{
  "environment": "my-workspace",
  "command": "python3 -m http.server 8080 --bind 0.0.0.0 --directory /home/agend-user/readme-demo",
  "run_in_background": true
}

Create /home/agend-user/readme-demo and put your demo files there first. Bind the service to 0.0.0.0 so the tunnel can reach it.

Then call port_expose:

{
  "environment": "my-workspace",
  "port": 8080
}

The response contains a public HTTPS URL. Allow time for the tunnel and DNS to become reachable. port_list shows active exposures; port_unexpose removes one. Exposing a port makes that service reachable from the internet.

For your own Cloudflare-managed domain, register its zone with agend domain add example.com, then pass domain: "app.example.com" to port_expose. Registration prompts for a Cloudflare API token with Zone:DNS:Edit, Zone:Zone:Read, and Account:Cloudflare Tunnel:Edit permissions; scripts can supply it through AGEND_CF_TOKEN. agend domain list returns the domain IDs used by agend domain remove <domain-id>.

Connect your agent

agend config detects supported clients installed on your machine. Preview its choices before writing:

agend config --dry-run
agend config

You can also select clients explicitly:

Client Command
Claude Code agend config claude-code
Claude Desktop agend config claude-desktop
Codex agend config codex
Cursor / Windsurf agend config cursor windsurf
Gemini CLI / Antigravity agend config gemini antigravity
VS Code / Zed / JetBrains agend config vscode zed jetbrains
Cline / Roo Code agend config cline roo-code
OpenCode / GitHub Copilot CLI agend config opencode github-copilot-cli
Amazon Q / Goose / Continue agend config amazon-q goose continue

Configuration registers agend mcp as a local stdio server. The client must be able to find the installed binary; on Windows, the config writer uses its absolute path. Client-specific config paths and formats are handled by agend config.

For clients that use the mcpServers JSON format:

{
  "mcpServers": {
    "agend": {
      "command": "agend",
      "args": ["mcp"]
    }
  }
}

Use the absolute binary path if the client does not inherit your shell's PATH. This is a generic example; some clients use a different schema. agend mcp reads JSON-RPC from stdin and writes protocol responses to stdout; logs go to stderr. Tool results are MCP text content, including fields such as status and input_wait.

MCP tools

The CLI exposes 23 tools. Call list_environments to discover IDs and names. Environment-specific tools require an environment argument and accept either an ID or a name. env_create, list_environments, profiles_list, and reload_config do not need one.

Area Tool What it does
Environments list_environments Discover environments, names, descriptions, state, and tier.
profiles_list Show available sizes, quotas, and usage.
env_create Create an environment; optional name, description, and profile.
env_update Edit or clear an environment name and description.
env_status Inspect state and metadata without waking the environment.
env_wake Wake a sleeping environment.
env_cold_reset Last-resort recovery for a stuck environment; requires a diagnostic reason.
Shell shell_exec Run a command with a timeout, head/tail truncation, interactive mode, or background mode.
shell_send_raw Send bytes to an interactive app; no newline is appended.
shell_provide_input Answer a simple prompt in an active terminal session; appends a newline. Use shell_send_raw for REPLs and TUIs.
shell_resize Resize the active PTY.
shell_interrupt Interrupt a command or close the interactive session.
shell_task_output Read a background task's output and status.
shell_task_stop Stop a background task.
Files file_write Atomically write text to a remote file.
file_upload Transfer a local file to the environment.
file_download Transfer a remote file to the local machine.
file_move Move or rename a remote file.
Networking port_expose Expose a service through a public HTTPS tunnel.
port_list List exposed ports and URLs.
port_unexpose Remove an exposure; optionally target one domain.
Diagnostics env_stats Inspect disk, memory, CPU, and processes.
reload_config Reload credentials after changes in another terminal and reset connections.

interactive and run_in_background are mutually exclusive. Background execution returns a task_id for the task tools.

Local paths in file_upload and file_download are confined to the directory where the MCP server starts, or to the narrower directory in AGEND_LOCAL_ROOT. The server pins that directory and performs descriptor/handle-rooted opens, so symlink and path-swap races cannot escape it. If the implicit directory would be your home directory or a filesystem root, startup fails closed for local file tools until you set an explicit AGEND_LOCAL_ROOT.

Set AGEND_LOCAL_ACCESS=read-only to allow local reads for file_upload while disabling local writes by file_download. The default is confined. AGEND_LOCAL_ACCESS=unrestricted is an explicit escape hatch that permits both tools to access any path available to your user; the server emits a warning when it is enabled. Downloads are staged and checksum-verified before an atomic rename, so an interrupted or corrupt transfer does not replace the destination.

Downloads return transfer metadata; read text with shell_exec or open the downloaded local file. For large files, downloading directly inside the remote environment with curl or wget is usually faster.

CLI reference

Commands that act on an environment require its ID. Pass --env <env-id> to shell, file, and task commands. Lifecycle commands such as agend env status <env-id> take the ID as an argument. MCP tools also accept environment names.

agend env list
agend exec --env <env-id> 'pwd'
Environments and accounts

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.agend-sh/agend-sh

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229