<?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: Yomi Dele</title>
    <description>The latest articles on DEV Community by Yomi Dele (@iyomichrist).</description>
    <link>https://dev.to/iyomichrist</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%2F4040862%2F5b91ced8-c8ec-437e-b319-275a46b5d303.jpg</url>
      <title>DEV Community: Yomi Dele</title>
      <link>https://dev.to/iyomichrist</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iyomichrist"/>
    <language>en</language>
    <item>
      <title>Building a 13-Agent Marketing Society on Qwen Cloud — What Actually Broke, and What I Learned Fixing It</title>
      <dc:creator>Yomi Dele</dc:creator>
      <pubDate>Tue, 21 Jul 2026 23:39:35 +0000</pubDate>
      <link>https://dev.to/iyomichrist/building-a-13-agent-marketing-society-on-qwen-cloud-what-actually-broke-and-what-i-learned-23n3</link>
      <guid>https://dev.to/iyomichrist/building-a-13-agent-marketing-society-on-qwen-cloud-what-actually-broke-and-what-i-learned-23n3</guid>
      <description>&lt;p&gt;&lt;em&gt;Written for the Qwen Cloud Global AI Hackathon 2026 — Track 3: Agent Society.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea
&lt;/h2&gt;

&lt;p&gt;Most "AI marketing" tools are one LLM wearing a lot of hats — a single prompt that&lt;br&gt;
generates a social post, then a different prompt that pretends to be an ads&lt;br&gt;
analyst, then another that pretends to audit its own compliance. Track 3 of this&lt;br&gt;
hackathon asks for something different: an &lt;em&gt;agent society&lt;/em&gt; — specialized agents&lt;br&gt;
that actually divide the work and can disagree with each other, the way a real&lt;br&gt;
team does.&lt;/p&gt;

&lt;p&gt;That's what I set out to build with &lt;strong&gt;Nexus AI&lt;/strong&gt;: 13 specialized agents —&lt;br&gt;
Social Manager, Brand Guardian, Digital Marketer, Ads Manager, SEO Expert,&lt;br&gt;
Analytics, Conversion Optimizer, Community Engagement, Market Intelligence,&lt;br&gt;
Dynamic CFO, Security SRE, Calendar Planner, and Media Generator — coordinated&lt;br&gt;
by a central orchestrator, all powered by &lt;strong&gt;Qwen-Max through Alibaba Cloud's&lt;br&gt;
DashScope SDK&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The moment it became a real "society"
&lt;/h2&gt;

&lt;p&gt;The feature I care about most isn't any single agent — it's what happens&lt;br&gt;
&lt;em&gt;between&lt;/em&gt; two of them. Social Manager drafts a LinkedIn post. Before anything&lt;br&gt;
gets auto-published, Brand Guardian independently reviews that exact draft.&lt;/p&gt;

&lt;p&gt;In one real run, Social Manager's draft included the line &lt;em&gt;"Guaranteed 4.2x ROAS&lt;br&gt;
in 14 days, or your money back."&lt;/em&gt; Brand Guardian caught it, flagged it as an&lt;br&gt;
unsubstantiated financial guarantee, blocked it from publishing, and routed it&lt;br&gt;
to a human-approval queue with a specific reason and a suggested rewrite —&lt;br&gt;
while a second draft, one without that claim, sailed through and got&lt;br&gt;
auto-published in the same cycle.&lt;/p&gt;

&lt;p&gt;That's the whole pitch, actually working: two agents, one veto, a real reason&lt;br&gt;
attached. Not a shared script producing two outputs that happen to look&lt;br&gt;
different.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually broke (the part nobody puts in the demo)
&lt;/h2&gt;

&lt;p&gt;The honest version of this build: the codebase I inherited had been through a&lt;br&gt;
mid-project migration — from an async PostgreSQL design to a synchronous&lt;br&gt;
SQLite one — that never finished. The database layer had moved to sync, but&lt;br&gt;
every router still expected an async session; the config file had been&lt;br&gt;
rewritten with different field names than the code still expected; the test&lt;br&gt;
suite's fixtures were still async. None of it would even boot.&lt;/p&gt;

&lt;p&gt;Getting to a working demo meant tracing that mismatch through the entire stack&lt;br&gt;
before a single agent could run — config, database session handling, every&lt;br&gt;
router, the orchestrator, the test fixtures. Once it booted, the harder bug was&lt;br&gt;
quieter: some agents were &lt;em&gt;silently&lt;/em&gt; returning the wrong shaped data. A social&lt;br&gt;
post that happened to mention "SEO" as a topic would make Brand Guardian's&lt;br&gt;
review get hijacked by the SEO agent's response template instead of its own,&lt;br&gt;
because the underlying simulator routed responses by naive keyword matching,&lt;br&gt;
and "SEO" is a normal thing for a marketing post to mention.&lt;/p&gt;

&lt;p&gt;I only found this by refusing to trust "the API call returned 200" as proof of&lt;br&gt;
correctness, and instead systematically auditing what every one of the 13&lt;br&gt;
agents actually produced, end to end, for a full cycle. Two of thirteen were&lt;br&gt;
quietly wrong. Fixing it meant re-keying every agent's routing off something&lt;br&gt;
that can &lt;em&gt;never&lt;/em&gt; collide with user content: each agent's own fixed system&lt;br&gt;
prompt, instead of generic words its output might happen to share with&lt;br&gt;
someone else's.&lt;/p&gt;

&lt;h2&gt;
  
  
  Working with Qwen Cloud directly
&lt;/h2&gt;

&lt;p&gt;The integration itself, once the plumbing was fixed, was straightforward:&lt;br&gt;
&lt;code&gt;dashscope.Generation.call()&lt;/code&gt; against Alibaba Cloud's native endpoint, one&lt;br&gt;
unified &lt;code&gt;QwenClient&lt;/code&gt; that every agent shares, with a high-fidelity local&lt;br&gt;
simulator as a fallback so a demo never depends on live network conditions or&lt;br&gt;
API quota. I verified the real path independently of the simulator — sent a&lt;br&gt;
literal "reply with exactly: REALAPIWORKED" through the actual client class,&lt;br&gt;
got the real word back from Qwen-Max, confirmed the simulator wasn't quietly&lt;br&gt;
intercepting it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;Real OAuth so the agents can act on real social accounts (starting with&lt;br&gt;
X/Twitter), and deployment so this isn't just a local demo. The agent logic&lt;br&gt;
and the Qwen integration were always the easy part in hindsight — the real&lt;br&gt;
work was making sure "multi-agent" was a fact I could prove, not a claim I&lt;br&gt;
could just assert.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built for the Qwen Cloud Global AI Hackathon 2026, Track 3: Agent Society.&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Code: &lt;a href="https://github.com/MelekhYomi/mark-agen-nexus-ai" rel="noopener noreferrer"&gt;github.com/MelekhYomi/mark-agen-nexus-ai&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Whatsapp +2347068561873&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>hackathon</category>
      <category>qwen</category>
      <category>python</category>
    </item>
  </channel>
</rss>
