<?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: Daniel García</title>
    <description>The latest articles on DEV Community by Daniel García (@iamdgarcia).</description>
    <link>https://dev.to/iamdgarcia</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%2F2372763%2F9f7f5a12-9b1d-4d1f-afac-e1e2333846e4.png</url>
      <title>DEV Community: Daniel García</title>
      <link>https://dev.to/iamdgarcia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iamdgarcia"/>
    <language>en</language>
    <item>
      <title>Voice-agent orchestration without speculative side effects</title>
      <dc:creator>Daniel García</dc:creator>
      <pubDate>Fri, 04 Dec 2026 08:12:38 +0000</pubDate>
      <link>https://dev.to/iamdgarcia/voice-agent-orchestration-without-speculative-side-effects-4661</link>
      <guid>https://dev.to/iamdgarcia/voice-agent-orchestration-without-speculative-side-effects-4661</guid>
      <description>&lt;h1&gt;
  
  
  Voice-agent orchestration without speculative side effects
&lt;/h1&gt;

&lt;p&gt;A caller asks for an appointment on Tuesday, adds “afternoons only”, then changes the day to Thursday. A fast answer based on Tuesday's availability is still the wrong answer.&lt;/p&gt;

&lt;p&gt;The useful question is not just whether work can start earlier. It is which work can start, which evidence survives a correction, and what lets the agent report an operation as completed.&lt;/p&gt;

&lt;p&gt;This is a design walkthrough, not an executable controller or a latency benchmark. The appointment is a fictional example. The boundary here excludes booking, sending and other business writes from speculative work. External reads still have effects: they can disclose data, consume quotas and incur costs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with three separate boundaries
&lt;/h2&gt;

&lt;p&gt;Local preparation can identify a likely intent or assemble candidate arguments. Those candidates are not authority to call a tool.&lt;/p&gt;

&lt;p&gt;An external lookup needs its own gate: permitted tool and account, permitted data, complete arguments, relevant purpose and an available request budget. “Read-only” does not remove that gate.&lt;/p&gt;

&lt;p&gt;A booking needs a separate commitment decision. In this proposed flow, it follows a completed request and any confirmation required by the application. A user wanting an appointment is not necessarily approval for every service, time or account the model might select.&lt;/p&gt;

&lt;p&gt;Keep those checks in application code. Model-generated fields such as &lt;code&gt;authorized: true&lt;/code&gt; are proposals, not permissions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Give evidence a dependency key
&lt;/h2&gt;

&lt;p&gt;Do not attach a result only to “the current conversation”. Record what produced it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;availability evidence:
    tool and account
    service, date, time constraint and timezone
    request identifier and observation time
    success, failure or outcome unknown
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Tuesday availability cannot establish Thursday availability. A service-description lookup might remain useful if the service has not changed and its observation is still valid under the application's freshness rule.&lt;/p&gt;

&lt;p&gt;This suggests dependency-based invalidation rather than blindly keeping or discarding every result after any edit. The dependency key is a proposed mechanism, not a tested retrieval policy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Treat late results as a normal event
&lt;/h2&gt;

&lt;p&gt;Cancellation and evidence rejection solve different problems.&lt;/p&gt;

&lt;p&gt;When the caller corrects Tuesday to Thursday, request cancellation if supported. Also mark the Tuesday request obsolete for answering the Thursday question. If it completes later, the response handler must still reject it as evidence for the new date.&lt;/p&gt;

&lt;p&gt;Cancelling a local task does not prove that a remote service stopped, that a charge was avoided, or that a slot was released. Keep unresolved work in the accounting rather than freeing capacity on the assumption that it vanished.&lt;/p&gt;

&lt;p&gt;The following is pseudocode. It omits concrete API schemas, locking and the implementation of the permission checks.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;on_request_update(update):
    apply update to current state
    identify changed dependencies
    mark affected requests obsolete
    request cancellation where supported
    prepare candidates locally
    start only lookups accepted by application gates

on_lookup_result(request, result):
    record the result and request outcome
    if request is obsolete:
        do not use it to answer the current request
    else if dependencies match and freshness is acceptable:
        retain successful evidence
    else:
        retain the outcome, but reject it as current evidence

before_booking(candidate):
    recheck exact target, latest state and permission
    require the application's confirmation gate
    record the write intent
    execute through the separately authorized write adapter
    verify the returned booking against the exact target
    if the write outcome is unknown:
        reconcile before deciding whether to retry
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The last section is deliberately not part of speculative lookup execution. In concurrent systems, checks and dispatch also need protection against a correction arriving between them. Pseudocode alone does not establish that protection.&lt;/p&gt;

&lt;h2&gt;
  
  
  Name the answer state honestly
&lt;/h2&gt;

&lt;p&gt;“Thursday afternoon is available” and “Thursday afternoon is booked” are different claims.&lt;/p&gt;

&lt;p&gt;The first needs suitable current availability evidence. The second needs evidence that the intended booking exists. A successful request acknowledgement may not establish that final state, depending on the provider's contract.&lt;/p&gt;

