<?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: Japheth Gonzales</title>
    <description>The latest articles on DEV Community by Japheth Gonzales (@japhethgonzales).</description>
    <link>https://dev.to/japhethgonzales</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%2F4135960%2F49ba3b81-529e-48ed-ba5d-ae6ae0ce5673.png</url>
      <title>DEV Community: Japheth Gonzales</title>
      <link>https://dev.to/japhethgonzales</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/japhethgonzales"/>
    <language>en</language>
    <item>
      <title>The Complete Guide to Building and Deploying Autonomous Hermes AI Agents</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Wed, 14 Oct 2026 03:53:55 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/the-complete-guide-to-building-and-deploying-autonomous-hermes-ai-agents-n87</link>
      <guid>https://dev.to/japhethgonzales/the-complete-guide-to-building-and-deploying-autonomous-hermes-ai-agents-n87</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F49020u1wtzqk2pz9j83h.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F49020u1wtzqk2pz9j83h.jpg" alt="Cover Image" width="600" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  The Complete Guide to Building and Deploying Autonomous Hermes AI Agents
&lt;/h1&gt;

&lt;p&gt;Open-source AI models have crossed a critical milestone. While early open-weights models excelled mostly at creative generation or unstructured chat, contemporary fine-tuned models like &lt;strong&gt;Hermes 3&lt;/strong&gt; (developed by Nous Research on top of Llama 3.1) are purpose-built for agentic tasks: rigorous multi-turn reasoning, reliable structured JSON generation, and native tool-calling capabilities.&lt;/p&gt;

&lt;p&gt;Whether you are designing a self-hosted enterprise workflow, an autonomous code refactoring assistant, or a personal automated researcher, building an agent with Hermes ensures privacy, cost efficiency, and deterministic control over your runtime.&lt;/p&gt;

&lt;p&gt;In this comprehensive guide, we'll walk through the fundamentals of agentic architectures, deploy Hermes 3 locally and on cloud compute, configure robust tool execution pipelines, and implement production-grade safety patterns.&lt;/p&gt;




&lt;h2&gt;
  
  
  Table of Contents
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Why Choose Hermes for Autonomous Agents?&lt;/li&gt;
&lt;li&gt;Understanding Hermes' Native Tool-Calling Protocol&lt;/li&gt;
&lt;li&gt;Environment Setup &amp;amp; Inference Engine Options&lt;/li&gt;
&lt;li&gt;Building the Agent Loop from Scratch (Python)&lt;/li&gt;
&lt;li&gt;Advanced Agent Architectures: State Machines &amp;amp; Memory&lt;/li&gt;
&lt;li&gt;Framework Integration: LangChain &amp;amp; CrewAI&lt;/li&gt;
&lt;li&gt;Production Hardening, Guardrails, and Observability&lt;/li&gt;
&lt;li&gt;Conclusion &amp;amp; Next Steps&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  1. Why Choose Hermes for Autonomous Agents? &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Many foundational LLMs struggle when tasked with navigating strict API contracts. Common pitfalls include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hallucinating missing parameters.&lt;/li&gt;
&lt;li&gt;Breaking JSON schemas mid-stream.&lt;/li&gt;
&lt;li&gt;Inability to self-correct upon receiving tool error outputs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Hermes 3&lt;/strong&gt; was trained on vast datasets of multi-step function executions, conversational tool iterations, and synthetic scratchpad reasonings. Key advantages include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Tool Calling:&lt;/strong&gt; Hermes formats function calls using structured token delimiters (&lt;code&gt;&amp;lt;tool_call&amp;gt;...&amp;lt;/tool_call&amp;gt;&lt;/code&gt;), minimizing JSON syntax degradation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Neutral Alignment &amp;amp; Deep Steerability:&lt;/strong&gt; Hermes adheres strictly to system prompts without injecting unwarranted refusal behavior, making it exceptional for domain-specific automation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hardware Scalability:&lt;/strong&gt; Available in multiple parameter scales—&lt;strong&gt;8B&lt;/strong&gt; (ideal for local M-series Macs or single consumer GPUs) and &lt;strong&gt;70B/405B&lt;/strong&gt; (suited for enterprise clustering).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. Understanding Hermes' Native Tool-Calling Protocol &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Behind the scenes, Hermes utilizes specialized XML-like formatting tags to organize agent deliberations and actions:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;tools&amp;gt;&lt;/span&gt;
{"name": "execute_sql_query", "description": "Query internal SQLite database", "parameters": {...}}
&lt;span class="nt"&gt;&amp;lt;/tools&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;tool_call&amp;gt;&lt;/span&gt;
{"name": "execute_sql_query", "arguments": {"query": "SELECT count(*) FROM users;"}}
&lt;span class="nt"&gt;&amp;lt;/tool_call&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Modern inference engines like &lt;strong&gt;vLLM&lt;/strong&gt; and &lt;strong&gt;Ollama&lt;/strong&gt; translate these native tokens transparently into the standard OpenAI-compatible &lt;code&gt;tool_calls&lt;/code&gt; schema. This means you get the reliability of open-weights fine-tuning with zero vendor lock-in.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Environment Setup &amp;amp; Inference Engine Options &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Depending on your infrastructure, choose between running locally or on dedicated cloud compute.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option A: Local Deployment via Ollama
&lt;/h3&gt;

&lt;p&gt;Ollama is the fastest way to get Hermes running on macOS or consumer Linux setups:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Install Ollama&lt;/span&gt;
curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://ollama.com/install.sh | sh

&lt;span class="c"&gt;# Pull and launch Hermes 3 (8B quantized)&lt;/span&gt;
ollama run hermes3:8b
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By default, Ollama serves an OpenAI-compatible API at &lt;code&gt;http://localhost:11434/v1&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option B: High-Throughput Production Deployment via vLLM
&lt;/h3&gt;

&lt;p&gt;If deploying on an NVIDIA GPU (e.g., A10G, A100, or RTX 4090), use vLLM for optimized continuous batching and PagedAttention:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;vllm

python &lt;span class="nt"&gt;-m&lt;/span&gt; vllm.entrypoints.openai.api_server &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;--model&lt;/span&gt; nousresearch/Hermes-3-Llama-3.1-8B &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;--port&lt;/span&gt; 8000 &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;--enable-auto-tool-choice&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;--tool-call-parser&lt;/span&gt; hermes &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;--gpu-memory-utilization&lt;/span&gt; 0.90 &lt;span class="se"&gt;\&lt;/span&gt;
    &lt;span class="nt"&gt;--max-model-len&lt;/span&gt; 8192
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  4. Building the Agent Loop from Scratch (Python) &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Let's construct a resilient, multi-turn agent capable of checking stock inventories, executing calculations, and summarizing answers autonomously.&lt;/p&gt;

&lt;h3&gt;
  
  
  Setting Up the Virtual Environment
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 &lt;span class="nt"&gt;-m&lt;/span&gt; venv venv
&lt;span class="nb"&gt;source &lt;/span&gt;venv/bin/activate
pip &lt;span class="nb"&gt;install &lt;/span&gt;openai pydantic httpx rich
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  The Complete Agent Engine (&lt;code&gt;hermes_agent.py&lt;/code&gt;)
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;typing&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Dict&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Any&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;List&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;OpenAI&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;rich.console&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Console&lt;/span&gt;

&lt;span class="n"&gt;console&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Console&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;http://localhost:11434/v1&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Point to your Ollama or vLLM server
&lt;/span&gt;    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;ollama&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;                      &lt;span class="c1"&gt;# Any non-empty string for local setups
&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;MODEL_NAME&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;hermes3:8b&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;

&lt;span class="c1"&gt;# --- Define Tool Implementations ---
&lt;/span&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;get_server_load&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;Simulates retrieving current server resource metrics.&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;cpu_usage&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;42%&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;ram_available&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;12.4GB&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;status&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;nominal&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;})&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;query_database&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="sh"&gt;"""&lt;/span&gt;&lt;span class="s"&gt;Simulated SQL query engine.&lt;/span&gt;&lt;span class="sh"&gt;"""&lt;/span&gt;
    &lt;span class="n"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;[bold yellow][TOOL EXECUTION][/bold yellow] Querying DB: &lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;'"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;SELECT&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;upper&lt;/span&gt;&lt;span class="p"&gt;():&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;([{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;id&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;101&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;item&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Wireless Router&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;stock&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;14&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;price&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;79.99&lt;/span&gt;&lt;span class="p"&gt;}])&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;error&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Only read operations allowed.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;})&lt;/span&gt;

&lt;span class="n"&gt;AVAILABLE_TOOLS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;get_server_load&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;get_server_load&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;query_database&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;query_database&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;TOOL_SCHEMAS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;type&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;function&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;function&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;name&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;get_server_load&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;description&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Fetch real-time metrics including CPU and RAM usage.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;parameters&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;type&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;object&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;properties&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{}}&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;type&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;function&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;function&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;name&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;query_database&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;description&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Run read-only SQL queries to inspect inventory and orders.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;parameters&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;type&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;object&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;properties&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;query&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;type&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;string&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;description&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;SQL SELECT query string.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
                &lt;span class="p"&gt;},&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;required&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;query&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="c1"&gt;# --- Agent Core Execution Loop ---
