{
  "name": "agentic-flow",
  "version": "3.3.1",
  "description": "The agentic meta-harness — freeze the model, evolve the harness. An open runtime that routes each query to the cost-optimal model, evolves its own harness (planner/context/reviewer/retry/tool/memory/score policy) and autonomously repairs code, then orchestrates 66 specialized agents, 213 MCP tools, ReasoningBank memory, and multi-agent swarms on top. Built by @ruvnet on the Claude Agent SDK.",
  "type": "module",
  "main": "dist/index.js",
  "bin": {
    "agentic-flow": "dist/cli-proxy.js",
    "agentdb": "dist/cli/agentdb-proxy.js",
    "agentic-flow-repair": "dist/repair/cli.js"
  },
  "exports": {
    ".": "./dist/index.js",
    "./orchestration": "./dist/orchestration/index.js",
    "./sdk": "./dist/sdk/index.js",
    "./package.json": "./package.json",
    "./reasoningbank": {
      "node": "./dist/reasoningbank/index.js",
      "browser": "./dist/reasoningbank/wasm-adapter.js",
      "default": "./dist/reasoningbank/index.js"
    },
    "./reasoningbank/backend-selector": "./dist/reasoningbank/backend-selector.js",
    "./reasoningbank/wasm-adapter": "./dist/reasoningbank/wasm-adapter.js",
    "./router": "./dist/router/index.js",
    "./router/cost-optimal": "./dist/router/cost-optimal-router.js",
    "./repair": "./dist/repair/darwin-repair.js",
    "./harness/provenance": "./dist/harness/provenance.js",
    "./harness/metaharness": "./dist/harness/metaharness.js",
    "./harness/governance": "./dist/harness/flywheel-governance.js",
    "./agent-booster": "./dist/agent-booster/index.js",
    "./transport/quic": "./dist/transport/quic.js",
    "./embeddings": "./dist/embeddings/index.js",
    "./integrations": "./dist/integrations/index.js",
    "./transport/loader": "./dist/transport/quic-loader.js"
  },
  "scripts": {
    "postinstall": "node scripts/postinstall.js || true",
    "start": "node --enable-source-maps dist/index.js",
    "build": "(npm run build:wasm || true) && tsc -p config/tsconfig.json --skipLibCheck && mkdir -p dist/reasoningbank && (cp -r src/reasoningbank/prompts dist/reasoningbank/ 2>/dev/null || true) && (cp -r src/reasoningbank/config dist/reasoningbank/ 2>/dev/null || true)",
    "build:wasm": "cd ../reasoningbank && wasm-pack build --target bundler --out-dir pkg/bundler crates/reasoningbank-wasm && wasm-pack build --target web --out-dir pkg/web crates/reasoningbank-wasm && mkdir -p ../agentic-flow/wasm/reasoningbank && cp -r crates/reasoningbank-wasm/pkg/bundler/* ../agentic-flow/wasm/reasoningbank/ && cp -r crates/reasoningbank-wasm/pkg/web ../agentic-flow/wasm/reasoningbank/",
    "build:wasm:clean": "rm -rf ../reasoningbank/crates/reasoningbank-wasm/pkg && rm -rf wasm/reasoningbank",
    "dev": "tsx src/index.ts",
    "prepublishOnly": "npm run build",
    "test": "npm run test:retry && npm run test:logging",
    "test:retry": "tsx validation/quick-wins/test-retry.ts",
    "test:logging": "tsx validation/quick-wins/test-logging.ts",
    "test:wasm:e2e": "tsx validation/test-wasm-e2e.ts",
    "test:wasm:docker": "docker build -f Dockerfile.e2e -t agentic-flow-e2e . && docker run --rm agentic-flow-e2e",
    "validate": "tsx validation/quick-wins/validate-all.ts",
    "validate:sdk": "tsx validation/sdk-integration-test.ts",
    "validate:health": "bash validation/quick-wins/test-health.sh",
    "validate:openrouter": "tsx tests/validation/test-openrouter-fixes.ts",
    "validate:claude-flow": "npm run test:memory && npm run test:coordination && npm run test:hybrid",
    "test:memory": "tsx tests/validation/claude-flow/test-memory.ts",
    "test:coordination": "tsx tests/validation/claude-flow/test-coordination.ts",
    "test:hybrid": "tsx tests/validation/claude-flow/test-hybrid.ts",
    "test:fastmcp": "bash scripts/test-fastmcp-poc.sh",
    "test:quic": "tsx validation/test-quic-integration.ts",
    "test:quic:wasm": "tsx validation/test-quic-wasm.ts",
    "mcp:fastmcp-poc": "node dist/mcp/fastmcp/servers/poc-stdio.js",
    "mcp:http": "node dist/mcp/fastmcp/servers/http-sse.js",
    "mcp:stdio": "node dist/mcp/standalone-stdio.js",
    "claude-code": "node dist/cli/claude-code-wrapper.js",
    "example:goal-planner": "tsx src/examples/use-goal-planner.ts",
    "example:multi-agent": "tsx src/examples/multi-agent-orchestration.ts",
    "example:embedding-geometry": "tsx src/examples/embedding-geometry.ts",
    "proxy": "node dist/proxy/anthropic-to-openrouter.js",
    "proxy:dev": "tsx src/proxy/anthropic-to-openrouter.ts",
    "proxy:quic": "node dist/proxy/quic-proxy.js",
    "proxy:quic:dev": "tsx src/proxy/quic-proxy.ts",
    "benchmark:embeddings": "tsx src/benchmarks/embeddings-benchmark.ts",
    "test:orchestration": "vitest run tests/orchestration/ --reporter=verbose",
    "test:security": "vitest run tests/security tests/mcp/mcp-policy.test.ts tests/transport/quic-loader.test.ts",
    "test:governance": "vitest run tests/harness/provenance.test.ts tests/harness/flywheel-governance.test.ts tests/mcp/mcp-policy.test.ts tests/mcp/package-surface.test.ts tests/embeddings/huggingface-offline.test.ts tests/repair/darwin-repair.test.ts tests/integrations",
    "test:orchestration:smoke": "tsx tests/orchestration/orchestration-api.smoke.ts && tsx tests/orchestration/loop-policy.smoke.ts && tsx tests/orchestration/memory-plane.smoke.ts",
    "test:integrations": "vitest run tests/integrations"
  },
  "keywords": [
    "meta-harness",
    "metaharness",
    "agent-harness",
    "harness-evolution",
    "model-routing",
    "cost-optimal-routing",
    "self-improving",
    "darwin",
    "ai",
    "ai-agents",
    "ai-orchestration",
    "agentic",
    "agents",
    "agent-swarm",
    "anthropic",
    "anthropic-claude",
    "automation",
    "autonomous-agents",
    "byzantine-consensus",
    "claude",
    "claude-agent-sdk",
    "claude-code",
    "reasoning-memory",
    "reasoningbank",
    "agent-learning",
    "memory-system",
    "consensus-protocols",
    "coordination",
    "crdt",
    "devops",
    "distributed-systems",
    "docker",
    "fastmcp",
    "flow-nexus",
    "github",
    "github-integration",
    "goal-planning",
    "goap",
    "hive-mind",
    "huggingface",
    "llm",
    "llm-orchestration",
    "machine-learning",
    "mcp",
    "mcp-server",
    "mcp-tools",
    "memory-persistence",
    "mesh-network",
    "multi-agent",
    "multi-agent-systems",
    "neural-networks",
    "onnx",
    "onnxruntime",
    "orchestration",
    "pagerank",
    "parallel-processing",
    "raft",
    "ruv",
    "ruvnet",
    "sparc",
    "sublinear-algorithms",
    "swarm",
    "swarm-intelligence",
    "task-orchestration",
    "typescript",
    "workflow",
    "workflow-automation"
  ],
  "author": {
    "name": "ruv",
    "url": "https://github.com/ruvnet"
  },
  "contributors": [
    {
      "name": "ruv",
      "url": "https://github.com/ruvnet"
    }
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/ruvnet/agentic-flow.git"
  },
  "bugs": {
    "url": "https://github.com/ruvnet/agentic-flow/issues"
  },
  "homepage": "https://github.com/ruvnet/agentic-flow#readme",
  "engines": {
    "node": ">=20.0.0"
  },
  "dependencies": {
    "@anthropic-ai/claude-agent-sdk": "^0.1.5",
    "@anthropic-ai/sdk": "^0.65.0",
    "@google/genai": "^1.22.0",
    "@huggingface/transformers": "^4.2.0",
    "@metaharness/router": "^0.3.2",
    "@ruvector/edge-full": "^0.1.0",
    "@ruvector/router": "^0.1.30",
    "@ruvector/tiny-dancer": "^0.1.17",
    "@supabase/supabase-js": "^2.78.0",
    "agentdb": "^3.0.0",
    "axios": "^1.12.2",
    "dotenv": "^16.4.5",
    "express": "^5.1.0",
    "fastmcp": "^3.35.0",
    "glob": "^13.0.0",
    "gun": "^0.2020.1241",
    "http-proxy-middleware": "^3.0.5",
    "ruvector": "^0.3.3",
    "ruvector-onnx-embeddings-wasm": "^0.1.2",
    "tiktoken": "^1.0.22",
    "ulid": "^3.0.1",
    "ws": "^8.20.0",
    "yaml": "^2.8.1",
    "zod": "^3.25.76"
  },
  "optionalDependencies": {
    "@rollup/rollup-darwin-arm64": "^4.59.0",
    "@ruvector/attention": "^2.2.3",
    "@ruvector/mincut-wasm": "^2.3.0",
    "@ruvector/sona": "^0.1.11",
    "@ruvnet/sublinear-core": "^1.0.0",
    "agent-booster": "^0.2.2",
    "aidefence": "^3.0.1",
    "better-sqlite3": "^11.10.0",
    "onnxruntime-node": "^1.23.2",
    "sharp": "^0.35.5",
    "sql.js": "^1.11.0"
  },
  "overrides": {
    "protobufjs": ">=7.5.5",
    "@huggingface/transformers": {
      "sharp": "$sharp"
    }
  },
  "devDependencies": {
    "@types/better-sqlite3": "^7.6.13",
    "@types/express": "^5.0.3",
    "@types/node": "^20.19.19",
    "@types/uuid": "^11.0.0",
    "@types/ws": "^8.18.1",
    "@vitest/coverage-v8": "^4.0.14",
    "patch-package": "^8.0.1",
    "tsx": "^4.19.0",
    "typescript": "^5.6.3",
    "vitest": "^4.0.14"
  },
  "files": [
    "dist",
    "docs",
    ".claude",
    ".agents/skills",
    "validation",
    "scripts",
    "wasm",
    "README.md",
    "LICENSE",
    "VALIDATION-RESULTS.md",
    "CHANGELOG.md",
    "!.claude/settings*.json",
    "!.claude/mcp.json"
  ]
}
