Welcome to AutoAgentium, my personal portfolio for building AI-powered multi‑agent workflows. Below you’ll find 5 bite‑sized subprojects, each one a mini project demonstrating a unique way to let these agents collaborate on real problems, from plotting stock charts to crafting full reports.
Pattern: Here, I have taken a Two‑Comedian to chat.
-
Actors: Cathy & Joe, each a
ConversableAgent
with custom system prompts. -
Flow: Joe kicks off with a punchline; Cathy builds on it. They riff back and forth until one says, “I gotta go.”
-
Key features:
max_turns
control- They exchange jokes, remembering punchlines and building off each other's humor.
- Termination is dynamic: they stop when one says "I gotta go."
- Tracks full conversation history, token usage, and allows you to generate summary reflections.
Pattern: Step‑by‑Step Chat Pipeline
-
Use case: Customer onboarding or ETL pipelines.
-
How it works: Chain agents in a fixed WelcomeAgent → order—Greeter → DataCollector → Verifier, passing summaries or reflections as context.
-
Benefits:
- Modular design: Add or reorder steps by editing a list.
- Flexible summaries: Quick carryover vs. thoughtful LLM reflections.
Pattern: Nested Chat Teams
- Manager agent spawns a mini‑team on demand.
- Example: A news micro‑team with research, drafting, and fact‑checking agents—all coordinated in one chat.
- Use case: Collaborative writing, turn‑based games or dynamic task delegation.
Pattern: Tool-enabled agents with nested chats
- Agents: White & Black players using GPT-4 Turbo.
- Tool:
BoardProxy
executesget_legal_moves()
andmake_move()
with python-chess. - Flow: Player asks for moves, proxy returns legal UCI options, player chooses and proxy confirms.
- Why it's cool: Combines strategy, tool use, and turn-based coordination inside a conversational loop.
Pattern: Code generation + execution loop
- Roles: Code Writer drafts Python scripts; Executor runs them locally.
- Demo task: Fetch YTD(Year to Date) gains for NVDA/TSLA with
yfinance
and plot viamatplotlib
.
Pattern: Group chat with planning and role distribution
-
Team: Planner → Engineer → Executor → Writer → Admin.
-
Workflow:
- Planner: Breaks down tasks: fetch, analyze, draft.
- Engineer: Writes the python code for each subtask.
- Executor: Runs that code and returns visuals, stats, etc.
- Writer: Drafts the final Markdown report
- Admin: checks progress, requests human approvals.
-
Outcome: A complete stock report, with data pulled, charts generated, and blog written—all through agent interaction.
-
Clone this repo:
git clone https://github.com/maverick4code/AutoAgentium cd AutoAgentium
-
Install dependencies:
pip install -r requirements.txt
If you have ideas to make this project better, want to collaborate, or just chat about AI automation, you can connect with me. LinkedIn: https://www.linkedin.com/in/sagar-shahari-703b84257/