<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Charles</title>
    <description>The latest articles on DEV Community by Charles (@mindofcharles).</description>
    <link>https://dev.to/mindofcharles</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3996522%2Fb74eb7fd-4328-4d91-b786-b681fffdf091.jpg</url>
      <title>DEV Community: Charles</title>
      <link>https://dev.to/mindofcharles</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mindofcharles"/>
    <language>en</language>
    <item>
      <title>AI-Team-Team - A generic dynamic multi-agent collaboration framework</title>
      <dc:creator>Charles</dc:creator>
      <pubDate>Tue, 23 Jun 2026 13:57:43 +0000</pubDate>
      <link>https://dev.to/mindofcharles/ai-team-team-a-generic-dynamic-multi-agent-collaboration-framework-1m6c</link>
      <guid>https://dev.to/mindofcharles/ai-team-team-a-generic-dynamic-multi-agent-collaboration-framework-1m6c</guid>
      <description>&lt;p&gt;With ATT (AI-Team-Team), AI can freely form teams, define how they interact, how teams collaborate, and create all sorts of incredibly complex hierarchical (or dynamic) relationships.&lt;/p&gt;

&lt;p&gt;If you find this project interesting, please support it with a ⭐️ Star! Thank you so very much! 🙏&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Project Repository&lt;/strong&gt;：&lt;a href="https://github.com/AI-Team-Team/AI-Team-Team" rel="noopener noreferrer"&gt;https://github.com/AI-Team-Team/AI-Team-Team&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🧬 Topology &amp;amp; Lineage Control
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tree-like Lineage Spawning&lt;/strong&gt;: Spawns recursive child agent teams (&lt;code&gt;AgentTeam&lt;/code&gt;) at runtime to arbitrary depths, strictly bounded by depth limits to prevent stack overflow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Autonomous Member Configs&lt;/strong&gt;: Defines dynamic child memberships mapping role presets, custom system instructions, and LLM aliases to shape custom agent personalities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Lineage Migration&lt;/strong&gt;: Permits active teams to request parent-hierarchy migrations, arbitrated by modular strategies with loop/cycle detection and parent notification logs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hierarchical Topology Map&lt;/strong&gt;: Injects an ASCII-drawn indented tree map of active teams (displaying purposes, status, and progress metrics in real-time) directly into the agent prompt context.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Global Expert Discovery&lt;/strong&gt;: Automatically appends a directory of all active system experts (names, roles, and profiles) into the agent's identity context to facilitate peer discovery.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🧠 ReAct Loops &amp;amp; Execution Engine
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Bounded ReAct Loops&lt;/strong&gt;: Executes standard Thought/Action/Observation reasoning cycles, capped by max steps to prevent runaway API tokens.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Robust Argument Parser&lt;/strong&gt;: A safe literal lexical parser (&lt;code&gt;ast.literal_eval&lt;/code&gt;) with multiline XML support, code block stripping, and a comma-merging heuristic to handle unquoted complex strings (like SQL queries).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dialogue Memory Compression&lt;/strong&gt;: Automates memory pruning by summarizing early conversation turns using the agent's LLM while preserving the latest high-fidelity messages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Registry &amp;amp; Callbacks&lt;/strong&gt;: Delegates all LLM generation logic to a single global callback handler (&lt;code&gt;generator_handler&lt;/code&gt;), keeping the framework lightweight and vendor-independent.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🗳️ Governance &amp;amp; Inter-Team Communication
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Democratic Voting System&lt;/strong&gt;: Features an asynchronous voting pipeline to add or remove members, requiring unanimous participation and a $\ge 2/3$ agreement majority.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anonymous Voting&lt;/strong&gt;: Enforces voter anonymity via &lt;code&gt;cast_vote(..., public=False)&lt;/code&gt; which masks voter names as &lt;code&gt;"Anonymous Voter"&lt;/code&gt; in the team prompt context.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Negotiation Broker&lt;/strong&gt;: Regulates P2P messaging and agreement tunnels through dynamic parent rules (allowing regex purpose/lineage checks) or interactive LLM leader proxies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Collaborative DocLib Storage&lt;/strong&gt;: Equips teams with built-in document libraries. Access is governed by prefix path ACL permissions (&lt;code&gt;READ&lt;/code&gt;/&lt;code&gt;WRITE&lt;/code&gt;) that inherit recursively downward to subdirectories.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🔒 Context Protection &amp;amp; Safety Gates
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gated Context Protection&lt;/strong&gt;: Restricts direct large file reads; falls back to Outline Warnings with a 5-line sample of files exceeding 50 KB, prompting agents to make paginated, sliced chunk requests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool Auditor Interception&lt;/strong&gt;: Registers pre-execution interception hooks to audit, vet, approve, or reject specific tool calls (e.g. database safety query check).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  💾 Persistence &amp;amp; Diagnostics
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SQLite State Snapshots&lt;/strong&gt;: Automatically serializes topologies, lineages, memory logs, DocLib files, and active voting proposals to SQLite on state changes, enabling crash-recovery.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supervisory Dialogue Audits&lt;/strong&gt;: A non-participating 3-AI Supervisory Team (Integrity, Continuity, Deadlock) reviews round transcripts, recursively escalating anomalies up the tree lineage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decoupled Dashboards&lt;/strong&gt;: Exposes clear runtime callback event hooks (&lt;code&gt;on_status_change&lt;/code&gt;, &lt;code&gt;on_activity_added&lt;/code&gt;, &lt;code&gt;on_log_append&lt;/code&gt;) to update console UIs without codebase pollution.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;(All the features mentioned above have been substantially implemented.)&lt;/p&gt;

&lt;p&gt;🛠️ &lt;strong&gt;Current Status &amp;amp; Future Plans:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The project is currently a fundamentally complete Python package, through which you can observe some fascinating AI sociological behaviors (it has already helped me brainstorm quite a few great ideas). In the near future, I might launch a simple application for end-users based on ATT.&lt;/p&gt;

&lt;p&gt;Many details are still rough around the edges, and some ideas are still being rolled out step by step. However, I personally believe the core concept is highly intriguing, and I warmly welcome your feedback, suggestions, and contributions 👍&lt;/p&gt;

&lt;p&gt;Thanks for reading, and have a great one! Bye!&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
