<?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: Everton Pek</title>
    <description>The latest articles on DEV Community by Everton Pek (@pek).</description>
    <link>https://dev.to/pek</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%2F4041323%2F82b5ba95-b633-4a48-9b30-a9b8e6049725.png</url>
      <title>DEV Community: Everton Pek</title>
      <link>https://dev.to/pek</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pek"/>
    <language>en</language>
    <item>
      <title>Why Should an Inference End as Text on a Screen?</title>
      <dc:creator>Everton Pek</dc:creator>
      <pubDate>Mon, 30 Nov 2026 02:36:19 +0000</pubDate>
      <link>https://dev.to/pek/why-should-an-inference-end-as-text-on-a-screen-3576</link>
      <guid>https://dev.to/pek/why-should-an-inference-end-as-text-on-a-screen-3576</guid>
      <description>&lt;p&gt;Ask a web chat why a build passes locally but fails in CI. It might suggest reinstalling dependencies. Or it might notice that two explanations fit the evidence: the environments could be running different versions of the runtime, or CI could be invoking a different build command. Comparing the workflow with the project configuration would help tell those explanations apart. That choice of what to check is already useful work. It happens before anything reaches a tool.&lt;/p&gt;

&lt;p&gt;This is what I mean when I say the real power of AI is in inference, not in the delivery route. An API and a browser have different costs, constraints, and integration points. But neither deserves credit for the judgment that comparing two pieces of evidence would be more useful than guessing at a fix.&lt;/p&gt;

&lt;h2&gt;
  
  
  The human in the copy-and-paste loop
&lt;/h2&gt;

&lt;p&gt;In a conventional web chat, that judgment often comes back as an instruction: “Open the workflow file and paste the build step here.” The model worked out what it needs. Now you have to carry its decision out of the conversation and carry the evidence back in.&lt;/p&gt;

&lt;p&gt;We built Chat2Agent because we wanted to change that handoff without giving a web chat unrestricted authority over a computer. We created &lt;strong&gt;AXLP/3&lt;/strong&gt; so the chat can express its proposed operation in a form a local engine can interpret. The engine validates the request, checks permissions, and reports the outcome. A model asking to read a file is not evidence that the file has been read. Only the result can establish that.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes on the next turn
&lt;/h2&gt;

&lt;p&gt;Suppose that comparison shows CI runs the same build command as the local project. That doesn't prove the runtime is at fault. But it gives the model a reason to drop one line of investigation and ask a better question. If access is denied instead, the model has learned something different: it still lacks the evidence to diagnose the failure. Either outcome is more useful than a confident report of a check that never happened.&lt;/p&gt;

&lt;p&gt;That's the part of the design I care about. The protocol doesn't create the inference; the web chat was already capable of it. The protocol lets a judgment lead to an action, while keeping permission on the machine where the action would happen. Then the outcome becomes evidence for the next judgment.&lt;/p&gt;

&lt;p&gt;The local edition of &lt;a href="https://github.com/pekgurudigital-tech/chat2agent" rel="noopener noreferrer"&gt;Chat2Agent is open source under Apache 2.0&lt;/a&gt;. If you explore the code, follow one request from the conversation to the local engine and back. That round trip is the idea behind the project.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>llm</category>
    </item>
    <item>
      <title>Quando a IA diz que moveu um arquivo, quem moveu?</title>
      <dc:creator>Everton Pek</dc:creator>
      <pubDate>Sun, 29 Nov 2026 20:15:46 +0000</pubDate>
      <link>https://dev.to/pek/quando-a-ia-diz-que-moveu-um-arquivo-quem-moveu-5451</link>
      <guid>https://dev.to/pek/quando-a-ia-diz-que-moveu-um-arquivo-quem-moveu-5451</guid>
      <description>&lt;p&gt;Se o modelo erra &lt;strong&gt;depois&lt;/strong&gt; que um arquivo foi movido, o agente deve pedir outra resposta. Mas não deve mover o arquivo de novo. Parece óbvio até você ter de decidir onde termina uma tentativa do modelo e onde começa o histórico do que realmente aconteceu no disco.&lt;/p&gt;

&lt;p&gt;Esse foi um dos testes que mais gostei de abrir no &lt;a href="https://github.com/pekgurudigital-tech/chat2agent" rel="noopener noreferrer"&gt;Chat2Agent&lt;/a&gt;, agora sob Apache 2.0. O código mostra a diferença entre o modelo dizer “feito” e o sistema saber o que fez.&lt;/p&gt;

&lt;h2&gt;
  
  
  Repetir a pergunta não é repetir a ação
&lt;/h2&gt;

&lt;p&gt;No &lt;a href="https://github.com/pekgurudigital-tech/chat2agent/blob/main/crates/agentx-core/tests/model_retry.rs" rel="noopener noreferrer"&gt;teste de recuperação do Gemini&lt;/a&gt;, a primeira proposta move um arquivo numa pasta temporária. Isso acontece de fato. A proposta seguinte tenta listar a pasta, mas vem com argumentos faltando e um tipo incorreto. O motor rejeita essa proposta e pede outra resposta, mantendo o resultado do movimento anterior. O teste verifica que o arquivo saiu da origem e que os bytes continuam no destino.&lt;/p&gt;

&lt;p&gt;O detalhe que importa: a nova tentativa acontece &lt;strong&gt;no diálogo&lt;/strong&gt;, não &lt;strong&gt;no disco&lt;/strong&gt;. A operação concluída não volta a ficar pendente só porque a resposta seguinte estava malformada. O modelo ainda pode rever o próximo passo; não pode reescrever o que já aconteceu.&lt;/p&gt;

&lt;h2&gt;
  
  
  O acordo entre o modelo e o motor
&lt;/h2&gt;

&lt;p&gt;Um agente de IA ajudou a criar o &lt;a href="https://github.com/pekgurudigital-tech/chat2agent/blob/main/docs/AXLP_PROTOCOL.md" rel="noopener noreferrer"&gt;AXLP/3&lt;/a&gt;, a linguagem que dá forma às propostas do webchat. Uma saída pode propor uma operação tipada, encerrar com uma resposta ou pedir esclarecimento. O protocolo ajuda o motor a distinguir essas coisas sem tratar uma frase qualquer como ordem.&lt;/p&gt;

&lt;p&gt;Há três responsabilidades diferentes. O &lt;strong&gt;navegador&lt;/strong&gt; transporta o texto. A &lt;strong&gt;inferência&lt;/strong&gt; decide o que propor com o contexto disponível. O &lt;strong&gt;motor local&lt;/strong&gt; valida a proposta, aplica as permissões e devolve o resultado à conversa. A separação fica visível justamente quando algo dá errado.&lt;/p&gt;

&lt;p&gt;Trocar o navegador por uma API pode melhorar a confiabilidade do transporte. Isso não resolve a pergunta mais interessante: dado o que já ocorreu, o modelo consegue propor um próximo passo útil — e o motor sabe o que não deve repetir?&lt;/p&gt;

&lt;h2&gt;
  
  
  Por que abrir esse código
&lt;/h2&gt;

&lt;p&gt;Quero que quem leia “o motor decide” possa ir além da descrição: abrir o teste, ver as verificações e discutir se elas cobrem o caso certo. O repositório inclui o motor Rust, a ponte Chrome, o cliente Windows e a extensão para VS Code. A inferência continua no webchat; o controle da execução fica no computador.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/pekgurudigital-tech/chat2agent" rel="noopener noreferrer"&gt;Código e testes no GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pek.guru/chat2agent" rel="noopener noreferrer"&gt;Versão portátil para Windows&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

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