&lt;/span&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;run_hermes_agent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;task_prompt&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;max_iterations&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;List&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;Dict&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Any&lt;/span&gt;&lt;span class="p"&gt;]]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;system&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;You are Hermes Agent, a precise autonomous AI assistant. &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;You decompose problems methodically and leverage tools whenever objective, &lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;real-time data is required. Always double-check your arguments before calling functions.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
            &lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="p"&gt;},&lt;/span&gt;
        &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;task_prompt&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;

    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;iteration&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;max_iterations&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
        &lt;span class="n"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;[dim]--- Cycle &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;iteration&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt; ---[/dim]&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="n"&gt;response&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
            &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;MODEL_NAME&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;TOOL_SCHEMAS&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="n"&gt;tool_choice&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;auto&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
            &lt;span class="n"&gt;temperature&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;0.2&lt;/span&gt;
        &lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="n"&gt;choice&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;response&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="n"&gt;msg&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;choice&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;
        &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="c1"&gt;# Check if the model decided to invoke functions
&lt;/span&gt;        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tool_calls&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Agent completed the loop without output.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;

        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;tool_call&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;tool_calls&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;tool_name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;tool_call&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;function&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;
            &lt;span class="n"&gt;tool_args&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;loads&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tool_call&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;function&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arguments&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

            &lt;span class="n"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;[cyan]Hermes requested tool:[/cyan] [bold]&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;tool_name&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;[/bold]&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="n"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;[cyan]Arguments:[/cyan] &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;tool_args&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

            &lt;span class="n"&gt;fn&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;AVAILABLE_TOOLS&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;tool_name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;fn&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="k"&gt;try&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                    &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;fn&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt;&lt;span class="n"&gt;tool_args&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="k"&gt;except&lt;/span&gt; &lt;span class="nb"&gt;Exception&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;err&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                    &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;error&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nf"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;err&lt;/span&gt;&lt;span class="p"&gt;)})&lt;/span&gt;
            &lt;span class="k"&gt;else&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;error&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Function &lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;tool_name&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt; not implemented.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;})&lt;/span&gt;

            &lt;span class="c1"&gt;# Inject the execution output back into dialogue history
&lt;/span&gt;            &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;tool&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;tool_call_id&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;tool_call&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;name&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;tool_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;
            &lt;span class="p"&gt;})&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Agent reached maximum iteration threshold without finishing.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;__name__&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;__main__&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;user_goal&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Check if we have any &lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Wireless Router&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt; in our inventory and calculate total stock value.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
    &lt;span class="n"&gt;final_output&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;run_hermes_agent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;user_goal&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;[bold green]Final Agent Response:[/bold green]&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;final_output&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  5. Advanced Agent Architectures: State Machines &amp;amp; Memory &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;While simple loops handle linear tasks, complex long-horizon operations require &lt;strong&gt;state preservation&lt;/strong&gt; and &lt;strong&gt;working memory&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Scratchpad Reasoning:&lt;/strong&gt; Encourage Hermes to output its internal thought process before invoking a tool. This reduces erratic decisions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sliding Memory Windows:&lt;/strong&gt; If your agent runs 15+ tool iterations, context length grows exponentially. Prune or summarize tool messages older than $N$ turns while preserving the system directive and user prompt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failure Self-Correction:&lt;/strong&gt; When a tool call returns an exception (e.g., &lt;code&gt;404 Not Found&lt;/code&gt; or &lt;code&gt;SQL Syntax Error&lt;/code&gt;), Hermes has the intrinsic ability to analyze the traceback and formulate a corrected tool invocation.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  6. Framework Integration: LangChain &amp;amp; CrewAI &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;If your organization uses pre-existing orchestration frameworks, Hermes integrates seamlessly via standard connectors.&lt;/p&gt;

&lt;h3&gt;
  
  
  Using with LangChain
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langchain_openai&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ChatOpenAI&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langchain.agents&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;AgentExecutor&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;create_tool_calling_agent&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langchain_core.prompts&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;ChatPromptTemplate&lt;/span&gt;

&lt;span class="n"&gt;llm&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ChatOpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;http://localhost:11434/v1&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;ollama&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;hermes3:8b&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;temperature&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;0.2&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Define your prompt and bind LangChain tools
&lt;/span&gt;&lt;span class="n"&gt;prompt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ChatPromptTemplate&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;from_messages&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;system&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;You are a helpful automation assistant.&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;human&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;{input}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;placeholder&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;{agent_scratchpad}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;])&lt;/span&gt;

&lt;span class="n"&gt;agent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;create_tool_calling_agent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;llm&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[],&lt;/span&gt; &lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;executor&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;AgentExecutor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;agent&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;agent&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[])&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  7. Production Hardening, Guardrails, and Observability &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;Deploying an autonomous agent to production requires safety controls:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Output Validation:&lt;/strong&gt; Wrap parameter payloads using &lt;code&gt;pydantic&lt;/code&gt; schemas to reject malformed calls before they reach production databases or third-party webhooks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rate Limiting &amp;amp; Execution Budgets:&lt;/strong&gt; Always configure a hard timeout (e.g., 30 seconds) and iteration limits ($K \le 8$) to avoid infinite recursion loops.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trace Logging:&lt;/strong&gt; Integrate tools like OpenTelemetry or Langfuse to monitor latency, token usage, and prompt drift over time.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  8. Conclusion &amp;amp; Next Steps &lt;a&gt;&lt;/a&gt;
&lt;/h2&gt;

&lt;p&gt;With Hermes 3, developers no longer need to sacrifice data privacy or accept exorbitant API bills to run sophisticated, tool-enabled AI agents. By combining local quantization with robust function-calling architectures, you can build self-healing pipelines that perform real work reliably.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Next Steps:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Spin up Hermes locally with Ollama.&lt;/li&gt;
&lt;li&gt;Plug in your own custom database or API integrations.&lt;/li&gt;
&lt;li&gt;Add human-in-the-loop verification steps for critical mutation operations (e.g., deleting records, sending emails).&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/complete-guide-to-building-hermes-ai-agents" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>software</category>
      <category>tech</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Why Modern Applications Must Be Built for AI Agents and AI Integration</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Wed, 30 Sep 2026 12:23:52 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/why-modern-applications-must-be-built-for-ai-agents-and-ai-integration-101p</link>
      <guid>https://dev.to/japhethgonzales/why-modern-applications-must-be-built-for-ai-agents-and-ai-integration-101p</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8xle792561fq78p9h6j5.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8xle792561fq78p9h6j5.jpg" alt="Cover Image" width="800" height="1000"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Modern Applications Must Be Built for AI Agents and AI Integration
&lt;/h3&gt;

&lt;p&gt;Building software applications today is no longer just about delivering a visually appealing user interface for human end-users. We are stepping directly into the agentic era, where a significant portion of application interactions will be carried out by autonomous AI agents acting on behalf of human users.&lt;/p&gt;

&lt;p&gt;Designing applications to be AI-friendly and AI-agent ready is fast becoming a core requirement rather than an optional feature.&lt;/p&gt;




&lt;h4&gt;
  
  
  1. The Paradigm Shift from UI to Agentic UX
&lt;/h4&gt;

&lt;p&gt;In traditional app development, focus is heavily placed on pixel-perfect user interfaces tailored exclusively for human visual navigation. However, modern users increasingly value immediate task execution over manual navigation. &lt;/p&gt;

&lt;p&gt;Instead of opening an application and clicking through multiple menus to perform an action, users are delegating tasks directly to AI assistants. If an application lacks structured interfaces that an AI can interpret and invoke, it effectively becomes invisible within agentic workflows.&lt;/p&gt;

&lt;h4&gt;
  
  
  2. Function Calling as the New Integration Standard
&lt;/h4&gt;

&lt;p&gt;Modern Large Language Models rely on function calling and tool execution to interact with external systems. &lt;/p&gt;

&lt;p&gt;When an application is designed with AI interoperability in mind, it can be integrated directly into broader AI ecosystems such as OpenAI GPTs, Claude Projects, and custom LangChain agents. This transforms the application into an accessible tool for solving complex user problems automatically.&lt;/p&gt;

&lt;h4&gt;
  
  
  3. Prioritizing Structured Data Over Visual Presentation
&lt;/h4&gt;

&lt;p&gt;AI agents do not process design styling or layout animations; they rely on structured, predictable, and clean data payloads. &lt;/p&gt;

&lt;p&gt;By exposing well-documented APIs, utilizing Schema.org specifications, and adhering to clean HTML structures, developers make it straightforward for AI tools to accurately parse, understand, and interact with the platform.&lt;/p&gt;

&lt;h4&gt;
  
  
  4. Enhancing Automation and Workflow Retention
&lt;/h4&gt;

&lt;p&gt;AI-friendly software allows for deep workflow automation. When AI models can reliably query and trigger application endpoints, users can incorporate the app into automated pipelines using platforms like Zapier, Make, or custom agent scripts. This level of interoperability significantly enhances user retention and system utility.&lt;/p&gt;

&lt;h4&gt;
  
  
  5. Future-Proofing Software Architecture
&lt;/h4&gt;