&lt;p&gt;If a write times out, the agent should retain the exact intended operation and its unresolved outcome. It cannot safely infer either “nothing happened” or “the booking succeeded” from silence. Reconcile against the provider's authoritative state before choosing a retry. This walkthrough does not implement that adapter or claim provider-side idempotency.&lt;/p&gt;

&lt;h2&gt;
  
  
  Evaluate the contract before evaluating speed
&lt;/h2&gt;

&lt;p&gt;Build an offline fake-provider trace before connecting business tools. Include a date correction while a lookup is pending, a late obsolete result, missing lookup permission, a failed lookup and an unresolved booking response.&lt;/p&gt;

&lt;p&gt;For each trace, specify the expected result in advance. For example: no external call without the lookup gate; no Tuesday result used as Thursday evidence; no booking inside the speculative executor; no completion claim from an unresolved write.&lt;/p&gt;

&lt;p&gt;Passing those cases would validate only the behaviour implemented in that fixture. It would not prove remote cancellation, authorization across all accounts or safe production voice operation. No such tests were executed for this article.&lt;/p&gt;

&lt;p&gt;Then compare the complete workflow with and without anticipation. Keep the cases and success criteria fixed. Separate first audible acknowledgement from a useful answer. Track errors, slow responses, retries and total cost, including discarded work. Starting earlier is a hypothesis about improving the interaction, not the result of that comparison.&lt;/p&gt;

&lt;p&gt;The architecture decision gets clearer when preparation, permission and completion evidence stop sharing one vague “done” flag.&lt;/p&gt;

&lt;p&gt;For the broader architecture trade-offs, see the original Spanish guide in The Learning Curve:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://iamdgarcia.substack.com/p/cuatro-arquitecturas-para-construir" rel="noopener noreferrer"&gt;https://iamdgarcia.substack.com/p/cuatro-arquitecturas-para-construir&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>architecture</category>
      <category>systemdesign</category>
    </item>
    <item>
      <title>An agent write timed out: what its memory must retain before a retry</title>
      <dc:creator>Daniel García</dc:creator>
      <pubDate>Fri, 27 Nov 2026 08:59:49 +0000</pubDate>
      <link>https://dev.to/iamdgarcia/an-agent-write-timed-out-what-its-memory-must-retain-before-a-retry-4f0</link>
      <guid>https://dev.to/iamdgarcia/an-agent-write-timed-out-what-its-memory-must-retain-before-a-retry-4f0</guid>
      <description>&lt;p&gt;Your agent sends an update. The connection drops before the response arrives. Its next context contains one sentence: “The update is still pending.”&lt;/p&gt;

&lt;p&gt;That sentence hides the distinction the next decision needs. Was the update never submitted, or was it submitted with an unknown outcome?&lt;/p&gt;

&lt;p&gt;In the first case, an authorized write might be the next step. In the second, repeating it can duplicate an effect that already happened.&lt;/p&gt;

&lt;p&gt;This is a design walkthrough, not a new agent framework release. The examples below are invented records. They do not describe a production incident or a tested transaction controller.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with the decision, not the summary
&lt;/h2&gt;

&lt;p&gt;Use a bounded assignment: set record &lt;code&gt;r-42&lt;/code&gt; to &lt;code&gt;done&lt;/code&gt;, with explicit authorization for that target and change.&lt;/p&gt;

&lt;p&gt;A hand-authored diagnostic in my local research distinguishes two cases:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;timeout_uncertain&lt;/code&gt;: submission timed out and there is no current read-back. The expected next operation is &lt;code&gt;read_back&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;reconciled_timeout&lt;/code&gt;: a subsequent authoritative read-back confirms the requested record state. The expected next operation is &lt;code&gt;finish&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are authored policy expectations. The models were asked to classify an operation, not execute it. An expected label is not evidence of a successful write, valid arguments, or production safety.&lt;/p&gt;

&lt;p&gt;The useful distinction is what the controller must preserve between those cases.&lt;/p&gt;

&lt;h2&gt;
  
  
  Retain the facts that change the next operation
&lt;/h2&gt;

&lt;p&gt;Instead of promoting “pending” to authoritative state, preserve an explicit record of the assignment and attempt. This illustrative representation is a proposed contract, not output from an implemented controller:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"assignment"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"target_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"r-42"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"desired_status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"done"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"scope"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"update r-42 status to done"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"revoked"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"attempt"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"submitted"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"outcome"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"unknown"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"verification"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"observed_target_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"observed_status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&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;p&gt;The important field is not a confidence score. It is &lt;code&gt;submitted: true&lt;/code&gt; combined with &lt;code&gt;outcome: unknown&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The authorization object is only a teaching placeholder. Production code must validate authorization provenance and current scope outside model-selected text. A JSON field does not grant permission.&lt;/p&gt;

&lt;p&gt;Keep the full request, identifiers, tool response or transport failure, and available operation receipt in durable storage. Give the model a bounded view of that history, with exact pointers for expansion. A summary can help it navigate; it must not silently erase an unresolved attempt.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reconcile before choosing a retry
&lt;/h2&gt;

&lt;p&gt;There is no universal recovery API. The decision depends on the operation and provider:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For an operation whose acceptance criterion is current record state, read the exact target from the authoritative system.&lt;/li&gt;
&lt;li&gt;If the provider offers an operation-status or idempotency receipt, inspect that receipt as well.&lt;/li&gt;
&lt;li&gt;If the effect cannot be observed reliably, keep the outcome unknown and escalate. Do not manufacture a failure to make retrying convenient.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A read-back of &lt;code&gt;r-43&lt;/code&gt; does not resolve an attempt against &lt;code&gt;r-42&lt;/code&gt;. A historical snapshot does not establish the current result. A matching value does not prove that this attempt caused it.&lt;/p&gt;

&lt;p&gt;That last distinction matters for actions with additional effects. A record can have the requested status while duplicate notifications have already gone out. Sending a message is not verified merely by reading a related record.&lt;/p&gt;

&lt;p&gt;Choose the observation that corresponds to the actual acceptance criterion. If it cannot answer the relevant question, it is not sufficient evidence to close the task.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do not outsource the recovery policy to relevance scoring
&lt;/h2&gt;

&lt;p&gt;The model can interpret a local assignment or request missing evidence. Software should retain unresolved attempts, enforce permission, and reject unsupported completion.&lt;/p&gt;

&lt;p&gt;In the earlier local evidence-selection diagnostic, a read-only constraint received a low relevance score and would have been dropped. Software retained an independent permission block. That was a narrow diagnostic, not a security certification or a calibrated retrieval policy.&lt;/p&gt;

&lt;p&gt;The design implication is straightforward: “must not repeat an uncertain write” and “may only write within current authorization” are control rules, not optional snippets competing for a place in top-k retrieval.&lt;/p&gt;

&lt;p&gt;Escalating to a larger model does not resolve missing evidence or create permission either.&lt;/p&gt;

&lt;h2&gt;
  
  
  Review the recovery path before deploying it
&lt;/h2&gt;

&lt;p&gt;For your own controller, test cases should distinguish:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No submission occurred.&lt;/li&gt;
&lt;li&gt;Submission returned success, but verification is missing.&lt;/li&gt;
&lt;li&gt;Submission timed out with an unknown outcome.&lt;/li&gt;
&lt;li&gt;The observation refers to the wrong target.&lt;/li&gt;
&lt;li&gt;The observed state conflicts with the requested state.&lt;/li&gt;
&lt;li&gt;Permission was revoked after the original request.&lt;/li&gt;
&lt;li&gt;Current state matches, but a separate effect remains unresolved.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are proposed acceptance cases, not tests executed for this article. Passing them in a simplified fake does not establish concurrency handling, transaction safety, or recovery across provider failures. Production handling also needs durable attempt identity and explicit retry semantics.&lt;/p&gt;

&lt;p&gt;The goal is not to preserve every old token. It is to preserve the state that prevents a plausible next action from becoming an unsupported one.&lt;/p&gt;

&lt;p&gt;An unknown outcome is useful information. Keep it unknown until the evidence actually changes it.&lt;/p&gt;

&lt;p&gt;The public design note explains the historical prototype and its limits. It is not a current package release:&lt;br&gt;
&lt;a href="https://github.com/iamdgarcia/the-learning-curve/blob/main/docs/context-evidence-boundaries.md" rel="noopener noreferrer"&gt;https://github.com/iamdgarcia/the-learning-curve/blob/main/docs/context-evidence-boundaries.md&lt;/a&gt;&lt;/p&gt;

</description>
      <category>agents</category>
      <category>architecture</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>Stop Writing the Same AI Prompts Over and Over: 7 Reusable Skills Every Developer Should Have</title>
      <dc:creator>Daniel García</dc:creator>
      <pubDate>Wed, 11 Nov 2026 20:07:49 +0000</pubDate>
      <link>https://dev.to/iamdgarcia/stop-writing-the-same-ai-prompts-over-and-over-7-reusable-skills-every-developer-should-have-1k07</link>
      <guid>https://dev.to/iamdgarcia/stop-writing-the-same-ai-prompts-over-and-over-7-reusable-skills-every-developer-should-have-1k07</guid>
      <description>&lt;h1&gt;
  
  
  Stop Writing the Same AI Prompts Over and Over: 7 Reusable Skills Every Developer Should Have
&lt;/h1&gt;

&lt;p&gt;Most people use AI assistants as if every conversation starts from zero.&lt;/p&gt;

&lt;p&gt;They explain what they need, describe how they want the answer formatted, specify what the model should avoid, and repeat the same instructions again the next day.&lt;/p&gt;

&lt;p&gt;This is incredibly inefficient.&lt;/p&gt;

&lt;p&gt;If you regularly use AI for development, research, documentation, architecture decisions, or everyday work, you've probably noticed that a surprisingly large part of your prompting is repetitive.&lt;/p&gt;

&lt;p&gt;The solution isn't to become better at writing prompts.&lt;/p&gt;

&lt;p&gt;It's to stop writing the same prompts altogether.&lt;/p&gt;

&lt;p&gt;Reusable instructions, custom skills, and slash commands let you turn recurring workflows into capabilities you can invoke whenever you need them.&lt;/p&gt;

&lt;p&gt;Here are seven skills I'd recommend building first.&lt;/p&gt;

&lt;h2&gt;
  
  
  What exactly is an AI skill?
&lt;/h2&gt;

&lt;p&gt;Think of a skill as a reusable instruction package.&lt;/p&gt;

&lt;p&gt;Instead of writing a long prompt every time you want the model to perform a particular task, you define the behavior once and reuse it.&lt;/p&gt;

&lt;p&gt;Depending on your AI environment, you can implement these as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Claude Skills&lt;/li&gt;
&lt;li&gt;Gemini Skills&lt;/li&gt;
&lt;li&gt;Custom GPT instructions&lt;/li&gt;
&lt;li&gt;Project-level instructions&lt;/li&gt;
&lt;li&gt;System prompts in your own applications&lt;/li&gt;
&lt;li&gt;Slash commands in your AI development environment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The underlying principle is the same: separate reusable behavior from the specific task you're asking the model to perform.&lt;/p&gt;

&lt;p&gt;Let's build seven useful examples.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. /research: Stop trusting the first answer
&lt;/h2&gt;

&lt;p&gt;One of the biggest problems with LLMs is that they can produce convincing answers without actually investigating the question.&lt;/p&gt;

&lt;p&gt;This skill changes the default behavior from answering immediately to researching first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The prompt:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Act as a rigorous research assistant.

Investigate the topic before producing an answer.

Prioritize primary sources, official documentation,
technical papers, and authoritative publications.

Cross-check important claims against multiple
independent sources whenever possible.

Clearly distinguish:
- Verified facts
- Claims made by third parties
- Interpretations
- Speculation

Never invent citations or references.

If something cannot be independently verified,
say so explicitly.

Focus on useful findings rather than producing
a generic overview.

Include direct links to the sources you consulted.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;When I'd use it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Evaluating a new AI framework.&lt;/li&gt;
&lt;li&gt;Researching a model before integrating it.&lt;/li&gt;
&lt;li&gt;Comparing infrastructure providers.&lt;/li&gt;
&lt;li&gt;Investigating a technical claim.&lt;/li&gt;
&lt;li&gt;Preparing a technical article.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The important distinction is that the model should investigate before reaching a conclusion.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. /explain: Make complex concepts understandable
&lt;/h2&gt;

&lt;p&gt;AI models are excellent at explaining complicated subjects.&lt;/p&gt;

&lt;p&gt;Unfortunately, they're also excellent at replacing one technical term with five even more complicated ones.&lt;/p&gt;

&lt;p&gt;This skill forces the model to prioritize understanding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The prompt:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Explain the topic I provide in clear, accessible language.

Assume I am intelligent but may not have prior
knowledge of this particular subject.

Start with:
1. What it is.
2. What problem it solves.
3. Why it matters.
4. How it works.

Introduce technical terminology only when necessary
and explain each term.

Use practical examples and analogies when they
genuinely improve understanding.

After the intuitive explanation, progressively
introduce the technical details.

Do not confuse complexity with depth.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;When I'd use it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understanding unfamiliar architectures.&lt;/li&gt;
&lt;li&gt;Learning a new technology.&lt;/li&gt;
&lt;li&gt;Explaining technical concepts to non-technical teams.&lt;/li&gt;
&lt;li&gt;Preparing documentation or presentations.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. /compare: Find the differences that actually matter
&lt;/h2&gt;

&lt;p&gt;Ask an LLM to compare two technologies and you'll often get a massive table containing every possible difference.&lt;/p&gt;

&lt;p&gt;That's rarely what you need.&lt;/p&gt;

&lt;p&gt;You want to understand which differences actually influence your decision.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The prompt:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Compare the options I provide.

Focus on differences that materially affect
the decision rather than listing every specification.

Evaluate relevant dimensions such as:
- Performance
- Cost
- Reliability
- Scalability
- Developer experience
- Operational complexity
- Limitations

Explain the practical trade-offs of each option.

Do not automatically declare a winner.

Instead, explain which option makes the most sense
under different requirements and constraints.

If information is missing, identify what needs
to be verified before making a recommendation.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;When I'd use it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Choosing between LLM providers.&lt;/li&gt;
&lt;li&gt;Comparing inference engines.&lt;/li&gt;
&lt;li&gt;Evaluating databases.&lt;/li&gt;
&lt;li&gt;Selecting an orchestration framework.&lt;/li&gt;
&lt;li&gt;Making infrastructure decisions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is decision support, not generating another comparison table.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. /critic: Give me an AI that disagrees with me
&lt;/h2&gt;

&lt;p&gt;This is probably the most important skill on the list.&lt;/p&gt;

&lt;p&gt;LLMs have a tendency to be agreeable. You propose an idea, and they immediately explain why it's brilliant.&lt;/p&gt;

