autogen

An integration for AutoGen, an open-source Microsoft framework for building systems where multiple software agents coordinate tasks. It includes examples for connecting AutoGen to tools through an HTTP or subprocess bridge.

In plain words
What is it for?
Use it to connect AutoGen agents with MCP tools, an HTTP JSON-RPC gateway, or a standard-input/output subprocess wrapper.
Why use it?
It explains how an AutoGen agent can call external tools through a gateway instead of handling every task itself.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/ibm/mcp-context-forge/autogen
Clone the repo
git clone --depth 1 https://github.com/IBM/mcp-context-forge
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 335 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00335
Opus 5 $0.00000 $0.00168
Sonnet 5 $0.00000 $0.00067
Haiku 4.5 $0.00000 $0.00034

Measured 2d ago against content hash 354daee9ad5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

autogen scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

r = requests.post(f"{GATEWAY}/rpc", json=payload, headers=headers, timeout=30)
Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • autogen — 100% identical, 0 lines differ
  • autogen — 100% identical, 0 lines differ
docs/docs/using/agents/autogen.md · 45 lines

What it actually says

AutoGen Integration with ContextForge

AutoGen is an open-source framework from Microsoft for building multi-agent systems. It supports tool calling and dynamic agent coordination.


🔧 MCP Support

Experimental support for MCP integration is available via custom ToolAgent wrappers that call MCP tools via HTTP or mcpgateway-wrapper.

Minimal example using HTTP JSON-RPC with requests:

import os
import requests

GATEWAY = os.getenv("GATEWAY", "http://localhost:4444")
TOKEN = os.getenv("MCPGATEWAY_BEARER_TOKEN")

def call_tool(name: str, arguments: dict):
    payload = {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "tools/call",
        "params": {"name": name, "arguments": arguments},
    }
    headers = {"Authorization": f"Bearer {TOKEN}", "Content-Type": "application/json"}
    r = requests.post(f"{GATEWAY}/rpc", json=payload, headers=headers, timeout=30)
    r.raise_for_status()
    return r.json()

# Example usage inside an AutoGen tool wrapper
result = call_tool("get_system_time", {"timezone": "Europe/Dublin"})
print(result)

For stdio-based integration, launch mcpgateway-wrapper and connect AutoGen via a subprocess bridge.


🔗 Resources

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 45 lines · 0 tokens per session scan A 354daee9ad5c

Subscribe to this mod's changes

autogen is an agent published in the GitHub repository IBM/mcp-context-forge (4,399 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 335 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

ai-readiness-reporter

Runs the AgentRC readiness assessment on the current repository and produces a self-contained, static HTML dashboard at reports/index.html. Explains every readiness pillar, the maturity level, and an actionable remediation plan, framed by AgentRC measure → generate → maintain loop. Use when asked to assess, audit…

github/awesome-copilot · 80 tokens

Custom Agent Foundry

Expert at designing and creating VS Code custom agents with optimal configurations.

github/awesome-copilot · 17 tokens

Agent Governance Reviewer

AI agent governance expert that reviews code for safety issues, missing governance controls, and helps implement policy enforcement, trust scoring, and audit trails in agent systems.

github/awesome-copilot · 35 tokens

chat-agents

Build AI-powered chat interfaces with AIChatAgent and useAgentChat. Messages are automatically persisted to SQLite, streams resume on disconnect, and tool calls work across server and client.

cloudflare/agents · 0 tokens

webhooks

Receive webhook events from external services and route them to dedicated agent instances. Each webhook source (repository, customer, device) can have its own agent with isolated state, persistent storage, and real-time client connections.

cloudflare/agents · 0 tokens

retries

Retry failed operations with exponential backoff and jitter. The Agents SDK provides built-in retry support for scheduled tasks, queued tasks, and a general-purpose this.retry() method for your own code.

cloudflare/agents · 0 tokens