&lt;p&gt;Much like search engine optimization became mandatory for web visibility in the early web era, AI compatibility is becoming mandatory for software relevance today. Applications that fail to support machine readability risk becoming obsolete as user habits transition toward conversation-driven and agent-driven computing.&lt;/p&gt;




&lt;h3&gt;
  
  
  Key Steps to Make Applications AI-Ready
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Expose Well-Documented APIs:&lt;/strong&gt; Maintain clean REST or GraphQL APIs accompanied by comprehensive OpenAPI or Swagger specifications.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adopt Semantic Markup:&lt;/strong&gt; Use clear HTML tags and structured metadata so web-browsing agents can parse web content without ambiguity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Provide Machine-Readable Manifests:&lt;/strong&gt; Offer clear documentation files, such as OpenAPI definitions or standardized tool descriptors, that specify supported capabilities for LLM integrations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Building for AI agents does not mean ignoring human users. It means expanding access, enabling users to interact with applications through whatever interface best fits their needs.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/why-modern-applications-must-be-built-for-ai-agents" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>software</category>
      <category>tech</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Bakit Top-Tier ang AI Agents sa Business ngayong 2026: Spotlight sa Muse at Grokbot</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Fri, 25 Sep 2026 10:29:04 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/bakit-top-tier-ang-ai-agents-sa-business-ngayong-2026-spotlight-sa-muse-at-grokbot-2055</link>
      <guid>https://dev.to/japhethgonzales/bakit-top-tier-ang-ai-agents-sa-business-ngayong-2026-spotlight-sa-muse-at-grokbot-2055</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkher20p87bx85ynklcjf.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkher20p87bx85ynklcjf.jpg" alt="Cover Image" width="735" height="702"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Bakit Top-Tier ang AI Agents sa Business ngayong 2026: Spotlight sa Muse at Grokbot
&lt;/h1&gt;

&lt;p&gt;Sa mabilis na takbo ng teknolohiya, hindi na lang basta chatbot o simple automation tools ang mga AI agents. Pagpasok ng &lt;strong&gt;2026&lt;/strong&gt;, ang mga AI agents ay naging backbone na ng halos lahat ng matagumpay na negosyo—maliit man o malaki. &lt;/p&gt;

&lt;p&gt;Hindi na lang sila sumasagot sa mga katanungan; gumagawa na sila ng desisyon, nag-aautomate ng complex workflows, at nagbibigay ng hyper-personalized na karanasan sa mga customer.&lt;/p&gt;




&lt;h2&gt;
  
  
  Bakit Game-Changer ang AI Agents sa Business?
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Autonomous Decision-Making:&lt;/strong&gt; Hindi na kailangan ng constant human supervision para sa routine tasks. Kayang mag-analyze ng data ng AI agent at gumawa ng aksyon sa real-time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;24/7 Efficiency at Scalability:&lt;/strong&gt; Lumalago ang negosyo nang hindi kinakailangang sabay na magdagdag ng daan-daang tauhan para sa customer support at operations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost Reduction:&lt;/strong&gt; Mas mababa ang operational costs habang tumataas ang productivity at accuracy sa trabaho.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Spotlight sa mga Giant Innovators ngayong 2026
&lt;/h2&gt;

&lt;p&gt;Para lubusang maunawaan kung bakit nasa tuktok ang AI agents ngayon, tingnan natin ang dalawang malaking halimbawa na nangunguna sa merkado:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Muse by Meta
&lt;/h3&gt;

&lt;p&gt;Kilala ang Meta sa pagpapabuti ng koneksyon ng tao, at ang &lt;strong&gt;Muse&lt;/strong&gt; ang kanilang obra-maestra para sa creative at interactive business solutions. Ang Muse ay dalubhasa sa:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Real-time Creative Generation:&lt;/strong&gt; Kayang lumikha ng tailored marketing assets, visual campaigns, at interactive media para sa mga brand sa loob lamang ng ilang segundo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep Consumer Empathy:&lt;/strong&gt; Dinisenyo ito para masusing intindihin ang emosyon at tono ng mga customer, kaya mas natural at epektibo ang engagement sa social commerce.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Grokbot by x (xAI)
&lt;/h3&gt;

&lt;p&gt;Sa kabilang banda, ang &lt;strong&gt;Grokbot&lt;/strong&gt; ng x ay kilala sa bilis, talino, at access nito sa real-time na impormasyon. Para sa mga negosyo, ang Grokbot ay nagbibigay ng:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Market Intelligence:&lt;/strong&gt; Dahil konektado ito sa napapanahong data at trends, nagagamit ito ng mga negosyo para sa mabilisang competitive analysis at financial forecasting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Advanced Problem-Solving:&lt;/strong&gt; Perpekto para sa mga technical industries na nangangailangan ng mabilis, logical, at walang-paligoy-ligoy na solusyon sa mga komplikadong problema.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Paano Mo Ito Magagamit sa Iyong Negosyo?
&lt;/h2&gt;

&lt;p&gt;Hindi mo kailangang maging isang tech giant para makinabang sa AI agents. Ang susi ay ang pagsisimula sa kung anong proseso sa iyong negosyo ang pinakakain ng oras—maging ito man ay customer service, inventory tracking, o content creation.&lt;/p&gt;

&lt;p&gt;Ang 2026 ay taon ng &lt;strong&gt;Intelligent Automation&lt;/strong&gt;. Kung hindi mo pa isinasama ang AI agents sa iyong estratehiya, baka mapag-iwanan ka na ng iyong mga kompetisyon.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Ready ka na bang i-level up ang iyong negosyo gamit ang AI? Mag-comment na sa ibaba o i-reach out kami para sa iba pang tips!&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/bakit-top-tier-ang-ai-agents-sa-business-2026-muse-grokbot" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>software</category>
      <category>tech</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Why AI Agents Are Taking Over in 2026: From Meta's Muse to Grokbot and Beyond</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Fri, 25 Sep 2026 10:15:29 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/why-ai-agents-are-taking-over-in-2026-from-metas-muse-to-grokbot-and-beyond-88a</link>
      <guid>https://dev.to/japhethgonzales/why-ai-agents-are-taking-over-in-2026-from-metas-muse-to-grokbot-and-beyond-88a</guid>
      <description>&lt;h1&gt;
  
  
  Why AI Agents Are Taking Over in 2026: From Meta's Muse to Grokbot and Beyond
&lt;/h1&gt;

&lt;p&gt;Remember when chatting with a chatbot felt like a novelty? Fast forward to 2026, and the landscape has completely shifted. Hindi na lang tayo simpleng nagse-search o nagpapatulong sa pag-draft ng email. We are officially in the era of &lt;strong&gt;Autonomous AI Agents&lt;/strong&gt;—intelligent digital entities capable of reasoning, planning, executing multi-step tasks, and collaborating with each other without constant human hand-holding.&lt;/p&gt;

&lt;p&gt;From Meta’s creative powerhouse &lt;strong&gt;Muse&lt;/strong&gt; to xAI’s razor-sharp &lt;strong&gt;Grokbot&lt;/strong&gt; and beyond, AI agents are reshaping how software is built, how businesses operate, and how creators produce content.&lt;/p&gt;

&lt;p&gt;Here is a deep dive into why 2026 is officially the year AI agents took over—and what it means for you.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Death of the Passive Prompt: From Chatbots to Action-Oriented Agents
&lt;/h2&gt;

&lt;p&gt;For years, AI models were &lt;em&gt;passive&lt;/em&gt;. You gave them a prompt, they generated text or code, and &lt;em&gt;you&lt;/em&gt; had to copy-paste or execute it.&lt;/p&gt;

&lt;p&gt;In 2026, that paradigm is dead. Today’s AI agents possess:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tool Use &amp;amp; API Integration:&lt;/strong&gt; They don't just write code; they deploy it, run tests, debug errors, and push to GitHub automatically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long-term Memory &amp;amp; Context:&lt;/strong&gt; Agents remember your preferences, brand tone, database schema, and project history across weeks of work.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-step Execution:&lt;/strong&gt; Give an agent a goal like &lt;em&gt;"Audit our blog's SEO and rewrite underperforming posts,"&lt;/em&gt; and it will scan your CMS, analyze analytics, execute updates, and generate a summary report.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. Meta's Muse: Redefining Multimodal Content Creation
&lt;/h2&gt;

&lt;p&gt;Meta’s &lt;strong&gt;Muse&lt;/strong&gt; has emerged as a landmark agentic system in 2026. Designed for creators, marketers, and storytellers, Muse goes beyond simple text-to-image or text-to-video generation.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dynamic Asset Orchestration:&lt;/strong&gt; Muse can continuously manage full multimedia campaigns—generating video trailers, creating voiceovers in regional languages, and formatting responsive UI assets simultaneously.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contextual Brand Alignment:&lt;/strong&gt; It learns brand guidelines dynamically and self-corrects visuals and messaging before human review.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Grokbot &amp;amp; The Rise of Real-Time Autonomous Intelligence
&lt;/h2&gt;

&lt;p&gt;On the developer and real-time intelligence front, xAI’s &lt;strong&gt;Grokbot&lt;/strong&gt; represents the next generation of autonomous search and reasoning.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Real-Time Synthesis:&lt;/strong&gt; By leveraging live data pipelines, Grokbot monitors market signals, breaking developments, and live code repositories to make autonomous decisions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Self-Healing Code Pipelines:&lt;/strong&gt; When integrated into modern DevOps stacks, Grokbot detects infrastructure bottlenecks, rewrites failing serverless functions, and applies security patches autonomously.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. Why 2026 is the Tipping Point
&lt;/h2&gt;

