<?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: Vikas Sharma</title>
    <description>The latest articles on DEV Community by Vikas Sharma (@vikas_sharma_ffe81cb77741).</description>
    <link>https://dev.to/vikas_sharma_ffe81cb77741</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%2F4232626%2F4f1a847e-bc34-43c0-9b15-bfeb1bb84585.png</url>
      <title>DEV Community: Vikas Sharma</title>
      <link>https://dev.to/vikas_sharma_ffe81cb77741</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vikas_sharma_ffe81cb77741"/>
    <language>en</language>
    <item>
      <title>Moving AI Coding Agents from Isolated Terminals to Auditable Team Chat: How We Built CampusHire Relay on Switch AI</title>
      <dc:creator>Vikas Sharma</dc:creator>
      <pubDate>Sat, 07 Nov 2026 18:21:33 +0000</pubDate>
      <link>https://dev.to/vikas_sharma_ffe81cb77741/moving-ai-coding-agents-from-isolated-terminals-to-auditable-team-chat-how-we-built-campushire-53me</link>
      <guid>https://dev.to/vikas_sharma_ffe81cb77741/moving-ai-coding-agents-from-isolated-terminals-to-auditable-team-chat-how-we-built-campushire-53me</guid>
      <description>&lt;p&gt;&lt;em&gt;Published for the WeMakeDevs × DevTools Academy "Flip the Switch" Hackathon (November 2026)&lt;/em&gt;&lt;br&gt;&lt;br&gt;
&lt;em&gt;Targeting Track 01: Best Business Workflow, Track 02: Best Personal / Creative Workflow, and Side Track: Code with Wispr&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Introduction: The Terminal Isolation &amp;amp; "All-or-Nothing" LLM Problem
&lt;/h2&gt;

&lt;p&gt;If you've used tools like Claude Code, OpenAI Codex, or OpenCode over the past year, you’ve experienced the productivity of AI-assisted engineering. You prompt your terminal, the model edits files, runs tests, and fixes syntax errors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Yet, the moment you move into team workflows, terminal-bound agents break down:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Context Ephemerality:&lt;/strong&gt; Everything lives and dies in a local shell session. The moment the tab closes, your team has zero record of why the agent took a specific action.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The "Single-Pilot" Silo:&lt;/strong&gt; Non-technical stakeholders—project managers, HR directors, university placement heads—cannot participate in or oversee what the agent is doing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The "All-or-Nothing" LLM Trap:&lt;/strong&gt; Dispatching every single message check, prompt-injection audit, or tabular calculation to an LLM introduces 2–5 seconds of latency, high token costs, and floating-point arithmetic errors.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;During the &lt;strong&gt;WeMakeDevs × DevTools Academy "Flip the Switch" Hackathon&lt;/strong&gt;, our team built &lt;strong&gt;CampusHire Relay&lt;/strong&gt; to solve this problem.&lt;/p&gt;

&lt;p&gt;CampusHire Relay takes AI coding agents out of isolated developer terminals and embeds them directly into persistent, auditable team channels (&lt;strong&gt;Mattermost / Slack&lt;/strong&gt;) using &lt;strong&gt;Switch AI&lt;/strong&gt;, augmented with &lt;strong&gt;Laya's sub-50ms local neural reflex engine&lt;/strong&gt; for Kahneman Dual-Process cognition.&lt;/p&gt;

&lt;p&gt;🔗 &lt;strong&gt;Quick Links &amp;amp; Live Artifacts:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌐 &lt;strong&gt;Live Web Application:&lt;/strong&gt; &lt;a href="https://switch-campushire-relay.vercel.app/" rel="noopener noreferrer"&gt;https://switch-campushire-relay.vercel.app/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📊 &lt;strong&gt;Interactive Pitch Deck (9 Slides):&lt;/strong&gt; &lt;a href="https://switch-campushire-relay.vercel.app/slides" rel="noopener noreferrer"&gt;https://switch-campushire-relay.vercel.app/slides&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;💻 &lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/vikassharma270907-alt/switch-campushire-relay" rel="noopener noreferrer"&gt;https://github.com/vikassharma270907-alt/switch-campushire-relay&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  1. Dual-Process Architecture: System 1 (Laya) &amp;amp; System 2 (Switch AI)
&lt;/h2&gt;

