<?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: Nicolas Cousin</title>
    <description>The latest articles on DEV Community by Nicolas Cousin (@niccou).</description>
    <link>https://dev.to/niccou</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%2F1338386%2F8418938d-f101-427d-98ac-07a7e3a8a84f.jpeg</url>
      <title>DEV Community: Nicolas Cousin</title>
      <link>https://dev.to/niccou</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/niccou"/>
    <language>en</language>
    <item>
      <title>Agentic Methods for a Tech Lead</title>
      <dc:creator>Nicolas Cousin</dc:creator>
      <pubDate>Sat, 05 Sep 2026 18:57:13 +0000</pubDate>
      <link>https://dev.to/niccou/agentic-methods-for-a-tech-lead-2daf</link>
      <guid>https://dev.to/niccou/agentic-methods-for-a-tech-lead-2daf</guid>
      <description>&lt;h1&gt;
  
  
  Agentic Methods: Coding With AI Agents, Designing For Agents
&lt;/h1&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;"Agentic methods" covers two distinct things colliding right now: AI agents that code alongside the team (read, write, run, verify, in a loop), and agentic architectures we design into our own systems (orchestrating autonomous agents on the product side).&lt;br&gt;
In both cases, the same principle applies: an agent is only useful if the contract around it is explicit — scope, errors, permissions, stopping points.&lt;br&gt;
The Tech Lead role doesn't disappear, it shifts: fewer lines typed, more specification, review, and governance.&lt;br&gt;
The underlying topic isn't tooling, it's clarity — exactly like a well-modelled business workflow.&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;Introduction — one word, two meanings&lt;/li&gt;
&lt;li&gt;
Coding with AI agents: what actually changes

&lt;ul&gt;
&lt;li&gt;From autocomplete to the agentic loop&lt;/li&gt;
&lt;li&gt;The developer's role shifts toward review&lt;/li&gt;
&lt;li&gt;Explicit guardrails&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
Designing agentic architectures

&lt;ul&gt;
&lt;li&gt;An agent is a box with a contract&lt;/li&gt;
&lt;li&gt;Orchestration or autonomy: a choice, not a default&lt;/li&gt;
&lt;li&gt;Observability: if you can't replay it, you can't debug it&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Where humans remain irreplaceable&lt;/li&gt;
&lt;li&gt;A Tech Lead checklist for adopting these methods&lt;/li&gt;
&lt;li&gt;Conclusion — agents reveal a team's maturity&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Introduction — one word, two meanings
&lt;/h2&gt;

&lt;p&gt;"Agentic" has been everywhere for a few months, but it means two different things depending on who's talking:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Coding with AI agents&lt;/strong&gt;: a tool that reads code, writes diffs, runs commands, launches tests, and iterates until it reaches a correct result — instead of suggesting one line at a time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Designing agentic systems&lt;/strong&gt;: a software architecture where autonomous agents (often themselves LLM-based) make decisions, call tools, and cooperate to accomplish a business task — a support chatbot that triggers refunds, a document pipeline that routes complex cases to a human on its own.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These are two separate topics, but the same underlying principle runs through both: an agent — human, AI, or service — is only reliable when it operates inside an explicit frame. It's the same ground I covered when talking about modelling a business workflow: the tool matters less than the clarity of the contract you hand it.&lt;/p&gt;




&lt;h2&gt;
  
  
  Coding with AI agents: what actually changes
&lt;/h2&gt;

&lt;h3&gt;
  
  
  From autocomplete to the agentic loop
&lt;/h3&gt;

&lt;p&gt;The difference isn't the quality of generated code, it's the loop: &lt;strong&gt;perceive → plan → act → verify → repeat&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A coding agent can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;read several files to understand the real context,&lt;/li&gt;
&lt;li&gt;propose a plan before changing anything,&lt;/li&gt;
&lt;li&gt;run the tests and read the failures,&lt;/li&gt;
&lt;li&gt;fix its own proposal without intervention,&lt;/li&gt;
&lt;li&gt;stop and ask for a decision when ambiguity is too high.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's no longer "finish my line", it's "own this task, within a given scope." That change in scale also changes how work needs to be framed: a poorly defined task will produce a poorly defined result, agent or not.&lt;/p&gt;




&lt;h3&gt;
  
  
  The developer's role shifts toward review
&lt;/h3&gt;

&lt;p&gt;What an agent produces has to be read, understood, and validated — not just accepted because the tests are green.&lt;/p&gt;

&lt;p&gt;Concretely, this shifts the work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;less time spent typing mechanical code,&lt;/li&gt;
&lt;li&gt;more time writing precise specifications,&lt;/li&gt;
&lt;li&gt;more time in review — and a more demanding review, not a lighter one,&lt;/li&gt;
&lt;li&gt;a responsibility that remains entirely human: what ships to production is signed off by the team, not by the agent.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An agent moving fast on a poorly scoped task only accelerates the production of technical debt. Speed is only a gain if the scoping was already good.&lt;/p&gt;




&lt;h3&gt;
  
  
  Explicit guardrails
&lt;/h3&gt;