&lt;p&gt;That's not particularly useful when you're making important decisions.&lt;/p&gt;

&lt;p&gt;You don't need another assistant telling you that everything is a great idea.&lt;/p&gt;

&lt;p&gt;You need one that identifies what's wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The prompt:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Act as a critical reviewer.

Evaluate the idea, architecture, argument, or proposal
I provide.

Do not default to agreement or encouragement.

Look for:
- Weak assumptions
- Logical inconsistencies
- Missing requirements
- Technical limitations
- Hidden costs
- Scalability problems
- Security concerns
- Alternative explanations

For every significant issue:
1. Explain why it matters.
2. Describe the potential consequences.
3. Suggest how it could be addressed.

Distinguish genuine problems from subjective preferences.

If the proposal is solid, acknowledge that.
Do not manufacture criticism.

Prioritize honest, actionable feedback.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;When I'd use it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reviewing system architectures.&lt;/li&gt;
&lt;li&gt;Challenging business ideas.&lt;/li&gt;
&lt;li&gt;Evaluating product requirements.&lt;/li&gt;
&lt;li&gt;Auditing technical decisions.&lt;/li&gt;
&lt;li&gt;Reviewing proposals before presenting them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A particularly useful variation is asking the model to argue against your preferred solution before committing to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. /rewrite: Improve the text without destroying its voice
&lt;/h2&gt;

&lt;p&gt;Another repetitive task is asking AI to improve something you've already written.&lt;/p&gt;

&lt;p&gt;The problem is that most models tend to over-edit.&lt;/p&gt;

&lt;p&gt;A short, direct message becomes a corporate communication full of unnecessary expressions.&lt;/p&gt;

&lt;p&gt;This skill prevents that.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The prompt:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Rewrite the text I provide to improve clarity,
structure, and readability.

Preserve:
- The original meaning.
- My personal voice.
- The intended tone.
- All factual information.

Remove unnecessary repetition and awkward phrasing.

Do not introduce new claims, facts, or ideas.

Avoid making the writing unnecessarily formal,
generic, or artificial.

Make the smallest changes necessary to improve it.

Return only the revised version.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;When I'd use it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Technical documentation.&lt;/li&gt;
&lt;li&gt;Emails.&lt;/li&gt;
&lt;li&gt;Pull request descriptions.&lt;/li&gt;
&lt;li&gt;Blog posts.&lt;/li&gt;
&lt;li&gt;Project proposals.&lt;/li&gt;
&lt;li&gt;Internal communications.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key instruction is simple: improve the writing without replacing the author.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. /brief: Get up to speed without reading everything
&lt;/h2&gt;

&lt;p&gt;Sometimes you don't need a comprehensive investigation.&lt;/p&gt;

&lt;p&gt;You just need to understand a subject before a meeting, technical discussion, or decision.&lt;/p&gt;

&lt;p&gt;This skill produces a concise briefing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The prompt:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Give me a concise briefing on the topic I provide.

Assume I need to understand the subject quickly.

Structure the briefing around:

1. What it is.
2. Relevant background.
3. What is happening now.
4. Why it matters.
5. Important companies, people, or technologies.
6. Key developments.
7. What I should pay attention to next.

Prioritize relevant information over exhaustive detail.

Include recent developments when relevant,
and distinguish current facts from historical context.

Make the briefing understandable in approximately
five minutes.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;When I'd use it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Preparing for meetings.&lt;/li&gt;
&lt;li&gt;Understanding industry developments.&lt;/li&gt;
&lt;li&gt;Following new AI releases.&lt;/li&gt;
&lt;li&gt;Getting familiar with unfamiliar companies.&lt;/li&gt;
&lt;li&gt;Exploring a new research area.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  7. /strategy: Think before jumping into execution
&lt;/h2&gt;

&lt;p&gt;One of the most frustrating behaviors of AI assistants is their tendency to immediately start proposing solutions.&lt;/p&gt;

&lt;p&gt;Sometimes you don't need a solution yet.&lt;/p&gt;

&lt;p&gt;You need to understand the problem and decide what to do.&lt;/p&gt;

&lt;p&gt;This skill changes the model's role from executor to strategic advisor.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The prompt:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Act as a strategic advisor.

Before proposing a solution, analyze the objective
and the constraints surrounding it.

Identify:
- The actual goal.
- Important assumptions.
- Missing information.
- Available approaches.
- Dependencies.
- Risks and potential failure points.
- Relevant trade-offs.

If there are multiple possible approaches,
compare them and explain their implications.

Do not jump into implementation prematurely.

Conclude with a prioritized action plan,
including the reasoning behind each step.

If critical information is missing,
ask the most important clarification question first.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;When I'd use it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Planning new projects.&lt;/li&gt;
&lt;li&gt;Designing technical architectures.&lt;/li&gt;
&lt;li&gt;Evaluating product opportunities.&lt;/li&gt;
&lt;li&gt;Breaking down complex problems.&lt;/li&gt;
&lt;li&gt;Prioritizing development work.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The interesting part: You should build your own skills
&lt;/h2&gt;