&lt;p&gt;Rather than treating LLMs as brute-force hammers for every task, CampusHire Relay introduces a two-tier cognitive architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;System 1 (Local Neural Reflex Layer via Laya):&lt;/strong&gt; Fast, sub-50ms local CPU evaluation. Performs prompt-injection guardrails, rapid message intent classification, and real-time STAR mock-interview scoring with zero token expenditure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;System 2 (Deliberative Multi-Agent Collaboration via Switch AI):&lt;/strong&gt; Structured, persistent team chat in Mattermost where three specialized AI coding agents collaborate with humans under cryptographic verification and strict approval gates.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Switch Room 1: #campus-hire-drive (Track 01: Business Operations)
├── System 1 Reflex Gate (Laya: Pre-LLM Injection Check &amp;amp; Intent Routing &amp;lt;1ms)
├── Human Placement Coordinator (@coordinator)
├── Drive Coordinator Agent (@campus-hire-drive-coordinator | addressing: anyone)
└── Eligibility Auditor Agent (@campus-hire-eligibility-auditor | addressing: owner-agents)

Switch Room 2: #student-prep-studio (Track 02: Candidate Interview Prep)
├── Shortlisted Students (STU001, STU002)
├── Career Coach Agent (@campus-hire-career-coach | addressing: anyone)
└── System 1 Reflex Coach (Laya: Spoken STAR Rubric Scoring &amp;amp; Recommendations)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  2. Under the Hood: Six Switch Primitives We Leveraged
&lt;/h2&gt;

&lt;p&gt;CampusHire Relay is engineered around Switch's native architectural mechanisms:&lt;/p&gt;

&lt;h3&gt;
  
  
  Primitive 1: PostgreSQL Row-Backed Message Bus
&lt;/h3&gt;

&lt;p&gt;In Switch, every room, thread, and message is an auditable row in PostgreSQL protected by workspace Row-Level Security (RLS). When a recruiter notice is processed and approved, that decision is immutably logged.&lt;/p&gt;

