SuperAPIAI Directory

pinrail

github.com · AI coding

Pinrail is a desktop application for coding agents that runs and tracks agent work items and brings issues requiring human intervention, permission requests, and reviews together into a single inbox. It supports any agent that can execute commands, and can also launch and resume Claude Code, Codex, OpenCode, Copilot CLI, Cursor, Grok CLI, Pi, and Antigravity CLI, and displays their status. The application runs on macOS, Linux, and Windows and is currently in early development. Pinrail can launch, observe, type into, message, stop, and resume agents; each session shows whether the agent is working, needs you, or has finished its turn, and includes threads for questions, reviews, status, and notes. Users and agents share work items with sub-items and dependencies, and agents claim the next ready item. Reviews are presented by plugin; for example, code review shows the diff and the agent's findings, image review lets you draw boxes on the image over the parts that need changes, and results are returned as Markdown or JSON. Data is stored locally, the API listens only on the loopback address, and anonymous usage data and crash reports can be turned off.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

Pinrail is a desktop application for collaborating with coding agents, with a core focus on "human in the loop" within agent workflows. It runs agents, tracks their work items, and gathers everything that needs the user's attention (questions, permissions, reviews) into a single inbox.

Purpose and positioning: Pinrail is aimed at developers who use coding agents, helping users intervene, review, and make decisions promptly while agents carry out tasks, rather than switching between multiple terminals and tools.

Key capabilities:

  • Running agents: Agents can be launched from Pinrail, their terminal viewed and typed into, messages sent to agents, and agents stopped and resumed. Agents keep running after you quit the application unless you choose to stop them.
  • Compatibility: Works with any agent that can execute commands; it can also launch and resume Claude Code, Codex, OpenCode, Copilot CLI, Cursor, Grok CLI, Pi, and Antigravity CLI, and displays their status.
  • Status and sessions: Each session shows whether the agent is working, needs the user, or has finished its turn, and includes threads for the agent's questions, reviews, status, and notes.
  • Work item tracking: Users and agents share work items, which can contain sub-items and dependencies; agents claim the next ready item, and users can also launch an agent from the work items panel to handle that item.
  • Unified inbox: Questions, reviews, and agents waiting for permission or an answer are shown first, followed by agent updates.
  • Review views: Each type of review is defined by a plugin, including the payload sent by the agent, the decision returned by the user, and the view used to make the decision. Code review shows the diff and the agent's findings; generated image review shows the image, and users can draw boxes over the parts that need changes. The agent receives what the user accepted, rejected, and noted, in a format that is executable Markdown or JSON for use by scripts.
  • Local data: The application API is served only on the loopback address, and sessions, work items, and reviews are stored locally; anonymous usage data and crash reports are sent but can be turned off.

How to use: Install the application from the download page or the latest release (the macOS version is signed and notarized). On first opening the welcome screen, click "Set up Pinrail"; the application installs the pinrail command, connects to agents discovered on the computer, and installs recommended plugins. You can start your first session from the last step of setup, or have an agent submit through Pinrail in your own terminal.Ask, for example, which TODOs in the repository should be handled first, or have the agent look at the project and suggest at which steps it should ask the user via Pinrail beforehand.

Review flow: when the agent reaches a step that requires user involvement, it runs the pinrail command with review information (plugin, title, and JSON payload). Pinrail notifies the user, and reviews wait in the inbox grouped by project. The user opens the review and makes decisions in the plugin view, for example, in a code review, accepting or rejecting the agent's findings one by one and writing notes. After submission, the command prints the decision and exits, and the agent continues. The command exit code indicates the review result: decided, discarded with a stop instruction, withdrawn, or expired. When the user requests changes, the agent submits a new round, and the app displays the previous rulings alongside it.

Plugins: each type of review is a plugin, containing a manifest, two JSON schemas, and an HTML view, with no build step required. You can create a plugin with pinrail plugins new <name>; the plugin SDK pinrail-sdk can run views in the browser and test them with Playwright; views can also be built with frameworks such as React, Vue, and Svelte. The app ships with five core plugins, and the example plugin repository showcases HTML pages, email, calendars, badges, color palettes, 3D models, animations, audio, video, design canvases, before-and-after comparisons, and transactions, all released as zips and installable in Settings › Plugins.

Use cases: agent workflows that require human review of code changes, image generation results, or other outputs; developers who need to centrally manage multiple coding agent sessions and to-dos.

Limitations and notes: Pinrail is in early development and may have rough edges, with changes between versions. The materials do not provide specific pricing, performance metrics, or effectiveness data. The project is licensed under the Apache License 2.0.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools