We’re excited to announce that Agentic Radar now supports scanning workflows built with Microsoft's AutoGen! Agentic Radar is a security and transparency scanner for agentic systems – designed to analyze your code, map workflows, identify tools and external dependencies, and surface potential security vulnerabilities. In this artice, we’ll showcase how Agentic Radar works with AutoGen’s AgentChat framework by using a real-world example.
A Real Example: Company Research with Agents
To demonstrate Agentic Radar in action, we’ll walk through the official AutoGen AgentChat company research example.
This example defines a multi-agent system to automate competitive research:
Search Agent – queries Google Search to gather company information.
Stock Analysis Agent – retrieves stock data and generates a visual analysis.
Report Agent – compiles everything into a coherent report.
Here’s a quick glance at the necessary imports:
from autogen_agentchat.agents import AssistantAgent
from autogen_agentchat.conditions import TextMentionTermination
from autogen_agentchat.teams import RoundRobinGroupChat
from autogen_agentchat.ui import Console
from autogen_core.tools import FunctionTool
from autogen_ext.models.openai import OpenAIChatCompletionClient
Defining Tools
In AutoGen, any Python function can be converted to a custom tool. In this example, we define two functions:
google_search – searches web using Google’s API
analyze_stock – summarizes key financial metrics, trends, and volatility for a stock over the past year and generates a price chart, uses the Yahoo Finance API
Each function is then wrapped inside AutoGen's FunctionTool instance, enabling it to be registered as a callable tool within an agent's toolkit for automated reasoning and execution.
Defining Agents
In AutoGen AgentChat, agents are created using the AssistantAgent class by specifying a name, model client, system message, and an optional list of tools. Each agent is designed for a specific role, making it easy to coordinate tasks across a multi-agent workflow.
Orchestrating Collaboration
To enable agents to work together, AutoGen provides group chat mechanisms like RoundRobinGroupChat
, which manages the flow of conversation between multiple agents. In this example, the stock_analysis_agent
, search_agent
, and report_agent
are connected into a team that takes turns contributing to the task. The agents take turns in a round-robin fashion to publish a message to others. The run_stream
method starts the collaborative process, and the Console
utility streams their interactions in real time. This orchestration allows agents to collectively solve tasks that are too complex for a single agent to handle alone.
Agentic Radar in Action
With the agents defined and tools in place, the workflow comes to life when the agents begin interacting. Each agent uses its tools and reasoning abilities to complete its part of the task, passing results to others as needed. Agentic Radar captures this dynamic process, visualizing the flow of information and decisions between agents. This helps you trace how a task is decomposed, how tools are used, and where bottlenecks or redundancies might occur – offering deep insight into the behavior of your agentic system.
Installing Agentic Radar is very simple, just run: pip install agentic-radar
To run it on the example shown in the previous chapter:
Download the full example source code from here and store it in a folder called
company_research
.Run the following command inside of your terminal:
agentic-radar scan autogen -i ./company_research -o report.html
You should see a
report.html
file appear inside your current working directory.Open the
report.html
file in your browser.
This produces a detailed, interactive HTML report showing the agent graph, tool usage, and potential vulnerabilities.


Agentic Prompt Hardening
In addition to visualization and scanning, you can enable Agentic Prompt Hardening to automatically analyze and improve the system prompts used by your agents. These improvements follow best practices from prompt engineering and make your agents more robust and secure.
To activate prompt hardening, just add the --harden-prompts
flag to the command from the previous example:
agentic-radar scan autogen -i ./company_research -o report.html —harden-prompts
Note: this requires setting your OPENAI_API_KEY by running export OPENAI_API_KEY=your-key-here
The report will now include a side-by-side comparison of original and hardened prompts, helping you quickly identify weak instructions and upgrade them to more effective, defensive system messages – all without changing a single line of your code.

Summary
With AutoGen AgentChat support, Agentic Radar extends its reach into one of the most widely used frameworks for building collaborative AI agents. This integration allows developers to scan AutoGen workflows for risks, visualize multi-agent interactions, and harden prompts – bringing much-needed transparency and security to real-world agentic systems.
As the agentic ecosystem continues to grow, so does the importance of securing these dynamic, interconnected workflows. Agentic Radar is committed to staying ahead of the curve by:
Expanding support to additional agent frameworks like PydanticAI and Dify
Enhancing system prompt analysis and hardening
Tracing agent data sources, tool inputs, and external endpoints
Deepening alignment with security standards like the OWASP LLM Top 10 and Agentic Threats
To get involved, join our Community Discord or contribute directly on GitHub. If Agentic Radar is helping you build safer AI, drop us a star ⭐ – every bit of support helps grow the community and define the standard for building secure and transparent agentic workflows.
Table of contents