&lt;p&gt;These seven examples are starting points, not a universal collection of instructions everyone should use.&lt;/p&gt;

&lt;p&gt;Your own skills should reflect the work you actually do.&lt;/p&gt;

&lt;p&gt;For example, if you work extensively with AI agents, you might create:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Skill&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/architecture-review&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Review agent architectures and identify design weaknesses&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/benchmark&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Design reproducible model benchmarks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/debug&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Investigate errors systematically&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/security-audit&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Review potential security vulnerabilities&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/documentation&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Generate structured technical documentation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;/cost-analysis&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Evaluate inference and infrastructure costs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The real opportunity is to stop treating every AI interaction as an isolated conversation.&lt;/p&gt;

&lt;p&gt;Instead, start building a reusable layer of instructions that captures how you want work to be done.&lt;/p&gt;

&lt;p&gt;Over time, this becomes part of your personal AI workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;The productivity gains from AI don't necessarily come from discovering a better model or writing increasingly sophisticated prompts.&lt;/p&gt;

&lt;p&gt;Sometimes they come from eliminating the repetitive instructions we keep giving the same model.&lt;/p&gt;

&lt;p&gt;Start with two or three skills that solve problems you encounter every week.&lt;/p&gt;

&lt;p&gt;Refine them as you use them.&lt;/p&gt;

&lt;p&gt;And remember: a reusable skill is only useful if it captures a behavior you actually want to reuse.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What's the first skill you'd build for your own workflow?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'd be particularly interested in seeing the skills you're using for development, research, and AI engineering.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Why Your Production AI Agents Aren't Learning (And How to Fix It)</title>
      <dc:creator>Daniel García</dc:creator>
      <pubDate>Tue, 10 Nov 2026 11:36:14 +0000</pubDate>
      <link>https://dev.to/iamdgarcia/why-your-production-ai-agents-arent-learning-and-how-to-fix-it-1mbp</link>
      <guid>https://dev.to/iamdgarcia/why-your-production-ai-agents-arent-learning-and-how-to-fix-it-1mbp</guid>
      <description>&lt;p&gt;Most engineering teams treat deploying an AI agent as a solved software delivery pipeline: wire an LLM to a vector index, hook up tool schemas, add OpenTelemetry tracing, and ship to production.&lt;/p&gt;

&lt;p&gt;A month later, you have 30,000 trace spans sitting in your observability database. You can inspect p99 latencies, token consumption, and cosine similarity scores on demand.&lt;/p&gt;

&lt;p&gt;Yet when a user asks about an edge-case refund policy, the agent makes the &lt;strong&gt;exact same hallucination&lt;/strong&gt; it made on day one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tracing Is Not a Control Loop
&lt;/h2&gt;

&lt;p&gt;Observability answers &lt;strong&gt;what broke&lt;/strong&gt;. It does nothing to repair it.&lt;/p&gt;

&lt;p&gt;Right now, resolving an agent failure is entirely manual:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An alert flags a hallucination or an unhandled schema error.&lt;/li&gt;
&lt;li&gt;An on-call engineer reads raw JSON traces and discovers bad RAG chunks or ambiguous prompt instructions.&lt;/li&gt;
&lt;li&gt;You push a manual prompt patch and pray you didn't create regressions across existing workflows.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pre-trained LLMs learn across trillions of tokens from the internet, yet our production harnesses fail to let them learn from their own operational runs.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Current (Open-Loop):
User -&amp;gt; Agent -&amp;gt; LLM / Tools -&amp;gt; Response (Done)

Target (Closed-Loop):
User -&amp;gt; Agent -&amp;gt; Execution -&amp;gt; Eval -&amp;gt; Pattern Diagnosis -&amp;gt; Harness Patch -&amp;gt; Agent

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The 4-Step Engineering Fix
&lt;/h2&gt;

