explaingit

maxpaperclips/paperclip-adapter

Analysis updated 2026-06-24

27TypeScriptAudience · developerComplexity · 3/5Setup · moderate

TLDR

TypeScript glue code that lets a Paperclip company hire Hermes Agent as a worker, spawning its CLI per task and parsing the output into structured tool cards.

Mindmap

mindmap
  root((Paperclip-Adapter))
    Inputs
      Task instructions from Paperclip
      Issue comments
      Adapter config
    Outputs
      Markdown transcripts
      Tool call cards
      Session state
    Use Cases
      Run Hermes as AI employee
      Resume sessions across heartbeats
      Multi-provider model routing
    Tech Stack
      TypeScript
      Node
      Hermes CLI
      npm
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Wire Hermes Agent into a Paperclip company as a managed worker

USE CASE 2

Run AI agents across 8 providers like Anthropic OpenAI OpenRouter from one adapter

USE CASE 3

Capture Hermes CLI output as structured tool cards in a UI

What is it built with?

TypeScriptNodenpmPython

How does it compare?

maxpaperclips/paperclip-adapter5bv57zcm44-max/noxus-ai-open-whatsappjavlonbek1233/amali-ish-9
Stars272727
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderatemoderate
Complexity3/54/52/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs Hermes Agent installed via pip plus an LLM API key before the adapter does anything useful.

In plain English

This project is a small piece of glue code that connects two separate AI tools together. The first tool is called Paperclip, which is a system for running AI workers as if they were employees inside a make-believe company. The second tool is Hermes Agent, an AI agent built by a group called Nous Research. Hermes Agent comes with more than thirty built-in tools (such as terminal access, file editing, web browsing, and image vision), a memory that carries over between sessions, and the ability to load extra skills from a folder on the user's machine. The adapter, written in TypeScript, lets a Paperclip company hire a Hermes Agent and assign it work. When a task is created in Paperclip and given to the Hermes worker, the adapter starts up the Hermes command-line program in single-query mode, hands it the task instructions, and waits for it to finish. The README says the adapter supports eight inference providers, including Anthropic, OpenAI, OpenRouter, and several others, so the user can pick which model the agent runs on. A chunk of the work the adapter does is cleaning up the output. Hermes prints results with ASCII banners, setext headings, and plain-text table borders, and the adapter rewrites all of that into standard markdown so it looks right inside Paperclip's interface. It also parses the raw output into typed entries, so each tool call shows up as its own card with a status icon. Routine startup messages that would otherwise look like errors get reclassified as benign. There are a few quality-of-life touches. The agent can wake up to respond to comments on issues, not only to fresh task assignments. It reads the user's Hermes config file to fill in the model name automatically. Sessions can be resumed across heartbeats, and there is an optional checkpoint mode for rolling back filesystem changes. Installation is a normal npm package, with Hermes itself installed separately through pip, plus at least one API key for the chosen model provider. To register the adapter, the user adds a short import block to their Paperclip server's adapter registry, then creates an agent in the Paperclip UI with the adapter type set to hermes_local. The README also lists configuration fields for timeouts, enabled toolsets, prompt templates, and similar settings.

Copy-paste prompts

Prompt 1
Write a registry.ts entry that loads hermes-paperclip-adapter with execute, testEnvironment, and sessionCodec hooks
Prompt 2
Build a promptTemplate for Paperclip-Adapter that branches on commentId vs taskId using the mustache style tags
Prompt 3
Show me how to enable checkpoints and worktreeMode for a Hermes agent created via the Paperclip API
Prompt 4
Parse Hermes stdout into TranscriptEntry objects matching the adapter format, with status icons per tool call

Frequently asked questions

What is paperclip-adapter?

TypeScript glue code that lets a Paperclip company hire Hermes Agent as a worker, spawning its CLI per task and parsing the output into structured tool cards.

What language is paperclip-adapter written in?

Mainly TypeScript. The stack also includes TypeScript, Node, npm.

How hard is paperclip-adapter to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is paperclip-adapter for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.