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

agent-factory

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agent-factory

Work-based Multi-Agent System — install with npm, run with npx. No git clone needed.

latest
Source
npmnpm
Version
3.1.1
Version published
Maintainers
1
Created
Source

Agent Factory

Multi-agent orchestration for your AI coding assistant.

Describe what you want — Agent Factory breaks it into stages, assigns agents, and executes the full pipeline. Ships as an MCP server with 27 tools. Works with Claude Code, OpenCode, or any MCP client.

npm install -g agent-factory

That's it. Python dependencies are auto-installed. Restart your AI tool and start using it.

What Can You Do?

Diagnose Bugs

Give it an error message or symptom. It scans your project, finds the root cause, and proposes a fix.

You: "ZFS quota list isn't showing up. Find out why."

 → perform_rca scans your code
 → Returns root cause analysis + fix proposal
 → approve_workflow → auto-generates the patch

Turn Ideas Into Code

Describe a feature vaguely. It asks clarifying questions, refines the requirements, then implements.

You: "I want real-time notifications."

 → refine_idea asks 3-5 clarifying questions
 → You answer → submit_idea_refinement
 → Refined requirements + implementation plan
 → approve_workflow → architecture → code → validation

Run a Full Pipeline

One prompt, end-to-end execution.

You: "Build a REST API with JWT auth and user management."

 → execute_workflow(work_type="software_development")
 → Analysis → Design → Implementation (writes files) → Validation

Install

npm install -g agent-factory

Postinstall automatically:

  • Creates Python venv at ~/.agent-factory/venv
  • Installs mcp, pyyaml, and the agent-factory package
  • Detects your AI tool and installs platform components

Requirements: Node.js ≥ 14, Python ≥ 3.10

No-Install Run

npx agent-factory

Platform Setup

OpenCode — auto-configured during install. Just restart.

Claude Code — register manually:

claude mcp add agent-factory -- npx agent-factory

Any MCP client — add to your config:

{
  "mcpServers": {
    "agent-factory": {
      "command": "npx",
      "args": ["agent-factory"]
    }
  }
}

Verify

Restart your AI tool. You should see tools like execute_workflow, perform_rca, refine_idea in the MCP tools list.

Workflow Types

TypeStages
software_developmentanalysis → design → implementation → validation
ml_developmentproblem → data → design → training → evaluation → deployment
test_generationanalysis → design → validation
data_analysisproblem → data → evaluation
code_reviewanalysis → validation

Omit work_type to auto-detect.

Documentation

DocContent
Setup GuideDetailed install, env vars, troubleshooting
MCP Tools ReferenceAll 27 tools — params, returns, examples
ArchitectureInternal structure, core components, state
API ReferencePython classes and methods
OpenCode IntegrationPlugin structure and setup
OpenCode Usage GuidePractical usage in OpenCode
ChangelogWhat's new in each version

License

MIT

Keywords

mcp

FAQs

Package last updated on 23 Apr 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