🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

agentsummons

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agentsummons

Invokes agent harnesses (Antigravity CLI, Claude Code, Codex CLI) headlessly. Node wrapper around the agentsummons Go CLI.

latest
Source
npmnpm
Version
0.3.1
Version published
Maintainers
1
Created
Source

agentsummons

Node wrapper around agentsummons, a Go library + CLI that invokes agent harnesses (Antigravity CLI, Claude Code, Codex CLI) headlessly: it owns the per-harness flag knowledge so scripts and experiments don't have to rediscover it.

Installing this package delivers the real Go binary for your platform via an optional dependency (no install scripts), plus a thin JS API.

Windows x64 is temporarily unavailable on npm (a registry naming issue is being worked out with npm support); use the PyPI package or a release binary with AGENTSUMMONS_BINARY in the meantime. Windows arm64 is unaffected.

CLI

npx agentsummons run --harness claude-code -p "Summarize this repo" \
  --allowed-tools Read,Grep,Glob --auto-approve

Identical to the Go CLI — see the project README for the full surface (run, build, info, doctor).

API

const agentsummons = require("agentsummons");

const res = await agentsummons.run({
  harness: "claude-code",
  prompt: "Summarize this repo",
  workdir: dir,
  allowedTools: ["Read", "Grep", "Glob"],
  autoApprove: true,
  timeoutMs: 300_000,
});
// res is the CLI's `run --json` envelope, snake_case keys and all:
// res.exit_code, res.stdout, res.timed_out, res.session_id, ...

A nonzero harness exit is data (res.exit_code), not a rejection; a timeout resolves with timed_out: true and the partial output. Bad requests reject with RequestError, a missing harness binary with NotInstalledError. build(options) returns the assembled argv without executing; binaryPath() exposes the bundled binary for anything else.

Set AGENTSUMMONS_BINARY to override which binary the wrapper invokes.

Keywords

agent

FAQs

Package last updated on 03 Aug 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts