Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

garrison-forge

Latest version: v0.1.2

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: infoshikharpathak
0 Stars
0 Forks
3 Versions
Python Repo language

Scan summary

garrison-forge was last scanned on 23 Nov 2026 at version 0.1.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 23 Nov 2026.
  • Findings: No rules fired in version 0.1.2.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.2 LATEST 23 Nov 2026 No rules fired
0.1.1 23 Nov 2026 No rules fired
0.1.0 23 Nov 2026 No rules fired

No rules fired in 0.1.2

Findings

Findings for v0.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Agent Forge (garrison-forge)

CI PyPI License: Apache-2.0 Python 3.11+

Framework-agnostic AI agent orchestration.

Send a goal, get back a synthesized report — produced by a dynamically planned team of AI agents that research, debate, and converge on an answer. No agents are predefined by default; the orchestrator writes every system prompt and task prompt from scratch for each goal.

Two additive capabilities sit on top of that dynamic core:

  • App Registry — apps (e.g. logscribe, meeting-scribe) can register a fixed agent workflow in a config file. When a goal matches, agent-forge skips dynamic planning entirely (or partially) instead of inventing a team from scratch every time — cheaper, faster, and repeatable for the same kind of task.
  • Traceability — every run, whichever path it took, is persisted to a local SQLite database: which agents ran, what each one produced, tokens/cost/latency, which guardrails fired. Queryable via CLI, API, or the Streamlit UI's Traces tab.

Zero registered apps and no queries against /traces is exactly today's behavior — both are fully additive.


How it works

User goal
   │
   ▼
[App Registry routing]        ← does the goal semantically match a registered app?
   │                              locked  → skip straight to Execute, no LLM planning call
   │                              unlocked→ fixed agents, framework/prompts still LLM-chosen
   │                              none    → dynamic (current behavior, unchanged)
   │                              emits app_routed (routing_tier, app_id)
   │
   ▼
[Guardrail 1: Goal Clarity]   ← rewrites vague goals into specific, actionable ones
   │                              (skippable per app config)
   │                              emits goal_clarified (was_changed + reasoning)
   │
   ▼
Orchestrator scores goal      ← reasoning_score vs workflow_score (0-10 each)
   │                              rule-based override if confidence < 0.7
   │                              emits plan_ready with scores + confidence
   │                              emits goal_clarified (was_changed + reasoning)
   │
   ▼
Orchestrator research         ← get_datetime (always) + web_search as needed
   │                              runs ONCE — not repeated on plan retries
   │
   ▼
[Guardrail 2: Plan Validator] ← up to 3 attempts
   │  checks: coverage, role distinctness, prompt specificity, strategy fit
   │  rejects bad plans with feedback → orchestrator replans
   │  emits plan_validation per attempt
   │
   ├─── strategy: autogen ────────────────────────────────────────────────────┐
   │                                                                           │
   │    AgentManager + AutoGenFactory                                          │
   │      └── spawn N debate agents (each with a tailored system prompt)      │
   │                                                                           │
   │    AgentConversation   ← multi-round debate loop                          │
   │      agents see full conversation history                                 │
   │      orchestrator judges convergence after each round                     │
   │      max_rounds safety cap prevents runaway loops                         │
   │                                                                           │
   └─── strategy: langgraph ──────────────────────────────────────────────────┤
                                                                               │
        LangGraphFactory                                                        │
          └── spawn one agent per graph node                                   │
                                                                               │
        GraphRunner   ← builds a LangGraph StateGraph from the spec            │
                                                                               │
          mode A — parallel independent (edges: []):                           │
            each node receives only its own task_prompt                        │
            nodes run in isolation, no shared context                          │
                                                                               │
          mode B — sequential / conditional pipeline (edges defined):          │
            nodes execute in order defined by edges                            │
            each node receives the goal + all upstream output as context       │
            conditional edges: node emits {"route": "KEY"} JSON               │
            GraphRunner validates key against known edges, routes accordingly  │
            routing JSON stripped from content before display / synthesis      │
            retry on invalid output — fallback placeholder after 1 failed retry│
                                                                               │
   ┌───────────────────────────────────────────────────────────────────────────┘
   │
   ▼
Orchestrator.synthesize       ← reads full execution output, writes final report
   │
   ▼
[Guardrail 3: Quality Check]  ← up to 1 retry
   │  checks: does the report directly answer the goal?
   │  synthesis buffered internally — only streamed after it passes
   │  re-synthesizes with feedback if it fails
   │  emits quality_check per attempt
   │
   ▼
[Guardrail 4: Grounding Check] ← verifies every claim is backed by agent conversation
   │  flags unsupported claims / hallucinations
   │  emits grounding_check (grounded + unsupported_claims list)
   │
   ▼
FastAPI (SSE stream)  ← every event streamed in real time
   │                    detail=result | orchestration | full
   ▼
Streamlit UI          ← 5 tabs: Chat · Orchestrator · Agent Activity · Quality Guardrails · Traces
   │
   ▼
RunTracer → SQLite     ← every run persisted regardless of outcome (Traceability, below)

Architecture

src/agent_forge/
├── core/
│   ├── agent.py          # BaseAgent ABC + AgentStatus enum + AgentRunResult
│   ├── context.py        # RunContext (trace_id, run_id, agent) in a ContextVar
│   ├── execution.py      # execute_agent — the one path every agent run takes (context, hooks, tracing)
│   ├── hooks.py          # AgentHooks + HookDecision — before/after run, on_handoff
│   ├── factory.py        # AgentFactory ABC (create / close)
│   ├── manager.py        # AgentManager — lifecycle + task routing + trace recording
│   ├── orchestrator.py   # Orchestrator — plan, judge convergence, synthesize, match/plan_from_app
│   ├── conversation.py   # AgentConversation — multi-round AutoGen debate loop
│   ├── graph_runner.py   # GraphRunner — LangGraph structured pipeline runner
│   └── shared_thread.py  # SharedThread — sequential context passing
├── backends/
│   ├── autogen/          # ✅ AutoGen agentchat implementation
│   ├── langgraph/        # ✅ LangGraph + LangChain implementation
│   ├── anthropic/        # ✅ Anthropic Messages API with tool use
│   └── openai/           # ✅ OpenAI Chat Completions with tool use
├── tools/
│   ├── __init__.py       # Registry — @register, get_tools(), list_tools()
│   ├── web.py            # web_search (DuckDuckGo), fetch_url
│   ├── finance.py        # stock_price, company_financials (yfinance)
│   ├── utility.py        # get_datetime, calculator, wikipedia_search
│   ├── mcp_bridge.py     # MCPBridge — connects MCP servers, registers tools (with per-server tool allowlist)
│   └── sources.py        # ToolSource — plug in an external tool provider
├── apps/                 # App Registry configs — one JSON/YAML file per registered app
├── api/
│   └── app.py            # FastAPI backend — /health, /run, /run/stream, /apps, /traces
├── config/
│   └── settings.py       # Provider config + env resolution
├── registry.py            # AppRegistry, AppConfig — loads apps/, builds locked-app plans (no LLM)
├── tracing.py              # RunTracer — per-run trace accumulation, cost estimation
├── pricing.py              # the per-model price table every cost estimate reads
├── db.py                   # SQLite persistence for traces (append-only)
└── main.py                # CLI — `agent-forge run` (demo) / `agent-forge traces`

app.py                    # Streamlit frontend — 5 tabs: Chat · Orchestrator · Agent Activity · Quality Guardrails · Traces
mcp_servers.json          # MCP server config (gitignored, create from example)
mcp_servers.example.json  # Example MCP server config
agent_forge_traces.db     # SQLite trace store (gitignored, zero-config default path)

Install

pip install garrison-forge                      # core + the OpenAI backend
pip install "garrison-forge[anthropic]"         # + the Anthropic backend
pip install "garrison-forge[api]"               # + the HTTP API (with the AutoGen and LangGraph backends)
pip install "garrison-forge[all]"               # every backend, the built-in tools and MCP
Extra Adds
anthropic Anthropic backend (anthropic)
autogen AutoGen backend (autogen-agentchat, autogen-ext[openai]); the agent-forge run demo uses it
langgraph LangGraph backend (langgraph, langchain-openai)
tools built-in web search, finance and Wikipedia tools (ddgs, yfinance, wikipedia)
mcp MCP servers as tool sources (mcp)
api agent_forge.api.app (fastapi, uvicorn, plus autogen and langgraph)
ui the Streamlit front end in this repo's app.py (streamlit)
all everything above except ui

The install name and the import name differ: you install garrison-forge and import agent_forge (the CLI is still agent-forge). It is published as part of the Garrison family. Python 3.11 or newer. With a pip install, set AGENT_FORGE_APPS_DIR to the folder holding your app configs (see App Registry).

Setup (from source)

git clone https://github.com/infoshikharpathak/Agent-Forge && cd Agent-Forge
python -m venv .venv
source .venv/bin/activate
pip install -e ".[all,ui]"
cp .env.example .env
# add your OPENAI_API_KEY to .env

Tests (no API keys or network needed; every model call is stubbed):

pip install -e ".[dev]"
pytest -q

Running

Backend (required first):

uvicorn agent_forge.api.app:app --reload --port 8000

Frontend (in a second terminal):

streamlit run app.py

CLI (installing the package registers the agent-forge console script):

agent-forge run                          # hardcoded demo goal, autogen only
agent-forge traces --last 10             # query run history
agent-forge traces --app logscribe --status failed

API

Interactive docs available at http://localhost:8000/docs once the backend is running.

GET /health

Liveness probe.

{"status": "ok"}
POST /run

Blocking. Returns only the final synthesized report.

// Request (trace_id is optional: your own correlation ID, see "Hooks, tool sources, and trace IDs")
{"goal": "...", "max_rounds": 3, "provider": "openai", "trace_id": "req-8f2c"}

// Response
{"result": "..."}
POST /run/stream

SSE stream. The detail query parameter controls how much of the internal pipeline is exposed:

detail Events included
result (default) synthesis_chunk, done, error
orchestration + orchestrator_tool_call, plan_chunk, plan_ready, goal_clarified, plan_validation, quality_check, grounding_check
full + agent_message, stop_signal

Every SSE frame is a data: line containing a JSON object with a type field:

data: {"type": "goal_clarified", "original": "...", "clarified": "...", "reasoning": "...", "was_changed": true}
data: {"type": "orchestrator_tool_call", "tool": "web_search", "args": {...}, "result": "..."}
data: {"type": "plan_chunk", "text": "..."}
data: {"type": "plan_ready", "strategy": "autogen", "specs": [...]}
data: {"type": "plan_ready", "strategy": "langgraph", "spec": {"nodes": [...], "edges": [...], "entry": "..."}}
data: {"type": "plan_validation", "valid": true, "feedback": "", "attempt": 1}
data: {"type": "agent_message", "agent": "analyst", "content": "...", "round": 1}
data: {"type": "stop_signal", "reason": "...", "stopped_by": "orchestrator"}
data: {"type": "synthesis_chunk", "text": "..."}
data: {"type": "quality_check", "passes": true, "feedback": "", "attempt": 1}
data: {"type": "grounding_check", "grounded": true, "unsupported_claims": []}
data: {"type": "done", "result": "..."}
data: {"type": "error", "message": "..."}

App Registry

Apps can register a fixed agent workflow instead of relying on dynamic planning every time — useful when the same kind of task recurs (log root-cause analysis, meeting minutes, etc.) and inventing a new team per request is unnecessary cost/latency.

Drop a config file in src/agent_forge/apps/ (or in the folder AGENT_FORGE_APPS_DIR names):

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases garrison-forge

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229