&lt;p&gt;Why is this happening &lt;em&gt;now&lt;/em&gt;? Three major technological breakthroughs coalesced in 2026:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Sub-second Inference &amp;amp; Lower Latency:&lt;/strong&gt; Ultra-optimized hardware and small domain-specific models allow agents to perform complex chain-of-thought reasoning in milliseconds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Standardized Agent Protocols (MCP &amp;amp; Beyond):&lt;/strong&gt; Systems like Model Context Protocol (MCP) allow agents to communicate seamlessly with databases, APIs, and microservices across cloud providers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agentic Workflows &amp;gt; Raw Model Scale:&lt;/strong&gt; Businesses realized that a smaller model operating inside a well-structured agent loop outperforms a massive raw LLM every single time.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  5. What This Means for Developers, Creators, and Businesses
&lt;/h2&gt;

&lt;p&gt;Hindi na sapat ang maging familiar lang sa ChatGPT. To stay ahead in 2026, here’s what you need to focus on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;For Developers:&lt;/strong&gt; Shift your mindset from building monolithic web apps to engineering &lt;strong&gt;agent workflows and tool ecosystems&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;For Content Creators:&lt;/strong&gt; Embrace AI agents as co-creators. Let them handle research, distribution, and formatting while you focus on vision and story.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;For Businesses:&lt;/strong&gt; Automate routine workflows using specialized multi-agent systems (e.g., an agent team for customer support, lead generation, and QA).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Final Thoughts: Riding the Agentic Wave
&lt;/h2&gt;

&lt;p&gt;The shift from passive AI to active AI agents isn't just an incremental update—it's a fundamental platform shift similar to the transition from desktop to mobile. As platforms like Meta's Muse and Grokbot lead the charge, the question is no longer &lt;em&gt;“What can AI write for me?”&lt;/em&gt; but &lt;em&gt;“What goal can I delegate to my AI agent today?”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;What AI agents are you using in your workflow this year? Let’s chat in the comments!&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/why-ai-agents-are-taking-over-in-2026-from-metas-muse-to-grokbot-and-beyond" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>software</category>
      <category>tech</category>
      <category>webdev</category>
    </item>
    <item>
      <title>They Said AI Engineering Is Easy Until You Know This</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Mon, 21 Sep 2026 16:04:12 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/they-said-ai-engineering-is-easy-until-you-know-this-4j08</link>
      <guid>https://dev.to/japhethgonzales/they-said-ai-engineering-is-easy-until-you-know-this-4j08</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjt9ioih9msdksak0zohr.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjt9ioih9msdksak0zohr.jpg" alt="Cover Image" width="735" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  They Said AI Engineering Is Easy Until You Know This
&lt;/h1&gt;

&lt;p&gt;Akala ng karamihan, madali lang maging &lt;strong&gt;AI Engineer&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;"Just grab an OpenAI API key, import &lt;code&gt;langchain&lt;/code&gt;, write a nice system prompt, and call it a day, 'di ba?"&lt;/p&gt;

&lt;p&gt;Well, that works great for a weekend hackathon or a Twitter demo. But the moment you try to ship that app to 10,000 real users with actual business logic, SLA requirements, and edge cases, &lt;strong&gt;everything breaks&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Here is the reality check on why AI Engineering is far harder than it looks.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Non-Deterministic Output Means Continuous Testing is Hard
&lt;/h2&gt;

&lt;p&gt;In traditional software engineering, &lt;code&gt;2 + 2&lt;/code&gt; is always &lt;code&gt;4&lt;/code&gt;. If your function passes a unit test today, it passes tomorrow.&lt;/p&gt;

&lt;p&gt;With LLMs, your system is non-deterministic. A prompt that yields perfection today might produce hallucinated nonsense tomorrow because of model drift, temperature variance, or slight prompt adjustments. &lt;/p&gt;

&lt;h3&gt;
  
  
  What you actually need to build:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Comprehensive Eval Frameworks&lt;/strong&gt;: Measuring semantic similarity, correctness, tone, and hallucination rates using LLM-as-a-judge (Ragas, DeepEval, Braintrust).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Regression Testing&lt;/strong&gt;: Ensuring a prompt update fixes issue A without breaking issues B, C, and D.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. RAG is 10% Retrieval, 90% Pain
&lt;/h2&gt;

&lt;p&gt;Building a simple Retrieval-Augmented Generation (RAG) script takes 20 lines of code. Making RAG work reliably in production is a nightmare.&lt;/p&gt;

&lt;p&gt;When your vector search retrieves irrelevant chunks or misses critical context, the LLM gives confident, incorrect answers.&lt;/p&gt;

&lt;h3&gt;
  
  
  Hard problems in production RAG:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Chunking strategies&lt;/strong&gt;: Fixed-size vs. semantic vs. parent-child document chunking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hybrid Search &amp;amp; Reranking&lt;/strong&gt;: Combining BM25 keyword search with dense vector embeddings, plus cross-encoder reranking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vector Database Scaling&lt;/strong&gt;: Managing index updates, metadata filtering, and embedding model migrations.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Latency, Cost, and Token Optimization
&lt;/h2&gt;

&lt;p&gt;Users expect sub-second responses. GPT-4 responding in 6 seconds is an eternity in UI design.&lt;/p&gt;

&lt;p&gt;At the same time, running thousands of unoptimized calls to flagship models will drain your budget fast.&lt;/p&gt;

&lt;h3&gt;
  
  
  How real AI Engineers solve this:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Semantic Caching&lt;/strong&gt;: Reusing previous responses for similar user queries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Routing&lt;/strong&gt;: Routing simple queries to smaller, faster models (e.g., Llama 3 8B, Claude Haiku) and complex ones to frontier models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speculative Decoding &amp;amp; Streaming&lt;/strong&gt;: Optimizing perceived latency through UI streaming and token pre-fetching.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. Security &amp;amp; Guardrails (Prompt Injection is Real)
&lt;/h2&gt;

&lt;p&gt;In traditional web apps, you sanitize SQL inputs. In AI apps, your user input becomes part of the code execution context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt Injection&lt;/strong&gt; can bypass your system instructions, leak internal context, or trigger malicious tool calls.&lt;/p&gt;

&lt;h3&gt;
  
  
  Production requirements:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Input sanitization and guardrail layers (NeMo Guardrails, Llama Guard).&lt;/li&gt;
&lt;li&gt;Strict Tool Call schema validation to prevent unauthorized database modifications or API calls.&lt;/li&gt;
&lt;li&gt;PII redaction before sending data to third-party providers.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;AI Engineering isn't just about prompt tuning. It's &lt;strong&gt;systems engineering, data orchestration, observability, and software architecture&lt;/strong&gt; combined with a probabilistic runtime.&lt;/p&gt;

&lt;p&gt;So next time someone tells you AI Engineering is easy, show them your Eval dashboard, latency graphs, and RAG pipeline setup! 🚀&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/they-said-ai-engineering-is-easy-until-you-know-this" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>technology</category>
    </item>
    <item>
      <title>Adapting to the AI Era: Why Filipino IT Educators Must Upskill (And the Cautionary Tale of Nokia &amp; BlackBerry)</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Mon, 21 Sep 2026 15:58:50 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/adapting-to-the-ai-era-why-filipino-it-educators-must-upskill-and-the-cautionary-tale-of-nokia--8o3</link>
      <guid>https://dev.to/japhethgonzales/adapting-to-the-ai-era-why-filipino-it-educators-must-upskill-and-the-cautionary-tale-of-nokia--8o3</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9rzykcxgs7rakfetrkwl.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F9rzykcxgs7rakfetrkwl.jpg" alt="Cover Image" width="754" height="603"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Adapting to the AI Era: Why Filipino IT Educators Must Upskill (And the Cautionary Tale of Nokia &amp;amp; BlackBerry)
&lt;/h1&gt;

&lt;p&gt;In today's fast-changing technology landscape, the phrase &lt;strong&gt;"Adapt or Die"&lt;/strong&gt; is no longer just a corporate mantra—it is a critical imperative for &lt;strong&gt;IT educators in the Philippines&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;As Artificial Intelligence (AI) reshapes software development, cybersecurity, data science, and everyday industry practices, tech teachers face a crossroads: &lt;strong&gt;Will we lead our students into the future, or will we teach them tools and paradigms that are already obsolete?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To understand why stagnation is dangerous, we only need to look back at one of the biggest tech shifts in modern history: &lt;strong&gt;The rise of Apple's iPhone and the collapse of Nokia and BlackBerry.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Cautionary Tale: How Nokia and BlackBerry Lost the Smartphone War
&lt;/h2&gt;

&lt;p&gt;In the mid-2000s, &lt;strong&gt;Nokia&lt;/strong&gt; and &lt;strong&gt;BlackBerry (Research In Motion)&lt;/strong&gt; were the undisputed kings of the mobile world.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nokia&lt;/strong&gt; dominated global market share with indestructible hardware, long battery life, and the Symbian OS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;BlackBerry&lt;/strong&gt; was the gold standard for corporate business, secure messaging (BBM), and physical QWERTY keyboards.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They felt invincible. But in &lt;strong&gt;2007&lt;/strong&gt;, Steve Jobs stepped onto a stage and introduced the &lt;strong&gt;Apple iPhone&lt;/strong&gt;—a device with a full glass capacitive touchscreen, an intuitive operating system (iOS), and eventually, an &lt;strong&gt;App Store&lt;/strong&gt; ecosystem.&lt;/p&gt;

&lt;h3&gt;
  
  
  What Went Wrong?
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Complacency and Denial:&lt;/strong&gt; Nokia and BlackBerry leadership initially dismissed the iPhone as a toy with bad battery life and no physical keyboard. They believed enterprise users and general consumers would never abandon physical buttons.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Software vs. Hardware Mindset:&lt;/strong&gt; Nokia and BlackBerry viewed phones primarily as &lt;em&gt;hardware&lt;/em&gt; devices that ran basic utilities. Apple viewed the iPhone as a &lt;em&gt;pocket computer&lt;/em&gt; powered by software and apps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failure to Adapt Quickly:&lt;/strong&gt; By the time Nokia launched touch-based Symbian/MeeGo phones and BlackBerry introduced touchscreen devices like the BlackBerry Storm, the iPhone and Android ecosystem had already captured developers, users, and industry momentum.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Within a few short years, market leaders holding over 60–70% of the market were reduced to irrelevance. &lt;strong&gt;They didn't fail because their hardware was bad; they failed because they refused to embrace a paradigm shift in time.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The AI Revolution: Education's "iPhone Moment"
&lt;/h2&gt;

&lt;p&gt;Generative AI (ChatGPT, GitHub Copilot, Claude, Gemini) is the &lt;strong&gt;iPhone moment&lt;/strong&gt; for Information Technology and Computer Science education.&lt;/p&gt;

&lt;p&gt;In the Philippines, many IT curricula still heavily emphasize traditional rote programming syntax, legacy web frameworks, or manual debugging methods without acknowledging AI tools. While foundational logic remains vital, teaching IT today &lt;em&gt;without&lt;/em&gt; integrating AI is like teaching mobile development in 2012 for a Symbian or BlackBerry keyboard interface while ignoring iOS and Android.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Filipino IT Teachers MUST Upskill Now:
&lt;/h3&gt;

&lt;h3&gt;
  
  
  1. Our Students Are Already Using AI
&lt;/h3&gt;

&lt;p&gt;Students are leveraging AI tools daily for code generation, debugging, and research. If educators don't understand how these tools work, they cannot properly evaluate student performance, guide ethical usage, or teach critical thinking over copy-pasting.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Industry Demands AI-Enabled Graduates
&lt;/h3&gt;

&lt;p&gt;Philippine tech employers, BPOs, and global remote companies are actively looking for developers who can use AI to write cleaner code faster, optimize workflows, and build AI-driven applications. An IT curriculum stuck in 2015 prepares graduates for jobs that no longer exist.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. From "Syntax Drillmasters" to "System Architects"
&lt;/h3&gt;

&lt;p&gt;AI can generate basic CRUD code in seconds. The role of the IT teacher must evolve from teaching syntax memorization to fostering &lt;strong&gt;prompt engineering, architectural design, security auditing, algorithmic thinking, and ethical AI implementation&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Avoiding Personal Obsoletion
&lt;/h3&gt;

&lt;p&gt;Just as Symbian developers saw their skills devalued overnight, educators who resist learning AI risk becoming disconnected from industry standards and ineffective in the classroom.&lt;/p&gt;




&lt;h2&gt;
  
  
  How IT Educators in the PH Can Take Action
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Embrace AI Tools in the Classroom:&lt;/strong&gt; Experiment with tools like GitHub Copilot, ChatGPT, or Cursor to understand their strengths and limitations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Update Curriculum and Assessment Methods:&lt;/strong&gt; Shift from traditional written syntax exams to practical problem-solving, code review, and project defense.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integrate AI Ethics &amp;amp; Security:&lt;/strong&gt; Teach students data privacy, IP considerations, and the risks of hallucinated or vulnerable AI code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Continuous Upskilling:&lt;/strong&gt; Participate in workshops, tech communities, and industry certifications on modern AI frameworks and cloud technologies.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Nokia and BlackBerry proved that past success does not guarantee future survival if you ignore major technological shifts. &lt;/p&gt;

&lt;p&gt;For IT educators in the Philippines, &lt;strong&gt;AI is not a threat—it is an opportunity&lt;/strong&gt;. By upskilling today, we ensure that Filipino tech education remains world-class, relevant, and capable of empowering the next generation of global tech leaders.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/adapting-to-ai-era-filipino-it-educators-upskill" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>technology</category>
    </item>
    <item>
      <title>Why Raw AI Is Killing Your Brand (And How Vibe Directing Saves It)</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Mon, 21 Sep 2026 15:58:34 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/why-raw-ai-is-killing-your-brand-and-how-vibe-directing-saves-it-4hmp</link>
      <guid>https://dev.to/japhethgonzales/why-raw-ai-is-killing-your-brand-and-how-vibe-directing-saves-it-4hmp</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frojsviyvxe0pfnenispd.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frojsviyvxe0pfnenispd.jpg" alt="Cover Image" width="736" height="1308"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Why Raw AI Is Killing Your Brand (And How Vibe Directing Saves It)
&lt;/h1&gt;

&lt;p&gt;Scroll through your social media feeds today, and you will inevitably spot them: slick, hyper-polished, yet oddly soulless graphics. From local business flyers to digital ad banners, everyone seems to be using generative AI to produce visual content in seconds.&lt;/p&gt;

&lt;p&gt;At first glance, it looks efficient. But to your audience, it communicates something entirely different: &lt;strong&gt;a lack of care, preparation, and brand vision.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There is nothing inherently wrong with using Artificial Intelligence in creative workflows. However, relying on &lt;strong&gt;raw, unrefined AI outputs&lt;/strong&gt; is actively eroding brand trust. Here is why basic AI generation is harming your business—and how professional designers use &lt;strong&gt;"Vibe Directing"&lt;/strong&gt; to keep creative assets distinct, authentic, and on-brand.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Raw AI Trap: Cheap Visuals, Broken Trust
&lt;/h2&gt;

&lt;p&gt;When businesses take raw prompts and directly publish the first output from AI tools, several critical problems emerge:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The "AI Aesthetic" Fatigue:&lt;/strong&gt; Audiences have developed an intuitive radar for default AI art—plastic skin textures, generic layout composition, and uncanny elements. When viewers see this, they immediately sense low effort.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Loss of Brand Identity:&lt;/strong&gt; Generic prompts produce generic visuals. If your brand looks identical to ten other businesses using the same prompts, your visual identity disappears.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Intentionality:&lt;/strong&gt; Great design isn't just about pretty images; it's about context, strategy, and emotional resonance. Raw AI lacks the context of your specific brand narrative.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"When your audience senses an asset wasn't prepared with care, they assume the same about your product or service."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  AI is a Backup, Not the Creator
&lt;/h2&gt;

&lt;p&gt;As designers, we don't view AI as a replacement for craftsmanship—we treat it as a powerful &lt;strong&gt;backup engine&lt;/strong&gt; and concept accelerator.&lt;/p&gt;

&lt;p&gt;The real secret of modern design workflow isn't eliminating AI; it's making sure &lt;strong&gt;no one can tell AI was involved.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AI generates raw options; human designers bring taste, curation, color theory, typography, composition, and emotional nuance. The gap between a lazy AI post and an impactful brand asset lies in the transition from basic prompting to &lt;strong&gt;Vibe Directing&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Vibe Directing?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Vibe Directing&lt;/strong&gt; is the discipline of treating generative tools not as automated designers, but as visual performers that require strict creative direction.&lt;/p&gt;

&lt;p&gt;Instead of asking an AI to "make a poster for a coffee shop," a Vibe Director establishes a precise framework using a structured &lt;strong&gt;Masterprompt Formula&lt;/strong&gt; for images and video.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Elements of a Masterprompt Formula:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Lighting &amp;amp; Optics:&lt;/strong&gt; Defining exact lens focal lengths, aperture, depth of field, and ambient light quality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Color Palette &amp;amp; Texture:&lt;/strong&gt; Locking in precise brand color grades, film grain, tactile textures, and surface finishes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Artistic Style &amp;amp; Composition:&lt;/strong&gt; Dictating framing rules, negative space for typography placement, and visual hierarchy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mood &amp;amp; Narrative:&lt;/strong&gt; Infusing subtle emotional cues that align directly with the brand persona.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After generating raw assets via a Masterprompt, the designer takes over—retouching, color-grading, integrating custom typography, and ensuring flawless brand alignment.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Takeaway: Control the Vibe or Lose the Brand
&lt;/h2&gt;

