<?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>DUMB DEV Community: He Man </title>
    <description>The latest articles on DUMB DEV Community by He Man  (@he_man).</description>
    <link>https://dumb.dev.to/he_man</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3683250%2Faa06fa07-fb01-4ffc-82dd-6cf1be4b1329.png</url>
      <title>DUMB DEV Community: He Man </title>
      <link>https://dumb.dev.to/he_man</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dumb.dev.to/feed/he_man"/>
    <language>en</language>
    <item>
      <title>Implicit Intent Routing</title>
      <dc:creator>He Man </dc:creator>
      <pubDate>Thu, 22 Jan 2026 21:49:22 +0000</pubDate>
      <link>https://dumb.dev.to/he_man/implicit-intent-routing-a4k</link>
      <guid>https://dumb.dev.to/he_man/implicit-intent-routing-a4k</guid>
      <description>&lt;p&gt;``I’ve been working on refining the UX for "Hybrid Agents"—assistants that need to switch seamlessly between casual conversation, clarifying requirements, and executing rigid tasks (like an IDE or Researcher).&lt;/p&gt;

&lt;p&gt;The challenge is always the same: How do we know when to chat and when to show the "Run" button?&lt;/p&gt;

&lt;p&gt;I see a lot of implementations using complex Router Chains or heavy System Prompts to classify intent. But after experimenting with different patterns, I’ve found that the cleanest approach is actually much simpler. It relies entirely on JSON Schema Constraints (Implicit Intent Routing).&lt;/p&gt;

&lt;p&gt;Here is the logic I’m using:&lt;/p&gt;

&lt;p&gt;1️⃣ The Constraint: Define your tools with strict required parameters (e.g., specific colors, dates, or file paths).&lt;/p&gt;

&lt;p&gt;2️⃣ The Router: Use tool_choice="auto" and trust the model.&lt;/p&gt;

&lt;p&gt;The result is a seamless 3-state flow without any explicit state management code:&lt;/p&gt;

&lt;p&gt;✅ Scenario A (Chat):&lt;/p&gt;

&lt;p&gt;User: "Hi"&lt;/p&gt;

&lt;p&gt;Agent: Knows it doesn't need tools.&lt;/p&gt;

&lt;p&gt;Result: Chat Response.&lt;/p&gt;

&lt;p&gt;✅ Scenario B (Negotiation):&lt;/p&gt;

&lt;p&gt;User: "Update the UI."&lt;/p&gt;

&lt;p&gt;Agent: Wants to use the tool, but the required parameter (color) is missing. It is forced by the schema to ask for it.&lt;/p&gt;

&lt;p&gt;Result: "Sure, what color do you prefer?"&lt;/p&gt;

&lt;p&gt;✅ Scenario C (Execution):&lt;/p&gt;

&lt;p&gt;User: "Update the button to Blue."&lt;/p&gt;

&lt;p&gt;Agent: Schema is fully satisfied.&lt;/p&gt;

&lt;p&gt;Result: Intercept the tool call → Show "Proceed" Button.&lt;/p&gt;

&lt;p&gt;It effectively removes the need for a separate "Intent Classifier" model. The schema is the classifier.&lt;/p&gt;

&lt;p&gt;I’d love to hear how you are handling this "Chat vs. Execute" flow in your agents. Is anyone using a different pattern that works better?&lt;/p&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  1. The Schema acts as the State Manager
&lt;/h1&gt;

&lt;p&gt;tool_config = {&lt;br&gt;
    "name": "update_ui",&lt;br&gt;
    "parameters": {&lt;br&gt;
        "properties": {"color": {"type": "string"}}, &lt;br&gt;
        "required": ["color"] # &amp;lt;--- The magic constraint&lt;br&gt;
    }&lt;br&gt;
}&lt;/p&gt;

&lt;h1&gt;
  
  
  2. One generic loop handles all states
&lt;/h1&gt;

&lt;p&gt;response = llm.chat(user_input, tools=[tool_config], tool_choice="auto")&lt;/p&gt;

&lt;p&gt;if response.tool_calls:&lt;br&gt;
    # Schema satisfied = Intent is clear&lt;br&gt;
    # Intercept and show UI Button&lt;br&gt;
    show_confirmation_ui(response.tool_calls[0])&lt;br&gt;
else:&lt;br&gt;
    # Schema not satisfied OR User is just chatting&lt;br&gt;
    # Fallback to conversation&lt;br&gt;
    print(response.content)&lt;br&gt;
