🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

agentwolf

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agentwolf

Agent-neutral MCP runtime for virtual engineering teams with workflow gates, global memory, and traceable ChangeSets.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

AgentWolf

Turn AI coding agents into a traceable virtual engineering team.

CI npm License: MIT Node.js 20+ MCP

Quickstart · MCP Config · How It Works · Docs · 中文

AgentWolf is an agent-neutral MCP runtime for organizing Codex, Claude Code, Cursor, Gemini CLI, and similar tools into a disciplined engineering workflow.

It does not replace coding agents. It gives them the process around coding:

  • product and architecture gates
  • role-specific task packets
  • global engineering memory
  • user questions only when the ambiguity matters
  • project-local trace ledger, evidence, ChangeSets, and audit bundles
  • progress feedback showing who is active and which phase is running

Why

Coding agents can produce code quickly, but production engineering also needs scope, design, verification, review, release notes, rollback, and learning.

This project provides the control plane for that work. The workflow runtime owns process decisions; external agents execute delegated role tasks.

Quickstart

Install globally:

npm install -g agentwolf
agentwolf server

Or run with npx:

npx -y agentwolf server

From source:

git clone https://github.com/PercivalLin/agentwolf.git
cd agentwolf
npm run verify
node ./bin/agentwolf.mjs server

Requires Node.js 20 or newer.

MCP Configuration

Using npm:

{
  "mcpServers": {
    "agentwolf": {
      "command": "npx",
      "args": ["-y", "agentwolf", "server"],
      "env": {
        "AGENTWOLF_HOME": "/Users/you/.agentwolf"
      }
    }
  }
}

Using a local checkout:

{
  "mcpServers": {
    "agentwolf": {
      "command": "node",
      "args": ["/absolute/path/to/agentwolf/bin/agentwolf.mjs", "server"],
      "env": {
        "AGENTWOLF_HOME": "/Users/you/.agentwolf"
      }
    }
  }
}

AGENTWOLF_HOME is optional. By default, global memory is stored in ~/.agentwolf.

First Workflow Call

Use advance_workflow as the main entrypoint:

{
  "project_root": "/absolute/path/to/target-product",
  "product_goal": "Build a traceable task manager with owners, status history, and audit export.",
  "adapter": "codex",
  "risk_level": "medium"
}

The runtime will scan the repository, retrieve global experience, generate role artifacts, ask only for high-impact unknowns, and stop at the next user decision, external agent task, gate blocker, or audit completion.

How It Works

user product goal
  -> context scan
  -> global memory retrieval
  -> clarification gate
  -> requirements
  -> architecture
  -> planning
  -> role task packet
  -> evidence / ChangeSet / review
  -> audit bundle

The workflow adapts the next execution role to the task type. Implementation work goes to Developer, documentation work goes to Writer, security review goes to Security, and read-only analysis goes to Reviewer.

Runtime Data

Project-local workflow data is written to the target repository:

<target-project>/.agentwolf/
<target-project>/docs/ai-artifacts/

Global memory is written to:

~/.agentwolf/

These logs can contain sensitive project details. Review them before sharing.

Documentation

GuidePurpose
ArchitectureRuntime components and trust boundaries.
WorkflowPhases, gates, stopping points, and feedback.
MCP ToolsPublic tool list and call patterns.
RolesVirtual team roles and handoff rules.
Data And TraceabilityLogs, ChangeSets, evidence, and audit trails.
Repository StructureSource tree and contribution map.
PublishingGitHub and npm release checklist.

Examples live in examples/.

Development

npm run check
npm test
npm run verify
npm run ci

npm run ci runs syntax checks, tests, audit, and package dry-run validation.

Status

Early alpha. The MCP runtime, role packets, trace ledger, task-scoped gates, evidence validation, global memory, and audit bundle export are implemented. External adapters are currently task-packet based, not full external-agent process supervisors.

License

MIT

Keywords

ai

FAQs

Package last updated on 06 Jun 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