&lt;p&gt;Technology has made asset generation instant, but &lt;strong&gt;taste, strategy, and creative direction remain rare commodities.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If your business relies solely on raw AI outputs to save time, you may be saving money in the short term while quietly damaging your brand equity. AI can produce an image in five seconds, but only a human designer can direct a vibe that truly converts.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/why-raw-ai-is-killing-your-brand-vibe-directing" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>technology</category>
    </item>
    <item>
      <title>Handling the 'AGI' Hype: What to Know Before Forming Opinions on GPT-6 Astra</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Mon, 21 Sep 2026 15:53:13 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/handling-the-agi-hype-what-to-know-before-forming-opinions-on-gpt-6-astra-2j7m</link>
      <guid>https://dev.to/japhethgonzales/handling-the-agi-hype-what-to-know-before-forming-opinions-on-gpt-6-astra-2j7m</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffmxiro12am8wsx2kwmtm.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffmxiro12am8wsx2kwmtm.jpg" alt="Cover Image" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Handling the 'AGI' Hype: What to Know Before Forming Opinions on GPT-6 Astra
&lt;/h1&gt;

&lt;p&gt;Whenever a generational leap in artificial intelligence makes headlines—such as the buzz surrounding &lt;strong&gt;GPT-6 Astra&lt;/strong&gt;—two predictable reactions take over: blinding techno-optimism and existential panic. Words like &lt;strong&gt;"AGI has arrived"&lt;/strong&gt; start flying around social media feeds, Slack channels, and executive boardrooms.&lt;/p&gt;

&lt;p&gt;Bigat ng topic, di ba? Before everyone jumps to conclusions, takes sides in heated debates, or overhauls company roadmaps in panic, it’s critical to pause, ground our perspective, and approach the technology with a clear, critical mindset.&lt;/p&gt;

&lt;p&gt;Here is what you need to understand about the model before testing it, how to form a balanced opinion, and how to communicate effectively with people caught up in the hype.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. What to Evaluate Before You Jump In
&lt;/h2&gt;

&lt;p&gt;Before deciding whether GPT-6 Astra represents true Artificial General Intelligence or simply an extraordinary reasoning engine, look at the fundamentals:&lt;/p&gt;

&lt;h3&gt;
  
  
  A. Benchmark Performance vs. Real-World Agency
&lt;/h3&gt;

&lt;p&gt;Synthetic benchmarks often inflate capabilities. Just because an autonomous model solves abstract logic puzzles or competitive coding challenges doesn't mean it can reliably navigate ambiguous business logic, dirty production data, or dynamic human nuances. Test Astra against your &lt;strong&gt;actual workflows&lt;/strong&gt;, not synthetic test sets.&lt;/p&gt;

&lt;h3&gt;
  
  
  B. Alignment, Drift, and Non-Deterministic Risk
&lt;/h3&gt;

&lt;p&gt;As models gain recursive planning and self-correction abilities (hallmarks of the Astra architecture), debugging failures becomes harder. Ask:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How consistent are its outputs under high ambiguity?&lt;/li&gt;
&lt;li&gt;Does it fail gracefully, or does it confidently hallucinate actionable mistakes?&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  C. Compute Costs and Operational Feasibility
&lt;/h3&gt;

&lt;p&gt;Next-gen models require significant latency and token overhead, especially if multi-step chain-of-thought is active. Determine whether you actually need frontier-grade power for your use case or if fine-tuned specialized models deliver better ROI.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. How to Deal with People Around You
&lt;/h2&gt;

&lt;p&gt;In any team or community, people will split into distinct camps when confronted with next-tier AI. Here is how to navigate each group:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. The Alarmists ("Is AI replacing our jobs tomorrow?")
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Acknowledge the anxiety:&lt;/strong&gt; Dismissing fears as paranoia creates defensiveness. Acknowledge that technological velocity is indeed intimidating.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frame AI as a leverage amplifier:&lt;/strong&gt; Shift the dialogue from &lt;em&gt;replacement&lt;/em&gt; to &lt;em&gt;capacity expansion&lt;/em&gt;. Show how high-level autonomy handles cognitive grunt work, allowing people to focus on strategic judgment, relationship building, and execution.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. The Over-Hyped Enthusiasts ("Let's automate everything with Astra!")
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Set guardrails:&lt;/strong&gt; Enthusiasm without verification leads to security vulnerabilities and broken pipelines. Remind them of compliance, hallucination rates, and edge-case testing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Demand proof-of-concepts:&lt;/strong&gt; Challenge over-excited colleagues to validate claims with empirical data rather than relying on viral demos.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. The Absolute Skeptics ("It's just next-token prediction, nothing new")
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Show pragmatic utility:&lt;/strong&gt; Avoid theoretical arguments about consciousness or sentience. Demonstrate concrete scenarios where GPT-6 Astra solves previously intractable multi-modal reasoning problems in minutes.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Before Giving Your Public Opinion: A 4-Step Checklist
&lt;/h2&gt;

&lt;p&gt;If you are writing, speaking, or advising others on GPT-6 Astra, hold back your hot take until you have completed this checklist:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Did I test edge cases personally?&lt;/strong&gt; Don't echo someone else's viral benchmark thread. Run your own reproducible prompts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Am I defining 'AGI' clearly?&lt;/strong&gt; Most online arguments happen because two people use "AGI" to mean completely different things (e.g., broad economic utility vs. human-equivalent consciousness).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is my feedback constructive or reactionary?&lt;/strong&gt; Knee-jerk cynicism is just as lazy as blind hype. Provide nuanced, actionable analysis.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What are the downstream consequences?&lt;/strong&gt; Consider ethical implications, data privacy, and societal readiness before presenting solutions as silver bullets.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  The Takeaway
&lt;/h2&gt;

&lt;p&gt;Whether GPT-6 Astra represents the dawn of true AGI or simply the next summit in deep learning, how we respond matters more than the buzzwords. Stay objective, measure real-world performance over PR claims, and lead conversations with grounded empathy rather than fear or blind hype.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/handling-agi-hype-gpt6-astra-guide" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>technology</category>
    </item>
    <item>
      <title>If I Could Turn Back Time: My Personal Roadmap to Becoming an AI &amp; Software Engineer</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Mon, 21 Sep 2026 15:52:57 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/if-i-could-turn-back-time-my-personal-roadmap-to-becoming-an-ai-software-engineer-2l3b</link>
      <guid>https://dev.to/japhethgonzales/if-i-could-turn-back-time-my-personal-roadmap-to-becoming-an-ai-software-engineer-2l3b</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0f66bejjhi1z09six5l4.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0f66bejjhi1z09six5l4.jpg" alt="Cover Image" width="735" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  If I Could Turn Back Time: My Personal Roadmap to Becoming an AI &amp;amp; Software Engineer
&lt;/h1&gt;

&lt;p&gt;Looking back at my student years, I often catch myself wondering, &lt;em&gt;"What if?"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;What if I stayed consistent? What if I didn't let self-doubt, distractions, or the slow pace of school hold me back? Like many, I lived through moments of regret—times when I relied too heavily on the classroom curriculum, thinking that passing my subjects was enough to build a career in tech. &lt;/p&gt;

&lt;p&gt;Spoiler alert: &lt;strong&gt;it wasn't.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If I were handed a time machine today and placed back in a classroom, I wouldn't waste a single day waiting for a syllabus to define my potential. Here is the personal story and exact roadmap I would follow to become a successful Software and AI Engineer from scratch.&lt;/p&gt;




&lt;h2&gt;
  
  
  Chapter 1: The Mindset Shift — School is a Tool, Not the Ceiling
&lt;/h2&gt;

&lt;p&gt;The biggest mistake I made in the past was assuming school would teach me everything. Standard university curricula are often outdated by the time you enroll. &lt;/p&gt;

&lt;p&gt;If I went back, my mindset on Day 1 would be simple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;School gives me structure; self-study gives me mastery.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consistency over intensity:&lt;/strong&gt; Coding 1 hour every single day beats a 12-hour cramming session before exams.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Build in public:&lt;/strong&gt; Don't wait until graduation to showcase what you can do.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Chapter 2: Year 1 — The Fundamentals &amp;amp; Daily Discipline
&lt;/h2&gt;

&lt;p&gt;If I were a freshman again, I wouldn't rush directly into complex AI models. AI is built on the shoulders of traditional software engineering.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Master One Primary Language
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Focus heavily on &lt;strong&gt;Python&lt;/strong&gt; (for AI/Data) and &lt;strong&gt;JavaScript/TypeScript&lt;/strong&gt; or &lt;strong&gt;C++&lt;/strong&gt; (for core programming principles).&lt;/li&gt;
&lt;li&gt;Understand control flow, Object-Oriented Programming (OOP), and memory management basic concepts.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Conquer Data Structures &amp;amp; Algorithms (DSA)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Solve 1 LeetCode or HackerRank problem daily.&lt;/li&gt;
&lt;li&gt;Focus on Arrays, Hash Maps, Linked Lists, Trees, and Sorting Algorithms.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Git &amp;amp; Version Control
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Make GitHub my second home. Every lab exercise, personal project, and experiment gets pushed to GitHub with clean commit messages.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Chapter 3: Year 2 — Software Engineering Core &amp;amp; The Math Behind AI
&lt;/h2&gt;

