Agentchat workflows

From VectorSpaceLab/AREX-Skill · View interactive version

Agentchat workflows is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Maintain, debug, migrate, and write high-level AutoGen AgentChat applications using agents, teams, tools-as-agents, termination, handoffs, streaming, state, and serialization.

How to use this skill

Skill file

AgentChat Workflows

Use this sub-skill when working on existing AutoGen Python applications built with autogen_agentchat. AutoGen is in maintenance mode: recommend Microsoft Agent Framework for greenfield work, but use this guidance to support existing AutoGen maintenance, debugging, migration, and usage.

Route Here

Use this sub-skill for:

Route elsewhere when the user needs:

Start Safely

  1. Confirm the package family and version boundary. Current AgentChat maintenance work generally targets autogen-agentchat 0.7.x, not legacy pyautogen 0.2 APIs.
  2. Avoid provider calls while inspecting or debugging structure. Use replay/mock clients, constructor inspection, and bounded teams first.
  3. Always add termination_condition and/or max_turns to teams unless the surrounding app has a verified stop mechanism.
  4. Treat agents and teams as stateful. Do not pass full history back into run, run_stream, on_messages, or on_messages_stream on every call.
  5. Close or clean up concrete model clients, workbenches, and executors according to their integration-specific requirements.

Common References

Minimal Safe Checks

Run signature-only checks without model credentials:

python scripts/agentchat_smoke.py --mode signatures

If imports fail, install or expose compatible autogen-agentchat, autogen-core, and autogen-ext packages before running application-level checks. Do not solve provider credential failures in this sub-skill; route model-client setup to ../extensions-integrations/SKILL.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.