&lt;h3&gt;
  
  
  Primitive 2: Addressing Policy (&lt;code&gt;anyone&lt;/code&gt; vs. &lt;code&gt;owner-agents&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Switch uniquely decouples resource access from invocation rights:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;@campus-hire-drive-coordinator&lt;/code&gt; has &lt;code&gt;addressing: anyone&lt;/code&gt;: Any placement officer in the channel can post a notice and ask the agent to parse it.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;@campus-hire-eligibility-auditor&lt;/code&gt; is locked to &lt;code&gt;addressing: owner-agents&lt;/code&gt;: Only the coordinator agent or workspace owner can trigger a database audit.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Primitive 3: Room Instructions (&lt;code&gt;switch/room-instructions.md&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Switch briefs every agent joining a room with persistent instructions. We use this to enforce:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;System 1 pre-screening before ingesting recruiter notices.&lt;/li&gt;
&lt;li&gt;Mandatory human approval before database queries.&lt;/li&gt;
&lt;li&gt;Communicative dehallucination (halting when notices omit cutoffs).&lt;/li&gt;
&lt;li&gt;PII minimization (logging only student IDs like &lt;code&gt;STU001&lt;/code&gt; in public channels).&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Primitive 4: Three-Factor Security Compliance
&lt;/h3&gt;

&lt;p&gt;Switch's documentation warns against the simultaneous presence of:&lt;br&gt;
&lt;code&gt;Unsupervised Action&lt;/code&gt; + &lt;code&gt;Critical Reach&lt;/code&gt; + &lt;code&gt;Unvetted Input&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;CampusHire Relay breaks this unsafe triad:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;External recruiter notices (&lt;em&gt;Unvetted Input&lt;/em&gt;) are pre-screened by Laya in &amp;lt;1ms, parsed by the coordinator agent, and locked behind a mandatory &lt;strong&gt;Human Approval Gate&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The student database (&lt;em&gt;Critical Reach&lt;/em&gt;) is queried exclusively by a deterministic Python script, never by an autonomous LLM prompt.&lt;/li&gt;
&lt;li&gt;Candidate coaching is separated into a linked room (&lt;code&gt;#student-prep-studio&lt;/code&gt;), completely isolated from the master database.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Primitive 5: Room Documents (&lt;code&gt;!list-documents&lt;/code&gt;)
&lt;/h3&gt;

&lt;p&gt;Agents store structured knowledge directly into room memory using &lt;code&gt;create_room_document&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;drive_brief.json&lt;/code&gt;: The locked, approved eligibility rules.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;audit_receipt.json&lt;/code&gt;: A SHA-256 cryptographic receipt of input CSV, criteria JSON, and verified output CSV.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Primitive 6: Wispr Flow Voice Dictation
&lt;/h3&gt;

&lt;p&gt;By integrating Wispr Flow, placement coordinators dictate approvals hands-free (&lt;em&gt;"Approved. @coord lock the criteria and hand off to @auditor"&lt;/em&gt;), while students in &lt;code&gt;#student-prep-studio&lt;/code&gt; practice spoken STAR-method mock interviews with &lt;code&gt;@campus-hire-career-coach&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Academic Research Grounding: Why Our Multi-Agent Design Works
&lt;/h2&gt;

&lt;p&gt;Our architecture is informed by 2024–2026 academic research in multi-agent systems:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The MAST Failure Taxonomy (Cemri et al., UC Berkeley 2025; arXiv:2503.13657):&lt;/strong&gt;
In an analysis of 1,642 multi-agent traces across 7 frameworks, 44.2% of failures stemmed from system design issues and 32.4% from inter-agent misalignment. The study showed that independent agents operating without centralized oversight amplify errors by &lt;strong&gt;17.2×&lt;/strong&gt; compared to &lt;strong&gt;4.4×&lt;/strong&gt; with centralized coordination. Switch provides that exact centralized coordination layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kahneman Dual-Process &amp;amp; ProgRouter (Li et al., ACL EMNLP 2026; arXiv:2608.25992):&lt;/strong&gt;
Step-wise routing: local neural reflex (Laya) for sub-50ms filtering and intent routing, reserving high-order LLM reasoning for multi-agent negotiation, while delegating tabular calculations to deterministic Python scripts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Communicative Dehallucination (ChatDev, Qian et al., ACL 2024):&lt;/strong&gt;
When agents proactively request clarification on ambiguous inputs before acting, executability increases to 88%. Our parser (&lt;code&gt;extract_criteria.py&lt;/code&gt;) outputs &lt;code&gt;requires_human_clarification: true&lt;/code&gt; whenever a notice omits cutoffs, halting execution before errors propagate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured Handoffs &amp;amp; SOPs (MetaGPT, Hong et al., ICLR 2024):&lt;/strong&gt;
MetaGPT proved that passing typed schemas rather than free prose reduces code corrections by 67%. Our agents exchange strict JSON and CSV artifacts (&lt;code&gt;drive_brief.json&lt;/code&gt;, &lt;code&gt;audit_receipt.json&lt;/code&gt;, &lt;code&gt;eligible.csv&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  4. Quickstart: Reproducing CampusHire Relay in 60 Seconds
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Clone &amp;amp; install dependencies&lt;/span&gt;
git clone https://github.com/vikassharma270907-alt/switch-campushire-relay.git
&lt;span class="nb"&gt;cd &lt;/span&gt;switch-campushire-relay
pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt

&lt;span class="c"&gt;# 2. Run the automated test suite (100% pass)&lt;/span&gt;
pytest &lt;span class="nt"&gt;-v&lt;/span&gt;

&lt;span class="c"&gt;# 3. Execute the deterministic pipeline end-to-end&lt;/span&gt;
python scripts/laya_gate.py audit-notice data/sample_recruiter_notice.md
python scripts/extract_criteria.py data/sample_recruiter_notice.md outputs/drive_brief.json
python scripts/validate_eligibility.py data/sample_students.csv outputs/drive_brief.json outputs/eligibility_results.csv
python scripts/generate_reports.py
python scripts/generate_student_prep.py
python scripts/laya_gate.py evaluate-star &lt;span class="s2"&gt;"During my final year project, our team optimized database throughput. I built an asynchronous Redis caching layer, reducing latency by 65%."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  The Verification Output:
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"students_csv_sha256"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"5508f7aa6fb03130a2c1fbc69e6aeaaad7cf2eb138d772961a9d2b131d7e68c5"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"criteria_json_sha256"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"82647df707ab784312e7b6844219477b7007baeb47e57cf974bb81a153a10f7d"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"results_csv_sha256"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"4a9debe425ba232e9291ccc09be05f80fef3d40ee9a9690fad8465bdb5600d82"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"total_records"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"eligible_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"not_eligible_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"needs_review_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Conclusion: The Future of Team-Agent Collaboration
&lt;/h2&gt;

&lt;p&gt;The greatest value of AI in 2026 isn't a chatbot answering questions in an isolated silo. It is the ability for humans and specialized AI coding agents to collaborate in shared, governed team spaces.&lt;/p&gt;

&lt;p&gt;With &lt;strong&gt;Switch AI&lt;/strong&gt; and &lt;strong&gt;Laya&lt;/strong&gt;, our coding agents are no longer solitary CLI utilities—they are accountable teammates. &lt;/p&gt;

&lt;p&gt;Check out our repository at &lt;a href="https://github.com/vikassharma270907-alt/switch-campushire-relay" rel="noopener noreferrer"&gt;vikassharma270907-alt/switch-campushire-relay&lt;/a&gt;, star the project on GitHub, test the live app at &lt;a href="https://switch-campushire-relay.vercel.app/" rel="noopener noreferrer"&gt;switch-campushire-relay.vercel.app&lt;/a&gt;, and join us in flipping the switch!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devtools</category>
      <category>python</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