&lt;p&gt;By year two, while my classmates are waiting for instructions, I would already be bridging the gap between Web Development and Mathematics.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Modern Software Development
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; Learn &lt;strong&gt;FastAPI&lt;/strong&gt; or &lt;strong&gt;Node.js&lt;/strong&gt; to build RESTful APIs and handle database interactions (PostgreSQL, MongoDB).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; Master basic modern web design with &lt;strong&gt;React&lt;/strong&gt; or &lt;strong&gt;Next.js&lt;/strong&gt; so I can bring my ideas to visual life.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;System Design:&lt;/strong&gt; Learn how web apps scale, handle traffic, and manage caching (Redis).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. The Unsung Hero: Essential Mathematics for AI
&lt;/h3&gt;

&lt;p&gt;Instead of treating math as just another subject to pass, I would study it with intention:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Linear Algebra:&lt;/strong&gt; Vectors, matrices, eigenvalues (the backbone of neural networks).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Calculus:&lt;/strong&gt; Derivatives, gradient descent, optimization.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Probability &amp;amp; Statistics:&lt;/strong&gt; Hypothesis testing, distributions, Bayes' Theorem.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Chapter 4: Year 3 — Deep Dive into Artificial Intelligence &amp;amp; MLOps
&lt;/h2&gt;

&lt;p&gt;This is where the magic happens. Instead of just consuming AI applications, I'd learn to build and deploy them.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Machine Learning Fundamentals
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Master libraries like &lt;strong&gt;Pandas&lt;/strong&gt;, &lt;strong&gt;NumPy&lt;/strong&gt;, &lt;strong&gt;Scikit-Learn&lt;/strong&gt;, and &lt;strong&gt;Matplotlib&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Understand classical algorithms: Regression, Decision Trees, Random Forests, and Clustering.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Deep Learning &amp;amp; Neural Networks
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Dive into &lt;strong&gt;PyTorch&lt;/strong&gt; (the industry standard for AI research and production).&lt;/li&gt;
&lt;li&gt;Build Convolutional Neural Networks (CNNs) for Computer Vision and Recurrent Neural Networks/Transformers for Natural Language Processing (NLP).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Modern AI &amp;amp; LLM Engineering
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Work with OpenAI APIs, Hugging Face Transformers, and local models (Ollama, vLLM).&lt;/li&gt;
&lt;li&gt;Build Retrieval-Augmented Generation (&lt;strong&gt;RAG&lt;/strong&gt;) pipelines using Vector Databases (ChromaDB, Pinecone).&lt;/li&gt;
&lt;li&gt;Learn LangChain or LlamaIndex for autonomous AI agent orchestration.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Chapter 5: Year 4 — Proof of Work &amp;amp; Overcoming Regret
&lt;/h2&gt;

&lt;p&gt;In my final year, school would just be a background task while my real portfolio takes center stage.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Build 3 Flagship Projects
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Project 1:&lt;/strong&gt; A full-stack SaaS application with authentication and payment integration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Project 2:&lt;/strong&gt; An end-to-end AI agent tool (e.g., automated research assistant or customer support bot with custom RAG).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Project 3:&lt;/strong&gt; An open-source contribution to a tool I use daily.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. The Job Search Strategy
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Document the Journey:&lt;/strong&gt; Write tech blog posts explaining complex topics in simple Taglish/English.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Networking:&lt;/strong&gt; Reach out to senior software and AI engineers on LinkedIn, attending meetups, and participating in hackathons.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resume:&lt;/strong&gt; Highlight impact and links to live deployed applications rather than just academic grades.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Final Words: Turning Regret into Fuel
&lt;/h2&gt;

&lt;p&gt;If you are reading this as a current student: &lt;strong&gt;you are in the position I once dreamed of having again.&lt;/strong&gt; Do not let the four walls of your university set the limit for what you can achieve.&lt;/p&gt;

&lt;p&gt;Regret is heavy, but action is light. You don't need a top-tier school, a expensive laptop, or permission from anyone. All you need is consistency, curiosity, and the courage to start today.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/if-i-could-turn-back-time-student-roadmap-ai-software-engineer" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>technology</category>
    </item>
    <item>
      <title>Why AI Agents Aren't a One-Size-Fits-All for Enterprise (And What Actually Works)</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Mon, 21 Sep 2026 15:47:35 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/why-ai-agents-arent-a-one-size-fits-all-for-enterprise-and-what-actually-works-47o3</link>
      <guid>https://dev.to/japhethgonzales/why-ai-agents-arent-a-one-size-fits-all-for-enterprise-and-what-actually-works-47o3</guid>
      <description>&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%2Fcdn.cosmos.so%2F5f329eb1-4804-44ba-a001-5f75844c8f3c%3Fformat%3Dwebp" 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%2Fcdn.cosmos.so%2F5f329eb1-4804-44ba-a001-5f75844c8f3c%3Fformat%3Dwebp" alt="Cover Image" width="1080" height="1349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Every time a new AI framework or harness drops, the instinct for many tech teams is immediate: &lt;em&gt;"Let's roll this out across the whole enterprise!"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It sounds brilliant on paper—an army of AI agents running autonomously, handling cross-departmental workflows, and learning on the fly. But when you actually try implementing it at scale, reality hits hard. Enterprise environments are simply too huge, unpredictable, and fragmented to control with a blanket AI harness.&lt;/p&gt;

&lt;p&gt;Here is what I learned while building and testing AI agents in real-world workflows.&lt;/p&gt;




&lt;h3&gt;
  
  
  The Myth of the Enterprise-Wide AI Harness
&lt;/h3&gt;

&lt;p&gt;AI agents and harnesses learn over time, but their immediate intelligence is strictly bounded by local context and data sources. When you try to force an AI harness onto an entire enterprise, several issues pop up:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Data Source Limits:&lt;/strong&gt; An agent in a localized context is only as smart as the data fed into it. If your source material is scattered, unorganized, or limited, the agent will hallucinate or return generic, useless results.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-User Chaos:&lt;/strong&gt; When hundreds of employees across different roles interact with the same agent system, input variability explodes. Without strict boundaries, building a system that satisfies everyone without breaking is nearly impossible.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scope Creep:&lt;/strong&gt; AI agents excel at specific, repetitive, or domain-bound tasks. The moment you push them into multi-departmental decision-making, control slips out of your hands.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;AI harnesses aren't ready to rule the entire enterprise—they shine best when scoped down to &lt;strong&gt;personal workflows or specific, specialized departments&lt;/strong&gt;.&lt;/p&gt;




&lt;h3&gt;
  
  
  Garbage In, Garbage Out: The Browser Problem
&lt;/h3&gt;

&lt;p&gt;There's another huge trap when deploying AI agents: relying blindly on live web browsing or unvetted external data.&lt;/p&gt;

&lt;p&gt;Let's be honest—a huge chunk of information on the internet is straight-up garbage. Outdated documentation, SEO-bloated articles, hallucinated blog posts, and conflicting opinions clog search results. &lt;/p&gt;

&lt;p&gt;If your AI agent searches the web or reads uncurated browser data, &lt;strong&gt;how do you actually know if the information it found is accurate?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Even if you give your agent the coolest tools, custom skills, and detailed system prompts, &lt;strong&gt;it will fail if your input sources are messy.&lt;/strong&gt; Aanhin mo yung magagandang tools at sources na nilagay mo kung sa huli, pangit ang result dahil hindi detailed, organized, or reliable yung underlying documentation?&lt;/p&gt;




&lt;h3&gt;
  
  
  What Actually Makes AI Agents Work: Architecture &amp;amp; Discipline
&lt;/h3&gt;

&lt;p&gt;This was one of the biggest eye-openers for me, inspired by insights from &lt;a href="https://www.linkedin.com/in/miguel-zayco-6315b9b/" rel="noopener noreferrer"&gt;Miguel Zayco&lt;/a&gt; (Kuya Miggy). Seeing how he continuously upskills and implements AI agents in practical scenarios made one thing clear: &lt;strong&gt;success with AI agents is not about hype—it’s about architecture and discipline.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To make an AI agent system actually deliver value, you need:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A Skilled Handler:&lt;/strong&gt; Someone who truly understands agent behavior, token limits, context windows, and prompt engineering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Meticulous Documentation:&lt;/strong&gt; Clean, structured, highly detailed knowledge bases. If your internal docs are chaos, your agent will output chaos.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Departmental Focus:&lt;/strong&gt; Start small. Build an agent specifically for customer support, or for internal code review, or for legal doc indexing. Master that specific sandbox before attempting anything bigger.&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  Final Thoughts
&lt;/h3&gt;

&lt;p&gt;AI agents and harnesses are incredibly powerful tools, but they aren't magic dust you can sprinkle over an enterprise to solve organizational problems. &lt;/p&gt;

&lt;p&gt;Before you build your next agent framework, clean up your documentation, filter out the noise, and assign someone who actually knows how to architect these systems properly. That’s how you go from useless AI gimmicks to genuine operational breakthroughs.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/why-ai-agents-arent-one-size-fits-all-enterprise" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>technology</category>
    </item>
    <item>
      <title>Why Every Startup Founder Needs to Understand RAG (Retrieval-Augmented Generation)</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Mon, 21 Sep 2026 15:47:20 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/why-every-startup-founder-needs-to-understand-rag-retrieval-augmented-generation-1hhk</link>
      <guid>https://dev.to/japhethgonzales/why-every-startup-founder-needs-to-understand-rag-retrieval-augmented-generation-1hhk</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmezhkildgi2t6rvqgj8p.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmezhkildgi2t6rvqgj8p.jpg" alt="Cover Image" width="735" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Why Every Startup Founder Needs to Understand RAG (Retrieval-Augmented Generation)