&lt;code&gt;&lt;/code&gt;`&lt;/p&gt;

&lt;p&gt;If you're building agents in 2025, try this pattern for a week.&lt;/p&gt;

&lt;p&gt;Would love to hear if this helps you too.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devto</category>
      <category>python</category>
      <category>llm</category>
    </item>
    <item>
      <title>Implicit Intent Routing</title>
      <dc:creator>He Man </dc:creator>
      <pubDate>Thu, 22 Jan 2026 21:44:21 +0000</pubDate>
      <link>https://dumb.dev.to/he_man/implicit-intent-routing-3h60</link>
      <guid>https://dumb.dev.to/he_man/implicit-intent-routing-3h60</guid>
      <description>&lt;p&gt;I’ve been working on refining the UX for "Hybrid Agents"—assistants that need to switch seamlessly between casual conversation, clarifying requirements, and executing rigid tasks (like an IDE or Researcher).&lt;/p&gt;

&lt;p&gt;The challenge is always the same: How do we know when to chat and when to show the "Run" button?&lt;/p&gt;

&lt;p&gt;I see a lot of implementations using complex Router Chains or heavy System Prompts to classify intent. But after experimenting with different patterns, I’ve found that the cleanest approach is actually much simpler. It relies entirely on JSON Schema Constraints (Implicit Intent Routing).&lt;/p&gt;

&lt;p&gt;Here is the logic I’m using:&lt;/p&gt;

&lt;p&gt;1️⃣ The Constraint: Define your tools with strict required parameters (e.g., specific colors, dates, or file paths).&lt;/p&gt;

&lt;p&gt;2️⃣ The Router: Use tool_choice="auto" and trust the model.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ano0tv5goe0rr1lzh8g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ano0tv5goe0rr1lzh8g.png" alt=" " width="800" height="800"&gt;&lt;/a&gt;&lt;br&gt;
The result is a seamless 3-state flow without any explicit state management code:&lt;/p&gt;

&lt;p&gt;✅ Scenario A (Chat):&lt;/p&gt;

&lt;p&gt;User: "Hi"&lt;/p&gt;

&lt;p&gt;Agent: Knows it doesn't need tools.&lt;/p&gt;

&lt;p&gt;Result: Chat Response.&lt;/p&gt;

&lt;p&gt;✅ Scenario B (Negotiation):&lt;/p&gt;

&lt;p&gt;User: "Update the UI."&lt;/p&gt;

&lt;p&gt;Agent: Wants to use the tool, but the required parameter (color) is missing. It is forced by the schema to ask for it.&lt;/p&gt;

&lt;p&gt;Result: "Sure, what color do you prefer?"&lt;/p&gt;

&lt;p&gt;✅ Scenario C (Execution):&lt;/p&gt;

&lt;p&gt;User: "Update the button to Blue."&lt;/p&gt;

&lt;p&gt;Agent: Schema is fully satisfied.&lt;/p&gt;

&lt;p&gt;Result: Intercept the tool call → Show "Proceed" Button.&lt;/p&gt;

&lt;p&gt;It effectively removes the need for a separate "Intent Classifier" model. The schema is the classifier.&lt;/p&gt;

&lt;p&gt;I’d love to hear how you are handling this "Chat vs. Execute" flow in your agents. Is anyone using a different pattern that works better?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# 1. The Schema acts as the State Manager
tool_config = {
    "name": "update_ui",
    "parameters": {
        "properties": {"color": {"type": "string"}}, 
        "required": ["color"] # &amp;lt;--- The magic constraint
    }
}

# 2. One generic loop handles all states
response = llm.chat(user_input, tools=[tool_config], tool_choice="auto")

if response.tool_calls:
    # Schema satisfied = Intent is clear
    # Intercept and show UI Button
    show_confirmation_ui(response.tool_calls[0])
else:
    # Schema not satisfied OR User is just chatting
    # Fallback to conversation
    print(response.content)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you're building agents in 2025, try this pattern for a week.&lt;/p&gt;

&lt;p&gt;Would love to hear if this helps you too.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>devcommunity</category>
      <category>llm</category>
      <category>agenticworkflow</category>
    </item>
    <item>
      <title>AI Research Survey</title>
      <dc:creator>He Man </dc:creator>
      <pubDate>Sun, 28 Dec 2025 22:40:47 +0000</pubDate>
      <link>https://dumb.dev.to/he_man/ai-research-survey-5bon</link>
      <guid>https://dumb.dev.to/he_man/ai-research-survey-5bon</guid>
      <description>&lt;p&gt;Hi everyone 👋&lt;/p&gt;

&lt;p&gt;I’m working on a research paper for my college assessment about how people use different AI models in real workflows.&lt;/p&gt;

&lt;p&gt;I’ve created a quick, anonymous survey (2–3 minutes) to understand usage patterns, challenges, and preferences. There’s no promotion or data collection beyond the responses.&lt;/p&gt;

&lt;p&gt;I’d really appreciate your input if you actively use AI tools. (Happy to share insights once the research is complete.)&lt;/p&gt;

&lt;p&gt;Thank you in advance! 🙏&lt;/p&gt;

&lt;p&gt;Link - (&lt;a href="https://forms.gle/mGXiwPad3vKtFbz6A" rel="noopener noreferrer"&gt;https://forms.gle/mGXiwPad3vKtFbz6A&lt;/a&gt;)&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>contentwriting</category>
      <category>programming</category>
    </item>
    <item>
      <title>AI Models Research Survey</title>
      <dc:creator>He Man </dc:creator>
      <pubDate>Sun, 28 Dec 2025 22:35:38 +0000</pubDate>
      <link>https://dumb.dev.to/he_man/ai-models-research-survey-2ond</link>
      <guid>https://dumb.dev.to/he_man/ai-models-research-survey-2ond</guid>
      <description>&lt;p&gt;Hi everyone 👋&lt;/p&gt;

&lt;p&gt;I’m working on a research paper for my college assessment about how people use different AI models in real workflows.&lt;/p&gt;

&lt;p&gt;I’ve created a quick, anonymous survey (2–3 minutes) to understand usage patterns, challenges, and preferences. There’s no promotion or data collection beyond the responses.&lt;/p&gt;

&lt;p&gt;I’d really appreciate your input if you actively use AI tools. (Happy to share insights once the research is complete.)&lt;/p&gt;

&lt;p&gt;Thank you in advance! 🙏&lt;/p&gt;

&lt;p&gt;Link - (&lt;a href="https://forms.gle/mGXiwPad3vKtFbz6A" rel="noopener noreferrer"&gt;https://forms.gle/mGXiwPad3vKtFbz6A&lt;/a&gt;)&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>programming</category>
      <category>contentwriting</category>
    </item>
  </channel>
</rss>