&lt;p&gt;An agent that can read, write, and execute is an agent that can also get things wrong at scale. Guardrails aren't optional:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;explicit permissions&lt;/strong&gt; — what the agent can do on its own, what requires approval,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;isolated environments&lt;/strong&gt; — sandboxes, disposable containers, never direct access to prod,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;reversible actions by default&lt;/strong&gt; — prefer a branch over a &lt;code&gt;push --force&lt;/code&gt;, a commit over a &lt;code&gt;reset --hard&lt;/code&gt;,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;systematic security review&lt;/strong&gt; — an agent doesn't replace human review on sensitive changes (auth, payments, personal data).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's the exact same instinct you'd apply to a junior developer: a clear frame, for as long as it takes for trust to be earned through results.&lt;/p&gt;




&lt;h2&gt;
  
  
  Designing agentic architectures
&lt;/h2&gt;

&lt;h3&gt;
  
  
  An agent is a box with a contract
&lt;/h3&gt;

&lt;p&gt;When designing a system where agents (AI or not) cooperate, the first question isn't "which orchestration framework?" but:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what is each agent's exact scope?&lt;/li&gt;
&lt;li&gt;what errors can it return, and in what shape?&lt;/li&gt;
&lt;li&gt;which tools is it allowed to call, and with what permissions?&lt;/li&gt;
&lt;li&gt;what happens when it doesn't know what to do?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An agent without an explicit contract is a service without an interface: it works in a demo and falls apart in production the moment the real case diverges from the tested one.&lt;/p&gt;




&lt;h3&gt;
  
  
  Orchestration or autonomy: a choice, not a default
&lt;/h3&gt;

&lt;p&gt;Two broad design families keep coming up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Orchestration&lt;/strong&gt;: a conductor agent distributes subtasks to specialized agents and arbitrates the results. Predictable, traceable, easier to debug.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Choreography / autonomy&lt;/strong&gt;: agents decide their own next actions based on context, with no conductor. More flexible, but harder to bound and audit.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Just like with any architecture pattern, the "pattern everywhere" trap applies here too: making a system autonomous because it's the trendy topic, when a classic pipeline would have been enough. Not every domain fits an agentic architecture either — a simple, deterministic process often needs neither an agent nor AI.&lt;/p&gt;




&lt;h3&gt;
  
  
  Observability: if you can't replay it, you can't debug it
&lt;/h3&gt;

&lt;p&gt;An agentic system makes dynamic decisions — the same input can produce different paths. Without fine-grained traceability, a bug becomes impossible to reproduce:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;log every decision and every tool call,&lt;/li&gt;
&lt;li&gt;keep a trace of intermediate reasoning, not just the final result,&lt;/li&gt;
&lt;li&gt;be able to replay a scenario with the same inputs,&lt;/li&gt;
&lt;li&gt;measure cost (tokens, latency, external calls) as a first-class production metric.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An agent you can't observe is an agent you can't evolve with confidence.&lt;/p&gt;




&lt;h2&gt;
  
  
  Where humans remain irreplaceable
&lt;/h2&gt;

&lt;p&gt;No agent — coding or product — replaces:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;business judgment&lt;/strong&gt; on an ambiguous rule or an undocumented edge case,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;architecture decisions&lt;/strong&gt; that commit the project for years,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;arbitration between several valid solutions&lt;/strong&gt;, when the choice depends on business context,&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;final accountability&lt;/strong&gt; for what ships to users.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An agent executes a frame well once you've given it one. It doesn't replace the person who decides on that frame.&lt;/p&gt;




&lt;h2&gt;
  
  
  A Tech Lead checklist for adopting these methods
&lt;/h2&gt;

&lt;p&gt;Before introducing agents into a team or an architecture, a few questions are worth asking out loud:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Is each agent's scope written down explicitly?&lt;/li&gt;
&lt;li&gt;Are permissions (read, write, execute, network) explicit and minimal?&lt;/li&gt;
&lt;li&gt;Is there a clear stopping point when the agent hits ambiguity?&lt;/li&gt;
&lt;li&gt;Do sensitive actions go through human approval?&lt;/li&gt;
&lt;li&gt;Is the system observable: logs, replay, measured cost?&lt;/li&gt;
&lt;li&gt;Does code and security review remain mandatory on agent-produced changes?&lt;/li&gt;
&lt;li&gt;Can the team still read and understand what the agent produces, without depending on it blindly?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A fuzzy answer to any of these rarely points to an agent problem. It points to a scoping problem that most likely existed before.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion — agents reveal a team's maturity
&lt;/h2&gt;

&lt;p&gt;Agentic methods alone won't transform a team. But they reveal, faster than ever, whether the fundamentals are already there: clear specifications, explicit errors, well-cut scopes, real governance.&lt;/p&gt;

&lt;p&gt;A team that already had a readable business workflow and clear contracts will see agents — AI or architectural — amplify what was already working.&lt;br&gt;
A team that was navigating by sight will see the same tools amplify the existing fog, just faster.&lt;/p&gt;

&lt;p&gt;Agents are only a tool. The real value stays in the clarity behind them: the contracts, the specs, the guardrails a team chooses to own.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>leadership</category>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