&lt;/h1&gt;

&lt;p&gt;In the fast-paced world of artificial intelligence, founders are rushing to integrate LLMs (Large Language Models) like ChatGPT into their products and business workflows. Pero subalit datapwat, many run into a massive roadblock: &lt;strong&gt;generic AI models don't know your business, and they often make things up (hallucinations).&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is where &lt;strong&gt;Retrieval-Augmented Generation (RAG)&lt;/strong&gt; comes in. If you are building a startup or scaling your operations in 2024 and beyond, understanding RAG is no longer optional—it's a competitive necessity.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Exactly is RAG?
&lt;/h2&gt;

&lt;p&gt;In simple terms, &lt;strong&gt;RAG combines search with generation&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Imagine hiring a brilliant assistant with photographic memory (the LLM). However, this assistant doesn't know your company's secret recipes, internal SOPs, or updated product pricing. &lt;/p&gt;

&lt;p&gt;Instead of making your assistant guess or re-train them from scratch (which costs thousands of dollars), you give them access to an instant search engine connected to your company database. Whenever a customer or team member asks a question, the assistant:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Retrieves&lt;/strong&gt; relevant facts from your documents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Augments&lt;/strong&gt; the prompt with those facts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generates&lt;/strong&gt; an accurate, tailored response based &lt;em&gt;only&lt;/em&gt; on your actual data.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Why Standard LLMs Aren't Enough for Business
&lt;/h2&gt;

&lt;p&gt;Out-of-the-box LLMs are impressive, but they suffer from three major issues for startups:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Knowledge Cutoffs:&lt;/strong&gt; Base models only know what they were trained on up to a certain point.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hallucinations:&lt;/strong&gt; When an LLM doesn't know the answer, it confidently invents incorrect facts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lack of Proprietary Knowledge:&lt;/strong&gt; Public models don't have access to your CRM, support tickets, internal wikis, or proprietary code.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4 Reasons Startups Must Adopt RAG
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Zero Hallucinations, Maximum Accuracy
&lt;/h3&gt;

&lt;p&gt;By grounding the AI's response in retrieved ground-truth documents, RAG drastically reduces hallucination risks. When a user asks about your pricing or return policy, the AI responds based on your real policy doc—not an educated guess.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Cost and Speed Efficiency vs. Fine-Tuning
&lt;/h3&gt;

&lt;p&gt;Fine-tuning a custom model requires expensive GPU compute, massive datasets, and machine learning expertise. Every time your company data updates, you'd have to fine-tune again. With RAG, when your documentation updates, you simply update your database index—instant, cheap, and seamless.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Data Privacy and Governance
&lt;/h3&gt;

&lt;p&gt;With RAG architectures, your sensitive proprietary data remains in your secure vector database. You control what information gets passed into the context window, giving you complete oversight over user permissions and compliance.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Source Citation and Auditability
&lt;/h3&gt;

&lt;p&gt;Because RAG references specific document chunks, your AI assistant can provide exact source links and citations for its answers. This builds trust with both internal teams and external customers.&lt;/p&gt;




&lt;h2&gt;
  
  
  Practical Use Cases for Your Business
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;24/7 Customer Support Bots:&lt;/strong&gt; Connect your product documentation and FAQ to deliver hyper-accurate support responses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Internal Knowledge Bases (HR &amp;amp; Ops):&lt;/strong&gt; Onboard new employees faster by letting them ask questions against company SOPs, handbooks, and Slack archives.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Legal &amp;amp; Financial Document Analysis:&lt;/strong&gt; Instantly analyze contracts, pitch decks, and financial statements by retrieving relevant clauses in seconds.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Final Thoughts: The ROI of RAG for Startups
&lt;/h2&gt;

&lt;p&gt;For startups, speed to execution and resource allocation are everything. RAG gives you enterprise-grade AI capabilities at a fraction of the cost and dev effort of building proprietary models from scratch.&lt;/p&gt;

&lt;p&gt;If you want your startup to deliver reliable, intelligent, and context-aware AI features to your customers, &lt;strong&gt;RAG is the foundation you should be building on today.&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/why-every-startup-founder-needs-to-understand-rag" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>technology</category>
    </item>
    <item>
      <title>Mastering Token Management in AI Agent Harnesses &amp; Hermes</title>
      <dc:creator>Japheth Gonzales</dc:creator>
      <pubDate>Mon, 21 Sep 2026 15:41:58 +0000</pubDate>
      <link>https://dev.to/japhethgonzales/mastering-token-management-in-ai-agent-harnesses-hermes-gmk</link>
      <guid>https://dev.to/japhethgonzales/mastering-token-management-in-ai-agent-harnesses-hermes-gmk</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpi9aw597if9zcicg6p5i.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpi9aw597if9zcicg6p5i.jpg" alt="Cover Image" width="735" height="549"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Mastering Token Management in AI Agent Harnesses &amp;amp; Hermes
&lt;/h1&gt;

&lt;p&gt;When building autonomous LLM agents—whether using &lt;strong&gt;Hermes&lt;/strong&gt;, custom agent harnesses, or framework runners—one of the biggest challenges developers face is &lt;strong&gt;token drift and context bloat&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;As agentic workflows run multi-turn loops, tool executions, and file reads, your context window fills up fast. Left unchecked, this results in skyrocketing API costs, higher latency, and degraded performance or context truncation errors.&lt;/p&gt;

&lt;p&gt;In this guide, we will break down practical strategies for managing tokens effectively when running AI agents.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Why Token Management Matters for AI Harnesses
&lt;/h2&gt;

&lt;p&gt;AI Agent harnesses execute code, query tools, and converse in continuous feedback loops. Every tool call returns raw JSON output, error traces, or long text responses that get appended to the conversation context.&lt;/p&gt;

&lt;p&gt;Key risks of unmanaged tokens:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Context Exhaustion:&lt;/strong&gt; Hitting the model's maximum limit (e.g., 128k tokens) causing catastrophic context drops.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost Explosion:&lt;/strong&gt; Paying exponentially more per turn as the prompt context grows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Signal-to-Noise Reduction:&lt;/strong&gt; Important initial instructions get buried under thousands of lines of intermediate tool outputs.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. Core Token Optimization Techniques
&lt;/h2&gt;

&lt;h3&gt;
  
  
  A. Dynamic Context Pruning &amp;amp; Sliding Windows
&lt;/h3&gt;

&lt;p&gt;Instead of keeping full execution history, implement a sliding window strategy. Retain the &lt;strong&gt;System Prompt&lt;/strong&gt; and recent &lt;strong&gt;$N$ messages&lt;/strong&gt;, while trimming intermediate tool logs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Example: Pruning old tool call responses&lt;/span&gt;
&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;pruneContext&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;maxTokens&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;12000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;currentCount&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;countTokens&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;currentCount&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="nx"&gt;maxTokens&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="c1"&gt;// Retain system prompt (index 0)&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;systemMessage&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;conversation&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="c1"&gt;// Filter out older verbose tool outputs&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;pruned&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;conversation&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;role&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;tool&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nx"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;content&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;500&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;[Output truncated to save tokens]&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;};&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;msg&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;});&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;systemMessage&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="nx"&gt;pruned&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  B. Automatic Memory Summarization
&lt;/h3&gt;

&lt;p&gt;When context exceeds a threshold (e.g., 70% capacity), trigger a background summarization agent to compress prior conversational history into structured key-value facts or bullet points.&lt;/p&gt;

&lt;h3&gt;
  
  
  C. Sub-Agent / Isolation Pattern
&lt;/h3&gt;

&lt;p&gt;For token-heavy operations like scanning multi-file repositories or running large SQL queries, spin up isolated sub-agents. Have the sub-agent execute the work in its own clean context window, then return &lt;em&gt;only the final answer&lt;/em&gt; to the primary agent harness.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Configuring Token Boundaries in Hermes
&lt;/h2&gt;

&lt;p&gt;If you are using &lt;strong&gt;Hermes&lt;/strong&gt; or similar open-weights agent frameworks, configure explicit token constraints in your runtime parameters:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Set &lt;code&gt;max_tokens&lt;/code&gt; per step:&lt;/strong&gt; Cap the max generated output length to prevent runaway generation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool Output Sanitization:&lt;/strong&gt; Trim verbose JSON responses before feeding them back into the loop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Telemetry &amp;amp; Observability:&lt;/strong&gt; Track token consumption per turn using tools like Helicone or Langfuse to spot runaway loops early.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Optimizing token management isn't just about reducing your OpenAI or Anthropic bill—it directly improves agent focus, response quality, and speed. By combining sliding context windows, sub-agent isolation, and tool response pruning, your AI harnesses can run reliably even for complex, multi-step tasks.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://japhethgonzales.com/blog/mastering-token-management-in-ai-agent-harnesses-and-hermes" rel="noopener noreferrer"&gt;japhethgonzales.com&lt;/a&gt; by Japheth Gonzales (AI Agent Development Operations Manager @ Ensight).&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>technology</category>
    </item>
  </channel>
</rss>