&lt;p&gt;Continuous fine-tuning is brittle, slow, and cost-prohibitive for runtime operational bugs. Instead, build a &lt;strong&gt;management harness&lt;/strong&gt; around your execution layer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Track Business Outcomes, Not Just Latency:&lt;/strong&gt; Token count and inference speed are health checks, not quality metrics. Track task resolution rates, escalation triggers, and conversation drop-offs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cluster Failures Systematically:&lt;/strong&gt; A single failed API invocation is noise. Forty failures on the same parameter represent an undocumented schema or bad retrieval filtering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automate Harness Interventions:&lt;/strong&gt; Apply targeted patches to the orchestration layer: update tool validation rules, prune stale vector embeddings, or tighten system instructions before the model sees the prompt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enforce Regression Evals:&lt;/strong&gt; Every failed production trace should become an automated evaluation test case. Never update runtime prompts or tools without running evals against historical edge cases.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;I published the full architectural deep dive on moving from passive LLM observability to active agent management.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;Read the complete article on Medium:&lt;/strong&gt; &lt;a href="https://www.google.com/url?sa=E&amp;amp;source=gmail&amp;amp;q=https://medium.com/@your-handle/your-ai-agents-arent-learning-from-their-mistakes-here-s-how-to-fix-that" rel="noopener noreferrer"&gt;Your AI Agents Aren’t Learning From Their Mistakes. Here’s How to Fix That&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;How are you handling post-incident patches for your agent fleet? Are you still auditing JSON traces by hand, or running automated evaluation loops?&lt;/em&gt;&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>ai</category>
      <category>softwareengineering</category>
      <category>architecture</category>
      <category>llm</category>
    </item>
    <item>
      <title>0/55 three nights in a row: product bug or test bug?</title>
      <dc:creator>Daniel García</dc:creator>
      <pubDate>Tue, 10 Nov 2026 08:49:01 +0000</pubDate>
      <link>https://dev.to/iamdgarcia/055-three-nights-in-a-row-product-bug-or-test-bug-585h</link>
      <guid>https://dev.to/iamdgarcia/055-three-nights-in-a-row-product-bug-or-test-bug-585h</guid>
      <description>&lt;p&gt;Our nightly evaluation gate went 0/55 three nights in a row. The third time, the product was completely fine and the harness was the one lying. Telling those apart is the hardest testing problem we have hit this year, and the discipline that solved it is simple to state: no fix gets pushed until the red run has a named cause with evidence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The setup.&lt;/strong&gt; We sell conversational AI employees, so the thing that must work is a conversation. The nightly harness provisions a real employee through MCP for each of 55 cases across 6 suites (booking, student FAQs, email orders, ERP lookups, log review, YouTube backoffice), replays the conversation against production, and asserts two things per case: the right tools ran, and a judge model scores the reply against a rubric. The gate fails below 80% on product-backed cases. This is evaluation-driven development: the cases are written from the use case's intent, and the nightly is the reference curve, not the target.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Night one: 0/55, cause named.&lt;/strong&gt; Every conversation died with a 401 on turn one. The client sent the standard &lt;code&gt;X-Api-Key&lt;/code&gt; header; the auth code only matched a converted-underscores variant (&lt;code&gt;x_api_key&lt;/code&gt;) because of how the framework lowercases parameter names. One customer-facing symptom, one line of auth code, every external client broken. Fixed, and a regression test now covers all three accepted spellings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Night two: 0/55, a different cause.&lt;/strong&gt; The policy engine's gate hook read arguments from a function signature that had been refactored away. Every reply became "name 'kwargs' is not defined". Two things made this one instructive. First, the error was invisible in the product: users just saw the fallback reply. Second, we had a day earlier merged a fix whose tests were green, because no test imported the module that broke. The suite now has a static check that fails when a handler references variables its own signature does not define.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Night three: 0/55, and the product was fine.&lt;/strong&gt; Probing by hand, a booking conversation worked end to end: the agent checked the calendar, offered slots, booked, confirmed. But the gate still said 0.304. Reading the transcripts line by line found three harness defects stacked on top of each other. The fixtures (calendar events, client catalogs) were injected into the system prompt, so the agent never needed to call a tool, and tool-expecting cases failed with zero calls. A skill assignment wrote one table while activation read another, so assigned skills were silently inert. And the response contract changed shape, so the gate was reading evidence from an empty field. None of these were product bugs. All of them made the product look dead.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The discipline that paid.&lt;/strong&gt; Each red run got a named cause with evidence before any fix was pushed: an API probe that reproduces the failure in isolation, or a transcript line that proves the claim. The alternative is what we did the first day: two theories, two pushed fixes, both wrong, four CI cycles wasted. Reading the actual log before theorizing sounds obvious. Under a red nightly at midnight it is not obvious at all; it is the only thing that works.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the gate measures now.&lt;/strong&gt; With the harness fixed, the number finally means what it says: the 0.304 pass rate measured a real gap, the gap between what the product serves today (booking, email handoff, lead capture) and what the case suites contract (ERP flows, invoicing, scheduled reports). That is not overfitting, that is a roadmap with a number on it. The gate only blocks on the product-backed suites, and the full 55 keep running as the curve.&lt;/p&gt;

&lt;p&gt;If you are building anything conversational, the takeaway is one sentence: separate the judge from the judged, and never let either of them skip a named cause. The product behind this one is &lt;a href="https://optimly.io" rel="noopener noreferrer"&gt;Optimly&lt;/a&gt;, and the nightly curve is how it earns the right to ship on a Tuesday afternoon.&lt;/p&gt;

</description>
      <category>testing</category>
      <category>saas</category>
      <category>llm</category>
      <category>devops</category>
    </item>
    <item>
      <title>One forward pass per level: replaying Next-Concept Modeling in the browser</title>
      <dc:creator>Daniel García</dc:creator>
      <pubDate>Mon, 09 Nov 2026 16:07:46 +0000</pubDate>
      <link>https://dev.to/iamdgarcia/one-forward-pass-per-level-replaying-next-concept-modeling-in-the-browser-bom</link>
      <guid>https://dev.to/iamdgarcia/one-forward-pass-per-level-replaying-next-concept-modeling-in-the-browser-bom</guid>
      <description>&lt;p&gt;Halfway through its 12 sweeps, a Next-Concept Model story is word salad with the characters already in place. I built a browser player that replays real generations level by level so you can watch that sharpening happen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What NCM is.&lt;/strong&gt; Next-Concept Modeling (NCM), from HazyResearch at Stanford, generates text coarse to fine (paper: arXiv 2610.14162). A multiscale residual VQ tokenizer represents a story as 12 nested sets of discrete codes, growing from 1 concept code to 128. A transformer predicts that whole hierarchy with one forward pass per level, not one token at a time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I built.&lt;/strong&gt; A static page in vanilla JavaScript: no server, no GPU in the browser. The trajectories are real generations from the released TinyStories checkpoint (the generator is 356MB, the tokenizer 222MB), captured on CPU with a small script included in the repo. For each of the 12 sweeps the player shows the tokenizer's partial reconstruction of the codes generated so far. The same story, sharpening.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the replays show.&lt;/strong&gt; The split is sharp. By level 6 of 12 the partial decode is word salad, but the character names are already sitting in place. The text only becomes readable in the last three sweeps. Nine of twelve sweeps are not readable on their own: the model decides what the story is about early, and legibility arrives late.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why a replay beats a demo video.&lt;/strong&gt; A video plays once. A trajectory can be stopped at any level, scrubbed back, and compared sweep to sweep. You can see exactly when Lily and Ben appear, and what the model still gets wrong one level before the end.&lt;/p&gt;

&lt;p&gt;Try the player here: &lt;a href="https://iamdgarcia-ncm-trajectory.static.hf.space" rel="noopener noreferrer"&gt;NCM Trajectory&lt;/a&gt;. Code and the capture script are on &lt;a href="https://github.com/iamdgarcia/ncm-trajectory" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;. The paper is &lt;a href="https://arxiv.org/abs/2610.14162" rel="noopener noreferrer"&gt;Next-Concept Modeling, arXiv 2610.14162&lt;/a&gt; by HazyResearch; the trajectories come from the checkpoint they released, and the page explains the finding by itself.&lt;/p&gt;

</description>
      <category>machinelearning</category>
      <category>javascript</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>The voice agent stack: what fits in a browser tab, and what you end up paying for</title>
      <dc:creator>Daniel García</dc:creator>
      <pubDate>Mon, 09 Nov 2026 15:23:18 +0000</pubDate>
      <link>https://dev.to/iamdgarcia/the-voice-agent-stack-what-fits-in-a-browser-tab-and-what-you-end-up-paying-for-3lm4</link>
      <guid>https://dev.to/iamdgarcia/the-voice-agent-stack-what-fits-in-a-browser-tab-and-what-you-end-up-paying-for-3lm4</guid>
      <description>&lt;p&gt;VAD, speech recognition and an 82M-parameter TTS now run free inside a browser tab. The interesting question is where that stops. Here is the line, and the cloud stack I would wire up on the other side.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: three links below are affiliate links, marked with (af). If you sign up through them, I earn a commission at no extra cost to you. The criteria are the same ones I use when nothing is at stake.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What runs in the tab for free.&lt;/strong&gt; Silero VAD as ONNX in the browser. Whisper-class ASR dueling live on your microphone. An 82M-parameter TTS (Kokoro) reading text in a tab, weights and all. All of it through transformers.js on WebGPU or WASM, no server, no API key, no bill per user. I keep these instruments up as static pages; open the &lt;a href="https://iamdgarcia-latency-gap-simulator.static.hf.space" rel="noopener noreferrer"&gt;latency waterfall&lt;/a&gt; and watch where a turn actually spends its milliseconds.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where the tab ends.&lt;/strong&gt; Three ceilings, in the order I hit them. First, the model: an 8B-class LLM fits in a tab, the model you want for real decisions does not. Second, the platform: a real deployment needs a domain, websocket endpoints, logs, a backend that survives a phone refresh; static hosting does not give you those. Third, the voice: an 82M TTS is impressive and still recognizably synthetic; brand-grade voices are server models, and the reference cascade in the literature measures them seriously.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The stack I would wire up on the other side.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Host the orchestrator on Railway: websockets, a domain and logs from a git push. The latency wins live in the event loop.&lt;/li&gt;
&lt;li&gt;Serve open models through Novita AI: per-token API instead of GPUs and vLLM babysitting. OpenAI-shaped endpoint, so swapping providers is a config change.&lt;/li&gt;
&lt;li&gt;Premium voice on ElevenLabs: the reference cascade measures 755ms to first audio with per-sentence streaming (arXiv 2603.05413). Premium voices are what you pay for.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Why this split is the honest default.&lt;/strong&gt; In-browser parts have zero marginal cost per user, keep audio on-device, and ship as a static page that stays up. Cloud parts buy quality ceilings the tab cannot reach yet: cloud speech-to-speech sits around 702ms audio-to-audio in the current literature, and a well-tuned cascade of cheap parts can land close to that. Pay for the ceilings; run everything else in the tab.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>webdev</category>
      <category>voice</category>
    </item>
  </channel>
</rss>
