<?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: Dumebi Okolo</title>
    <description>The latest articles on DEV Community by Dumebi Okolo (@dumebii).</description>
    <link>https://dev.to/dumebii</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%2F941720%2Ff316bf93-ef0b-4bc5-aee2-5e062255d5f0.jpg</url>
      <title>DEV Community: Dumebi Okolo</title>
      <link>https://dev.to/dumebii</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dumebii"/>
    <language>en</language>
    <item>
      <title>Check out this blog post on OAuth with Kotlin APIs</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Tue, 17 Nov 2026 17:28:12 +0000</pubDate>
      <link>https://dev.to/dumebii/check-out-this-blog-post-on-oauth-with-kotlin-apis-3lal</link>
      <guid>https://dev.to/dumebii/check-out-this-blog-post-on-oauth-with-kotlin-apis-3lal</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/dumebii/hardening-kotlin-apis-with-oauth2-and-json-web-tokens-3m8i" class="crayons-story__hidden-navigation-link"&gt;Hardening Kotlin APIs with OAuth2 and JSON Web Tokens&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;

          &lt;a href="/dumebii" class="crayons-avatar  crayons-avatar--l  "&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%2Fuser%2Fprofile_image%2F941720%2Ff316bf93-ef0b-4bc5-aee2-5e062255d5f0.jpg" alt="dumebii profile" class="crayons-avatar__image"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/dumebii" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Dumebi Okolo
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Dumebi Okolo
                
                
              
              &lt;div id="story-author-preview-content-5058923" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/dumebii" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&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%2Fuser%2Fprofile_image%2F941720%2Ff316bf93-ef0b-4bc5-aee2-5e062255d5f0.jpg" class="crayons-avatar__image" alt=""&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Dumebi Okolo&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

          &lt;/div&gt;
          &lt;a href="https://dev.to/dumebii/hardening-kotlin-apis-with-oauth2-and-json-web-tokens-3m8i" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Nov 17&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/dumebii/hardening-kotlin-apis-with-oauth2-and-json-web-tokens-3m8i" id="article-link-5058923"&gt;
          Hardening Kotlin APIs with OAuth2 and JSON Web Tokens
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/webdev"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;webdev&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/kotlin"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;kotlin&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/oauth"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;oauth&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/dumebii/hardening-kotlin-apis-with-oauth2-and-json-web-tokens-3m8i" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/multi-unicorn-b44d6f8c23cdd00964192bedc38af3e82463978aa611b4365bd33a0f1f4f3e97.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/exploding-head-daceb38d627e6ae9b730f36a1e390fca556a4289d5a41abb2c35068ad3e2c4b5.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="18" height="18"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;12&lt;span class="hidden s:inline"&gt;&amp;nbsp;reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/dumebii/hardening-kotlin-apis-with-oauth2-and-json-web-tokens-3m8i#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              

              1&lt;span class="hidden s:inline"&gt;&amp;nbsp;comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            7 min read
          &lt;/small&gt;
          
          &lt;div class="only-sidebar-menu-item trusted-visible-block print-hidden align-center"&gt;
                
                    
                
          &lt;/div&gt;

        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;/div&gt;


</description>
      <category>api</category>
      <category>authentication</category>
      <category>kotlin</category>
      <category>security</category>
    </item>
    <item>
      <title>Hardening Kotlin APIs with OAuth2 and JSON Web Tokens</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Tue, 17 Nov 2026 17:27:36 +0000</pubDate>
      <link>https://dev.to/dumebii/hardening-kotlin-apis-with-oauth2-and-json-web-tokens-3m8i</link>
      <guid>https://dev.to/dumebii/hardening-kotlin-apis-with-oauth2-and-json-web-tokens-3m8i</guid>
      <description>&lt;p&gt;I read &lt;a href="https://blog.jetbrains.com/kotlin/2026/07/secure-your-apis-oauth2-and-jwt-for-beginners/?utm_source=x&amp;amp;utm_medium=social&amp;amp;utm_campaign=influencer_distribution&amp;amp;utm_content=kotlin_oauth2_jwt" rel="noopener noreferrer"&gt;this article&lt;/a&gt; and I rewrite it in my own words. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;A guide to implementing delegated authorization and stateless authentication in modern backend services.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Shift Toward Defensive API Design
&lt;/h2&gt;

&lt;p&gt;API security stopped being a bolt-on feature the moment microservices became the default architecture. When a single user request triggers a cascade of calls across five different services, traditional session-based authentication collapses under the weight of database lookups and state synchronization. Kotlin has emerged as a preferred language for building these backends, largely because its type system and coroutine support allow for expressive, safe security configurations. &lt;/p&gt;

&lt;p&gt;Modern security relies on two primary pillars: &lt;strong&gt;OAuth2&lt;/strong&gt; for authorization and &lt;strong&gt;JSON Web Tokens (JWT)&lt;/strong&gt; for authentication. While beginners often conflate the two, they serve distinct purposes. OAuth2 defines how a user grants a third-party application access to their data without handing over their password. JWT provides the mechanism for encoding that access into a portable, verifiable format. Organizations like JetBrains emphasize that &lt;a href="https://blog.jetbrains.com/kotlin/2026/07/secure-your-apis-oauth2-and-jwt-for-beginners/" rel="noopener noreferrer"&gt;securing APIs for beginners&lt;/a&gt; requires moving away from local &lt;code&gt;JSESSIONID&lt;/code&gt; cookies toward token-based flows that work across mobile apps, web frontends, and server-to-server communication.&lt;/p&gt;

&lt;p&gt;In the Kotlin ecosystem, the choice often lands between &lt;strong&gt;Spring Security&lt;/strong&gt; and &lt;strong&gt;Ktor&lt;/strong&gt;. Spring Security provides a mature, albeit complex, framework for enterprise-grade protection, while Ktor offers a lightweight, DSL-driven approach. Regardless of the framework, the goal remains the same: ensure that every incoming request is authenticated (identifying who the user is) and authorized (verifying what they are allowed to do) without introducing a single point of failure or an unnecessary performance bottleneck.&lt;/p&gt;

&lt;h2&gt;
  
  
  OAuth2: The Delegated Authorization Framework
&lt;/h2&gt;

&lt;p&gt;OAuth2 is not an authentication protocol; it is an authorization framework. It solves the "password sharing" problem by introducing an intermediary—the Authorization Server. In a typical Kotlin backend, the application assumes the role of a &lt;strong&gt;Resource Server&lt;/strong&gt;, protecting data on behalf of the user. &lt;/p&gt;

&lt;p&gt;According to the &lt;a href="https://tools.ietf.org/html/rfc6749#section-1.1" rel="noopener noreferrer"&gt;OAuth 2.0 Authorization Framework (RFC 6749)&lt;/a&gt;, the system relies on four distinct roles working in concert:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌──────────────┐          ┌──────────────────────┐
│ Resource     │  (A)     │                      │
│ Owner (User) │ ────────▶│    Client App        │
└──────────────┘          │ (Mobile/Web/Server)  │
       ▲                  └──────────────────────┘
       │                             │
       │ (B) Grant                   │ (C) Access Token
       ▼                             ▼
┌──────────────┐          ┌──────────────────────┐
│ Authorization│          │   Resource Server    │
│ Server       │          │   (Kotlin API)       │
└──────────────┘          └──────────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For most Kotlin developers, the &lt;strong&gt;Authorization Code Flow&lt;/strong&gt; is the standard. The client redirects the user to an identity provider (like Keycloak, Auth0, or Google). After the user logs in, the provider sends a temporary code back to the client. The client then exchanges this code for an &lt;code&gt;access_token&lt;/code&gt;. &lt;a href="https://docs.spring.io/spring-security/reference/servlet/oauth2/" rel="noopener noreferrer"&gt;Spring Security's OAuth2 support&lt;/a&gt; automates much of this handshake, allowing developers to focus on defining protected endpoints rather than managing the low-level HTTP redirects. &lt;/p&gt;

&lt;p&gt;By delegating the login process to a specialized server, you reduce the attack surface of your own application. You don't store passwords, manage password resets, or handle multi-factor authentication (MFA) logic. You simply trust the tokens issued by the Authorization Server, provided they meet your validation criteria.&lt;/p&gt;

&lt;h2&gt;
  
  
  Anatomy of a JSON Web Token
&lt;/h2&gt;

&lt;p&gt;If OAuth2 is the process, the JSON Web Token (JWT) is the artifact. A JWT is a compact, URL-safe string representing claims to be transferred between two parties. Its primary advantage is that it is &lt;strong&gt;self-contained&lt;/strong&gt;. All the necessary user data—their ID, roles, and the token expiration—is encoded directly in the string. &lt;/p&gt;

&lt;p&gt;A JWT consists of three parts separated by dots: the Header, the Payload, and the Signature. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Header&lt;/strong&gt;: Specifies the algorithm used for signing (e.g., &lt;code&gt;HS256&lt;/code&gt; or &lt;code&gt;RS256&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Payload&lt;/strong&gt;: Contains the "claims." These are statements about the user and additional data like &lt;code&gt;iat&lt;/code&gt; (issued at) and &lt;code&gt;exp&lt;/code&gt; (expiration time).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Signature&lt;/strong&gt;: Created by hashing the header and payload with a secret key. This ensures the token hasn't been tampered with.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://ktor.io/docs/server-jwt.html" rel="noopener noreferrer"&gt;Ktor's JWT implementation&lt;/a&gt; allows you to verify these signatures using either a shared secret or a public/private key pair. In a production environment, &lt;code&gt;RS256&lt;/code&gt; (Asymmetric) is preferred. The Authorization Server signs the token with a private key, and your Kotlin API verifies it using a public key.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Example of a JWT payload structure&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="s2"&gt;"sub"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1234567890"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Jane Doe"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s2"&gt;"admin"&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="s2"&gt;"iat"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1516239022&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="s2"&gt;"exp"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1516242622&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Because the token is signed, the Resource Server can trust the &lt;code&gt;admin: true&lt;/code&gt; claim without querying a database on every request. This enables &lt;strong&gt;stateless authentication&lt;/strong&gt;, where the server doesn't need to store session data in memory or a cache like Redis. However, this carries a trade-off: tokens are difficult to revoke before they expire. If a token is stolen, the attacker has access until the &lt;code&gt;exp&lt;/code&gt; timestamp is reached. This makes short-lived tokens and refresh token patterns mandatory for any secure implementation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Implementing Security in the Kotlin Ecosystem
&lt;/h2&gt;

&lt;p&gt;When moving from theory to code, Kotlin developers generally choose between the Spring Boot ecosystem and the Ktor framework. Each offers distinct patterns for integrating OAuth2 and JWT.&lt;/p&gt;

&lt;h3&gt;
  
  
  Spring Boot and Spring Security
&lt;/h3&gt;

&lt;p&gt;Spring Boot provides extensive auto-configuration. By adding the &lt;code&gt;spring-boot-starter-oauth2-resource-server&lt;/code&gt; dependency, you can configure your application to validate JWTs by simply pointing to an issuer URI. &lt;a href="https://www.baeldung.com/spring-security-oauth-jwt" rel="noopener noreferrer"&gt;Baeldung’s guide on Spring Security OAuth JWT&lt;/a&gt; notes that you can even include custom claims in the token to pass domain-specific data, such as a subscription tier or a tenant ID.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="nd"&gt;@Configuration&lt;/span&gt;
&lt;span class="nd"&gt;@EnableWebSecurity&lt;/span&gt;
&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;SecurityConfig&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nd"&gt;@Bean&lt;/span&gt;
    &lt;span class="k"&gt;fun&lt;/span&gt; &lt;span class="nf"&gt;filterChain&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;HttpSecurity&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;SecurityFilterChain&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;http&lt;/span&gt;
            &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;authorizeHttpRequests&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;auth&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;
                &lt;span class="n"&gt;auth&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;requestMatchers&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"/api/public/**"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;permitAll&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="nf"&gt;anyRequest&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="nf"&gt;authenticated&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="n"&gt;oauth2ResourceServer&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;oauth2&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;
                &lt;span class="n"&gt;oauth2&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;jwt&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;jwt&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;
                    &lt;span class="c1"&gt;// Configure JWT validation here&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="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;build&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Ktor Server
&lt;/h3&gt;

&lt;p&gt;Ktor takes a more explicit approach using its &lt;code&gt;Authentication&lt;/code&gt; plugin. As detailed in the &lt;a href="https://ktor.io/docs/server-auth.html" rel="noopener noreferrer"&gt;Ktor Authentication documentation&lt;/a&gt;, you install the JWT provider and define how to validate the credentials. This is often more idiomatic for Kotlin developers who prefer a functional style over Spring's annotation-heavy architecture.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight kotlin"&gt;&lt;code&gt;&lt;span class="nf"&gt;install&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Authentication&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;jwt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"auth-jwt"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;realm&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"my-api"&lt;/span&gt;
        &lt;span class="nf"&gt;verifier&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;makeJwtVerifier&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;issuer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;audience&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;validate&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;credential&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;credential&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getClaim&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"username"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;asString&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
                &lt;span class="nc"&gt;JWTPrincipal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;credential&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;payload&lt;/span&gt;&lt;span class="p"&gt;)&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="k"&gt;null&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;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For teams that want to avoid the overhead of a dedicated Authorization Server like Keycloak, it is possible to implement &lt;a href="https://skryvets.com/blog/2024/12/15/spring-auth-jwt/" rel="noopener noreferrer"&gt;stateless JWT authentication manually&lt;/a&gt;, where the API itself issues and validates tokens. This is often suitable for smaller projects where vendor lock-in or the cost of SaaS identity providers is a concern.&lt;/p&gt;

&lt;h2&gt;
  
  
  Security Best Practices and Common Pitfalls
&lt;/h2&gt;

&lt;p&gt;Implementing the protocols is only half the battle; configuring them securely is where most vulnerabilities arise. One of the most frequent mistakes is using weak signing keys. For &lt;code&gt;HS256&lt;/code&gt;, the secret should be a high-entropy string of at least 256 bits. For &lt;code&gt;RS256&lt;/code&gt;, &lt;a href="https://www.baeldung.com/spring-security-oauth-jwt#bd-generate-jks" rel="noopener noreferrer"&gt;generating a proper Java KeyStore (JKS)&lt;/a&gt; ensures that your private keys are stored securely and not hardcoded in application properties.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Token Expiration and Refreshing&lt;/strong&gt;&lt;br&gt;
Never issue access tokens with long lifespans. A standard practice is 15 minutes for an access token, paired with a longer-lived refresh token stored in an &lt;code&gt;HttpOnly&lt;/code&gt;, &lt;code&gt;Secure&lt;/code&gt; cookie. This limits the window of opportunity for an attacker if a token is intercepted. &lt;a href="https://softwarepatternslexicon.com/kotlin/security-design-patterns/using-oauth2-and-jwt/" rel="noopener noreferrer"&gt;Software Patterns Lexicon&lt;/a&gt; highlights that token validation must include checks for the &lt;code&gt;nbf&lt;/code&gt; (not before) and &lt;code&gt;iat&lt;/code&gt; (issued at) claims to prevent replay attacks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Algorithm Verification&lt;/strong&gt;&lt;br&gt;
A classic JWT vulnerability involves the &lt;code&gt;"alg": "none"&lt;/code&gt; attack, where an attacker modifies the header to disable signature verification. Modern libraries like &lt;code&gt;java-jwt&lt;/code&gt; or Spring Security's &lt;code&gt;NimbusJwtDecoder&lt;/code&gt; protect against this by default, but you must explicitly define the expected algorithm during the verification phase. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scope vs. Role&lt;/strong&gt;&lt;br&gt;
In OAuth2, &lt;code&gt;scopes&lt;/code&gt; represent what the &lt;em&gt;application&lt;/em&gt; is allowed to do (e.g., &lt;code&gt;read:profile&lt;/code&gt;), while &lt;code&gt;roles&lt;/code&gt; represent what the &lt;em&gt;user&lt;/em&gt; is allowed to do (e.g., &lt;code&gt;ROLE_ADMIN&lt;/code&gt;). Mixing these up leads to over-privileged applications. Always validate both the presence of the correct scope and the user's roles before granting access to sensitive data.&lt;/p&gt;

&lt;p&gt;Finally, monitor your logs for frequent &lt;code&gt;401 Unauthorized&lt;/code&gt; or &lt;code&gt;403 Forbidden&lt;/code&gt; errors. While these are often benign user errors, a sudden spike can indicate a brute-force attempt or a misconfigured client attempting to use an expired refresh token. Security is a moving target, and in the Kotlin ecosystem, staying updated with the latest &lt;a href="https://ktor.io/docs/server-oauth.html" rel="noopener noreferrer"&gt;Ktor OAuth features&lt;/a&gt; or Spring Boot releases is the best defense against emerging threats.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://blog.jetbrains.com/kotlin/2026/07/secure-your-apis-oauth2-and-jwt-for-beginners/" rel="noopener noreferrer"&gt;Secure Your APIs: OAuth2 and JWT for Beginners&lt;/a&gt; — The primary source context providing the motivation for the article.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://tools.ietf.org/html/rfc6749#section-1.1" rel="noopener noreferrer"&gt;The OAuth 2.0 Authorization Framework&lt;/a&gt; — The definitive specification for OAuth2 roles and flows.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.spring.io/spring-security/reference/servlet/oauth2/" rel="noopener noreferrer"&gt;OAuth2 :: Spring Security&lt;/a&gt; — Official documentation for integrating OAuth2 into Spring-based Kotlin applications.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ktor.io/docs/server-jwt.html" rel="noopener noreferrer"&gt;JSON Web Tokens | Ktor Documentation&lt;/a&gt; — Reference for handling JWT authentication within the Ktor framework.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.baeldung.com/spring-security-oauth-jwt" rel="noopener noreferrer"&gt;Using JWT with Spring Security OAuth | Baeldung&lt;/a&gt; — Technical guide covering custom claims and keystore management.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ktor.io/docs/server-auth.html" rel="noopener noreferrer"&gt;Authentication and authorization in Ktor Server&lt;/a&gt; — Overview of the Ktor Authentication plugin and its supported schemes.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://skryvets.com/blog/2024/12/15/spring-auth-jwt/" rel="noopener noreferrer"&gt;Stateless JWT Authentication with Spring Security&lt;/a&gt; — Explores implementing JWT without a dedicated authorization server.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://softwarepatternslexicon.com/kotlin/security-design-patterns/using-oauth2-and-jwt/" rel="noopener noreferrer"&gt;OAuth2 and JWT in Kotlin: Secure Authentication and Token Management&lt;/a&gt; — Discusses design patterns for token validation and refresh mechanisms.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ktor.io/docs/server-oauth.html" rel="noopener noreferrer"&gt;OAuth | Ktor Documentation&lt;/a&gt; — Details on configuring external OAuth providers in Ktor.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>kotlin</category>
      <category>oauth</category>
    </item>
    <item>
      <title>What Is GEO and AEO? How to Get Your Content Cited by AI Search in 2026</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Tue, 17 Nov 2026 17:24:53 +0000</pubDate>
      <link>https://dev.to/dumebii/what-is-geo-and-aeo-how-to-get-your-content-cited-by-ai-search-in-2026-43ed</link>
      <guid>https://dev.to/dumebii/what-is-geo-and-aeo-how-to-get-your-content-cited-by-ai-search-in-2026-43ed</guid>
      <description>&lt;p&gt;Something changed in early 2025 that most bloggers and content teams missed entirely, including me.&lt;/p&gt;

&lt;p&gt;organic traffic gotten from the traditional Google rankings started to flatten, but a different kind of referral was growing fast. &lt;br&gt;
The traffic coming in from ChatGPT, Perplexity, and Google's AI Overviews were converting at significantly higher rates than standard organic traffic as this started to signal trust and truth. &lt;br&gt;
In one documented B2B SaaS case study covering 42 websites, AI-referred traffic converted at 14.2% compared to 2.8% for traditional organic search. That's 5x in difference.&lt;/p&gt;

&lt;p&gt;When I started building out the Ozigi blog, I made the mistake most new content teams make: I optimized purely for Google ranking because this is what my SEO training taught me. I would target keywords, write long-form content, build internal links, etc. Well, it worked...Partially. &lt;br&gt;
We got indexed, we started seeing impressions in Google's Search Console. &lt;br&gt;
But this wasn't the impact i was expecting with all the SEO effort being put in. The impressions simply were not converting, and when I searched for topics we had written about directly in ChatGPT or Perplexity, we were not cited anywhere.&lt;/p&gt;

&lt;p&gt;That is when I went deep on GEO and AEO. This guide covers what I learned, what the research actually says, and the exact changes that move the needle.&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/blog/geo-aeo-guide/ozigi_seo_aeo_geo_fixed.svg" class="article-body-image-wrapper"&gt;&lt;img src="/images/blog/geo-aeo-guide/ozigi_seo_aeo_geo_fixed.svg" alt="A simple three-column diagram comparing SEO / AEO / GEO"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is The Difference Between GEO And AEO In SEO?
&lt;/h2&gt;

&lt;p&gt;These two terms are used interchangeably by most people, which creates confusion. They are related but not identical.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GEO (Generative Engine Optimization)&lt;/strong&gt; is the practice of structuring your content so that large language models (ChatGPT, Perplexity, Google Gemini, Claude, Microsoft Copilot) cite or mention your content when generating answers to user queries. The term was coined in a 2024 academic paper published at ACM SIGKDD by researchers from Princeton, Georgia Tech, IIT Delhi, and the Allen Institute for AI.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AEO (Answer Engine Optimization)&lt;/strong&gt; focuses specifically on getting your content surfaced as direct answers inside AI-driven interfaces: Google's AI Overviews, featured snippets, People Also Ask boxes, and voice search results.&lt;/p&gt;

&lt;p&gt;The main difference: AEO is about owning the answer box. GEO is about being the source the AI trusts when it builds that answer. In 2026, you want both.&lt;/p&gt;

&lt;p&gt;Traditional SEO asks: &lt;em&gt;Can I rank on page one?&lt;/em&gt;&lt;br&gt;
AEO asks: &lt;em&gt;Can I own the direct answer for this query?&lt;/em&gt;&lt;br&gt;
GEO asks: &lt;em&gt;Will AI cite me as a trusted source when answering this question?&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does GEO And AEO Matter In 2026?
&lt;/h2&gt;

&lt;p&gt;AI Overviews now appear in 25.11% of Google searches, up from 13.14% in March 2025, based on analysis of 21.9 million queries. Generative AI referral traffic is growing 165 times faster than organic search traffic. Ahrefs' February 2026 research found that AI Overviews now reduce organic click-through rates by 58%.&lt;/p&gt;

&lt;p&gt;Put plainly: AI is answering more questions before users ever reach a website. If you are not being cited in those answers, you are invisible to a large and fast-growing segment of your potential readers.&lt;/p&gt;

&lt;p&gt;The good news is that only 16% of brands are systematically tracking AI search performance, according to McKinsey (2025). The window for early-mover advantage is still open.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Stat to bookmark:&lt;/strong&gt; AI-referred sessions jumped 527% year-over-year in the first five months of 2025, according to &lt;a href="https://www.previsible.com/resources/ai-traffic-report-2025" rel="noopener noreferrer"&gt;Previsible's 2025 AI Traffic Report&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  How AI Search Engines Actually Choose What to Cite
&lt;/h2&gt;

&lt;p&gt;This is the part most guides skip, and it is the most important.&lt;/p&gt;

&lt;p&gt;AI platforms do not retrieve your page the way Google does. They use a three-step process:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Retrieval&lt;/strong&gt;: The model queries a web index (Bing for ChatGPT, Google for Gemini) to find relevant pages. If you are not indexed or your content does not match the query semantically, you never enter the process.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Extraction&lt;/strong&gt;: Retrieved pages are split into chunks and scored against the user's question. Paragraphs that stand alone and contain direct, clear claims win here.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Generation&lt;/strong&gt;: The model writes an answer using the highest-scoring chunks and cites the sources.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The implication of this is that &lt;strong&gt;44% of all LLM citations come from the first 30% of a page's content&lt;/strong&gt;, according to Seer Interactive's analysis. If your answer is buried in paragraph 14, you are not getting cited.&lt;/p&gt;

&lt;p&gt;Additionally, Superlines' research found that AI platforms look for &lt;strong&gt;consensus signals&lt;/strong&gt;. That is, your brand appearing consistently across Reddit discussions, industry publications, YouTube, and your own website, all with similar positioning. If you only exist on your own domain with minimal external validation, AI systems treat your claims with skepticism.&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/blog/geo-aeo-guide/ozigi_retrieval_extraction_generation_flowchart.svg" class="article-body-image-wrapper"&gt;&lt;img src="/images/blog/geo-aeo-guide/ozigi_retrieval_extraction_generation_flowchart.svg" alt="A flowchart of the Retrieval &gt; Extraction &gt; Generation process"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Does GEO Replace Traditional SEO?
&lt;/h2&gt;

&lt;p&gt;No. And anyone telling you otherwise is selling something.&lt;/p&gt;

&lt;p&gt;Strong Google rankings remain foundational because every URL surfaced in an LLM response is pulled from a live search index. Google's AI Overviews pull roughly 40% of their citations from content ranking in the top 10 organic results. SEO gets you indexed and trusted. GEO and AEO get you cited once you are.&lt;/p&gt;

&lt;p&gt;Think of it as three layers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SEO&lt;/strong&gt; gets your content found and indexed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AEO&lt;/strong&gt; structures your content to be extracted as direct answers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GEO&lt;/strong&gt; builds enough authority and presence that AI platforms trust and cite you consistently&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The most efficient approach is to build content that serves all three simultaneously rather than creating separate strategies for each.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Actually Gets You Cited: The Practical Checklist
&lt;/h2&gt;

&lt;p&gt;These are drawn from the &lt;a href="https://arxiv.org/abs/2311.09735" rel="noopener noreferrer"&gt;Princeton GEO research paper&lt;/a&gt;, Semrush's 2025 AI Overviews study, and Novara Labs' GEO optimization guide.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Answer First, Context Second
&lt;/h3&gt;

&lt;p&gt;Most marketing content follows: context, buildup, answer. AI engines want the opposite: &lt;strong&gt;answer, then evidence, then context&lt;/strong&gt;. Lead every section with one to two sentences that directly answer the heading. Put the explanation after.&lt;/p&gt;

&lt;p&gt;When I restructured three Ozigi blog posts this way, our Search Console impressions on conversational queries increased within two weeks, before any other changes.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Use Question-Based Headings Throughout
&lt;/h3&gt;

&lt;p&gt;Structure your H2s and H3s as questions people actually type. Instead of "Our Approach to Content Strategy," write "How Do You Optimize Blog Content for AI Search?" AI engines match headings to user queries directly. This is how &lt;a href="https://www.semrush.com/blog/how-to-optimize-content-for-ai-search-engines/" rel="noopener noreferrer"&gt;Semrush structures their own content&lt;/a&gt;. They appear consistently in AI-generated answers because their section headers align with real queries.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Include Verifiable Statistics and Cite Your Sources
&lt;/h3&gt;

&lt;p&gt;Content with statistics and source citations gets cited up to 40% more than unoptimized content, based on the Princeton GEO paper's findings. Vague claims get ignored. Specific, attributable data gets extracted and cited. Every stat in this article links back to its original source for exactly this reason.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Build a Real FAQ Section
&lt;/h3&gt;

&lt;p&gt;Use &lt;a href="https://search.google.com/search-console/about" rel="noopener noreferrer"&gt;Google Search Console&lt;/a&gt; to find the natural-language queries your content already gets impressions for. Those are the exact questions people are typing into AI tools. Build your FAQ around them with short, precise answers (40 to 60 words per answer) which are easiest for AI to extract and reproduce.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Use Proper Semantic HTML Structure
&lt;/h3&gt;

&lt;p&gt;Apply H2, H3, &lt;code&gt;&amp;lt;ul&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;strong&amp;gt;&lt;/code&gt;, and a consistent heading hierarchy throughout. AI crawlers parse semantic structure to understand content hierarchy and emphasis. A wall of text with no structure gets deprioritized at the extraction stage regardless of how good the content is.&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Add an llms.txt File to Your Site
&lt;/h3&gt;

&lt;p&gt;Adding an &lt;code&gt;llms.txt&lt;/code&gt; file to your root directory signals AI-readiness to crawlers and gives models a structured overview of your site's content. &lt;a href="https://novaralabs.tech/blog/how-to-optimize-content-chatgpt-perplexity" rel="noopener noreferrer"&gt;Novara Labs has a practical implementation guide&lt;/a&gt; that takes under an hour to complete.&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Check Your robots.txt Is Not Blocking AI Crawlers
&lt;/h3&gt;

&lt;p&gt;Perplexity uses its own crawler (PerplexityBot). If your robots.txt accidentally blocks it, you will never appear in Perplexity results regardless of your content quality. Check your server logs or &lt;a href="https://docs.perplexity.ai/guides/perplexitybot" rel="noopener noreferrer"&gt;Perplexity's bot documentation&lt;/a&gt; to verify access is open.&lt;/p&gt;

&lt;h3&gt;
  
  
  8. Keep Key Pages Fresh
&lt;/h3&gt;

&lt;p&gt;Perplexity retrieves sources in real time on every query and favors content published or updated within the last 6 to 18 months for time-sensitive topics. Refreshing a key article every quarter by updating statistics, expanding the FAQ, adding recent examples, etc, is enough to maintain citation eligibility.&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/blog/geo-aeo-guide/ozigi_geo_checklist_fixed.svg" class="article-body-image-wrapper"&gt;&lt;img src="/images/blog/geo-aeo-guide/ozigi_geo_checklist_fixed.svg" alt="A visual checklist card of what actually gets cited that can be saved/shared"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How ChatGPT and Perplexity Differ in Citing (And Why It Changes Your Approach)
&lt;/h2&gt;

&lt;p&gt;These two platforms are not the same optimization target.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ChatGPT&lt;/strong&gt; uses Bing's web index when browsing is enabled. Setting up &lt;a href="https://www.bing.com/webmasters/about" rel="noopener noreferrer"&gt;Bing Webmaster Tools&lt;/a&gt; and submitting your sitemap there directly improves your ChatGPT citation probability. ChatGPT cites a smaller number of sources per answer and is more selective.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Perplexity&lt;/strong&gt; runs its own real-time crawler and retrieves sources fresh for every query. This means content changes can impact Perplexity citations relatively quickly. Perplexity cites more sources per answer, surfaces Reddit and community content heavily, and strongly favors structured headers that mirror the query wording.&lt;/p&gt;

&lt;p&gt;For most blogs starting this process, Perplexity is the more immediately actionable target. Optimize for it first while building longer-term authority for ChatGPT.&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/blog/geo-aeo-guide/ozigi_seo_aeo_geo_comparison.svg" class="article-body-image-wrapper"&gt;&lt;img src="/images/blog/geo-aeo-guide/ozigi_seo_aeo_geo_comparison.svg" alt="A comparison table of ChatGPT vs Perplexity optimization differences"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Building Online Presence Beyond Your Own Domain/Brand
&lt;/h2&gt;

&lt;p&gt;This is where GEO diverges most sharply from traditional SEO.&lt;/p&gt;

&lt;p&gt;Reddit, LinkedIn, and YouTube ranked among the most-referenced domains by major LLMs in late 2025, according to analysis of LLM citation patterns. AI systems look for your brand or ideas appearing consistently across multiple independent sources before recommending you confidently.&lt;/p&gt;

&lt;p&gt;Practical steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Answer questions genuinely in relevant Reddit communities. Not promotional, not dropping blog links. Give actual helpful answers that establish your expertise.&lt;/li&gt;
&lt;li&gt;Submit content to platforms like &lt;a href="https://www.indiehackers.com/" rel="noopener noreferrer"&gt;Indie Hackers&lt;/a&gt;, developer newsletters, and niche community spaces where your audience already asks questions.&lt;/li&gt;
&lt;li&gt;A short YouTube video complementing each major article, with chapter markers and a transcript on the page, gives AI systems an additional citation source for the same topic.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this requires a large existing audience. It requires consistent presence in the places AI systems already mine for authoritative answers.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Measure Your GEO and AEO Performance
&lt;/h2&gt;

&lt;p&gt;You cannot improve what you cannot see. These are three things you need to setup to monitor your GEO and SEO performance:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GA4 AI traffic channel grouping&lt;/strong&gt; —&amp;gt; Create a custom channel that buckets referrals from chatgpt.com, perplexity.ai, and other AI platforms above the generic "Referral" bucket. Compare sessions, engaged sessions, and conversion rates against organic search. &lt;a href="https://searchengineland.com/" rel="noopener noreferrer"&gt;Search Engine Land's guide on segmenting LLM traffic in GA4&lt;/a&gt; walks through the setup step by step.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Manual prompt monitoring&lt;/strong&gt; —&amp;gt; Once a week, run your target queries directly in ChatGPT, Perplexity, and Google AI Overviews. Note whether you are cited, which URL appears, and who else appears. Log it in a spreadsheet with a date column. Over 30 days, patterns become obvious.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Google Search Console long-tail queries&lt;/strong&gt; —&amp;gt; Filter for queries with six or more words. Growth in these conversational queries signals you are aligning with how people phrase questions in AI tools. This is free data that most content teams ignore entirely.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Note on Ozigi
&lt;/h2&gt;

&lt;p&gt;One thing I ran into consistently while building the Ozigi blog was this: producing structured, question-aligned, AI-ready content consistently is hard to do at speed. You already know what the structure should look like, but executing it across every article, every week, without slipping into generic long-form that nobody cites is the real work unless you have a strong team or agency.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://ozigi.app" rel="noopener noreferrer"&gt;Ozigi&lt;/a&gt; is what we built to address that problem directly. If you are generating long-form content for a blog and want it structured for both Google and AI citation from the start, it is worth a look. We are still building in public, and feedback from people who are actually trying to rank in this landscape shapes what we build next.&lt;/p&gt;

&lt;p&gt;&lt;a href="/images/blog/geo-aeo-guide/blogpost-homepage.png" class="article-body-image-wrapper"&gt;&lt;img src="/images/blog/geo-aeo-guide/blogpost-homepage.png" alt="ozigi blogpost homepage"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently Asked Questions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is the difference between SEO, AEO, and GEO?&lt;/strong&gt;&lt;br&gt;
SEO optimizes pages to rank in traditional search results. AEO structures content to appear as direct answers in AI-driven interfaces like Google's AI Overviews and featured snippets. GEO focuses on being cited by large language models like ChatGPT and Perplexity when they generate answers. All three work together. SEO is the foundation, AEO and GEO build on top of it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does GEO replace traditional SEO in 2026?&lt;/strong&gt;&lt;br&gt;
No. Strong Google rankings remain foundational because AI platforms pull citations from web indexes. Nearly 40% of Google's AI Overview citations come from top-10 organic results. GEO and AEO expand your strategy, they do not replace it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How do I know if ChatGPT or Perplexity is citing my content?&lt;/strong&gt;&lt;br&gt;
Run your target queries manually in both platforms and check for your domain in the citations. For tracking at scale, tools like &lt;a href="https://www.profoundai.com/" rel="noopener noreferrer"&gt;Profound&lt;/a&gt; and &lt;a href="https://athenahq.ai/" rel="noopener noreferrer"&gt;AthenaHQ&lt;/a&gt; monitor brand mentions across AI platforms automatically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is llms.txt and do I need it?&lt;/strong&gt;&lt;br&gt;
An llms.txt file sits at your site's root directory and signals AI-readiness to crawlers, giving language models a structured map of your content. It is not mandatory, but it removes friction for AI systems trying to understand your site. Implementation takes under an hour.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How often should I update content for GEO?&lt;/strong&gt;&lt;br&gt;
For high-value pages, review and refresh every quarter. Update statistics, expand the FAQ section, and add recent examples. Perplexity favors content updated within the last 6 to 18 months for time-sensitive topics, so visible freshness directly improves citation chances.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is AI search traffic actually worth optimizing for right now?&lt;/strong&gt;&lt;br&gt;
Yes, if you care about conversion quality. AI-referred traffic converts at 4 to 5 times the rate of standard organic traffic across multiple documented case studies. The volume is smaller than Google organic today, but growing at 165 times the rate of traditional search traffic.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What content format gets cited most by AI engines?&lt;/strong&gt;&lt;br&gt;
Short paragraphs (2 to 3 lines), question-based headings, direct-answer structure (answer before context), comparison tables, and FAQ sections. Content with verifiable statistics and cited sources gets cited up to 40% more than unoptimized content, based on the Princeton GEO research.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does AEO stand for?&lt;/strong&gt;&lt;br&gt;
AEO stands for Answer Engine Optimization. It is the practice of structuring content so that AI-powered search tools — Google's AI Overviews, ChatGPT, Perplexity — can extract and surface it as a direct answer to user queries, rather than just returning your page as a ranked link.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Building a blog and trying to figure out what actually gets cited in AI search? Drop your questions in the comments or reach out on &lt;a href="mailto:hello@ozigi.app"&gt;hello@ozigi.app&lt;/a&gt;. We are running these experiments on the Ozigi blog in real time and will update this guide as results come in.&lt;/em&gt;&lt;/p&gt;




</description>
      <category>ai</category>
      <category>webdev</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>6 n8n Alternatives For Teams Outgrowing Manual Flow-building</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Thu, 12 Nov 2026 11:37:49 +0000</pubDate>
      <link>https://dev.to/dumebii/6-n8n-alternatives-for-teams-outgrowing-manual-flow-building-3g9l</link>
      <guid>https://dev.to/dumebii/6-n8n-alternatives-for-teams-outgrowing-manual-flow-building-3g9l</guid>
      <description>&lt;p&gt;A handful of flows are quick to build in n8n. A few of them, however, raise different questions: who changed this one, what did it do overnight, and who is told when it fails.&lt;/p&gt;

&lt;p&gt;This article covers six tools that answer those questions in different ways. Some keep a visual builder and add controls around it, and one replaces the canvas with short typed flows. Each entry says what the tool does better, where it falls short, and when you should stay on n8n.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why teams outgrow flow-building
&lt;/h2&gt;

&lt;p&gt;Three problems showed up when I built one small job in n8n: classify a support message as bug, billing or feature, then summarize it in a sentence.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Input checks are your job.&lt;/strong&gt; A blank message reached the model until we added an If node and a second responder, and a lone "." still got through.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failure handling is something you switch on.&lt;/strong&gt; Retry is off by default. Nine of our first 12 requests failed with retry off, every one we inspected a Google 503 error, and the caller got a bare HTTP 500 while the real error sat in the Executions list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Identity is flat.&lt;/strong&gt; The webhook was open, one Gemini credential served every request, and Executions recorded no caller.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. Barndoor Automations
&lt;/h2&gt;

&lt;p&gt;Barndoor Automations suits teams that want AI steps written as short typed Blueprints, with a gateway that records every tool call. You describe each step in plain English, and the model works out how to carry it out, inside a Blueprint that fixes the inputs and the shape of the answer. Barndoor's agent architects discover your connected tools, assess the flow's requirements, clarify assumptions and write the flow in its native language, FML.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Better than n8n:&lt;/strong&gt; a required parameter blocked empty and space-only messages in the test form, and the label never left the declared set of bug, billing and feature. The gateway log recorded the user, AI agent, tool, allow or deny decision and a trace ID for each call.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Falls short:&lt;/strong&gt; we found no replay or retry controls, hit a Google 400 error on the first test run after some edits, and saw no version history in the plan editor and no token count per run. A lone "." still got through.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Switch to &lt;a href="https://automations.barndoor.ai/" rel="noopener noreferrer"&gt;Barndoor&lt;/a&gt; if&lt;/strong&gt; your flows are mostly AI steps and you want input checks and a call-level audit trail without building them yourself. &lt;strong&gt;Stay on n8n if&lt;/strong&gt; you want a visual canvas and named version history.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Pipedream
&lt;/h2&gt;

&lt;p&gt;Pipedream suits developers who like n8n's code steps and want more admin control around them.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Better than n8n:&lt;/strong&gt; steps can &lt;a href="https://pipedream.com/docs/workflows/building-workflows/settings.md" rel="noopener noreferrer"&gt;retry up to 8 times&lt;/a&gt; before an error notification, and failed events can be &lt;a href="https://pipedream.com/docs/workflows/event-history" rel="noopener noreferrer"&gt;replayed in bulk&lt;/a&gt;. New &lt;a href="https://pipedream.com/docs/apps/connected-accounts" rel="noopener noreferrer"&gt;connected accounts&lt;/a&gt; are private to the person who added them, and access can be opened to individual members or the whole workspace.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Falls short:&lt;/strong&gt; it runs as a hosted service, and approvals and policy controls for AI steps aren't covered here. &lt;a href="https://pipedream.com/docs/workspaces" rel="noopener noreferrer"&gt;SSO and SCIM&lt;/a&gt; sit on the Business plan.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Switch if&lt;/strong&gt; you want code-level control with retries and account-level access built in. &lt;strong&gt;Stay on n8n if&lt;/strong&gt; you want to run your flows on your own machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Make
&lt;/h2&gt;

&lt;p&gt;Make suits teams that want to stay in a visual builder and get finer control over what happens when a step fails.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Better than n8n:&lt;/strong&gt; &lt;a href="https://make.com/en/help/errors/directives-for-error-handling" rel="noopener noreferrer"&gt;error handlers&lt;/a&gt; include Break, Commit, Ignore, Rollback and Retry, and &lt;a href="https://help.make.com/manage-incomplete-executions" rel="noopener noreferrer"&gt;incomplete executions&lt;/a&gt; can be retried from the module that failed. The &lt;a href="https://help.make.com/make-ai-agent-new-app" rel="noopener noreferrer"&gt;AI Agent app&lt;/a&gt; can retry once on a fallback connection and model if the primary fails, and its output shows token usage per run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Falls short:&lt;/strong&gt; the AI Agent app is in open beta, and &lt;a href="https://help.make.com/incomplete-executions.md" rel="noopener noreferrer"&gt;incomplete executions&lt;/a&gt; are off by default. Output schema checks, whose credentials a run uses and tool policies aren't covered here.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Switch if&lt;/strong&gt; failed runs are your main pain and you want retries and rollbacks set per module. &lt;strong&gt;Stay on n8n if&lt;/strong&gt; you want to run it yourself in Docker, as we did.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Zapier
&lt;/h2&gt;

&lt;p&gt;Zapier suits teams that want AI steps in app-to-app workflows without hosting anything.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Better than n8n:&lt;/strong&gt; replay is built in, and &lt;a href="https://help.zapier.com/hc/en-us/articles/8496241726989" rel="noopener noreferrer"&gt;autoreplay tries a step up to 5 times&lt;/a&gt;. AI by Zapier has &lt;a href="https://help.zapier.com/hc/en-us/articles/8496342944013" rel="noopener noreferrer"&gt;structured output fields&lt;/a&gt;, and Zapier offers a &lt;a href="https://zapier.com/de/legal/automation-platform-information" rel="noopener noreferrer"&gt;queryable audit trail&lt;/a&gt; of every run and model call.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Falls short:&lt;/strong&gt; &lt;a href="https://zapier.com/?app=1" rel="noopener noreferrer"&gt;Action Restrictions and log streaming&lt;/a&gt; are Enterprise features, and &lt;a href="https://help.zapier.com/hc/en-us/articles/8496291148685" rel="noopener noreferrer"&gt;Zap history&lt;/a&gt; guarantees up to 60 days of run data. It runs in Zapier's own cloud.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Switch if&lt;/strong&gt; you'd rather not run a server and want retries and an audit trail from day one. &lt;strong&gt;Stay on n8n if&lt;/strong&gt; you need the flow engine on your own infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Tray.io
&lt;/h2&gt;

&lt;p&gt;Tray.io suits teams that expose workflows to AI clients and need each user's own permissions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Better than n8n:&lt;/strong&gt; its Agent Gateway &lt;a href="https://tray.ai/documentation/platform/artificial-intelligence/agent-gateway/workflow-tools.md" rel="noopener noreferrer"&gt;supports per-user OAuth on connector tools&lt;/a&gt;, so calls use each person's own authorization instead of one shared credential. Workflow tools can include human-in-the-loop approvals and audit logging, and failed runs can be replayed from the &lt;a href="https://tray.ai/documentation/platform/enterprise-core/logs-debugging/debug-logs" rel="noopener noreferrer"&gt;logs&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Falls short:&lt;/strong&gt; log retention and the replay window depend on your package, and workflows run in Tray's managed runtime. Schema checks on AI output aren't covered here.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Switch if&lt;/strong&gt; one shared credential is the problem you can't live with. &lt;strong&gt;Stay on n8n if&lt;/strong&gt; you want to host the engine yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Workato
&lt;/h2&gt;

&lt;p&gt;Workato suits larger teams that need audit, versioning and deployment controls around many integrations.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Better than n8n:&lt;/strong&gt; &lt;a href="https://docs.workato.com/recipes/jobs.html" rel="noopener noreferrer"&gt;job history&lt;/a&gt; records the recipe version and any runtime user connections, an &lt;a href="https://docs.workato.com/en/data-orchestration/data-pipelines-orchestrate-monitor" rel="noopener noreferrer"&gt;activity audit log&lt;/a&gt; can stream to tools such as Datadog and Splunk, and a separate deployment permission governs moves between environments. &lt;a href="https://docs.workato.com/en/agentic/agentic.md" rel="noopener noreferrer"&gt;Agent Studio&lt;/a&gt; adds version management for skills and agents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Falls short:&lt;/strong&gt; the engine stays in Workato's cloud. An &lt;a href="https://docs.workato.com/en/on-prem/groups/add-agent/add-agent-faqs" rel="noopener noreferrer"&gt;on-prem agent&lt;/a&gt; installed in your network lets recipes reach internal systems, but it's a bridge, not a self-hosted engine. A rerun always uses the latest recipe version, so it won't reproduce an old run exactly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Switch if&lt;/strong&gt; auditors ask who ran what, on which version. &lt;strong&gt;Stay on n8n if&lt;/strong&gt; you want the engine itself on your own infrastructure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Should you leave n8n at all?
&lt;/h2&gt;

&lt;p&gt;Not every team should. n8n gave us named version history, node-by-node logs, token counts per model call and a setup that could run in Docker on a laptop. If your flows are few, your team is comfortable writing its own guardrails, and nobody outside the team depends on the output, n8n may be all you need.&lt;/p&gt;

&lt;p&gt;If blank messages are reaching your model, callers are getting a bare 500, or one credential sits behind every request, that's the point to move. Pick the tool above that fixes those problems the most, and try it on a single flow first.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>automation</category>
      <category>productivity</category>
      <category>beginners</category>
    </item>
    <item>
      <title>9 AI Workflow Automaton Tools Compared for 2027</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Mon, 09 Nov 2026 14:50:40 +0000</pubDate>
      <link>https://dev.to/dumebii/9-ai-workflow-automaton-tools-compared-for-2027-1km6</link>
      <guid>https://dev.to/dumebii/9-ai-workflow-automaton-tools-compared-for-2027-1km6</guid>
      <description>&lt;p&gt;AI workflow automation tools connect your apps and add a model to the steps in between. This way, a support message can be classified, summarized or routed without anyone writing a rule for every case. Adding the AI step is just one aspect, controlling what happens when the model is wrong, whose credentials the run uses, and what record it leaves is where the real work is.&lt;/p&gt;

&lt;p&gt;This article compares nine automation tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Barndoor Automations:&lt;/strong&gt; AI workflows written as typed plans, with a gateway that governs tool access and logs every call.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;n8n:&lt;/strong&gt; a workflow builder you can self-host, with AI agent and model nodes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zapier:&lt;/strong&gt; app-to-app automation with AI steps and, on Enterprise, admin controls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make:&lt;/strong&gt; a visual scenario builder with detailed error handling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Workato:&lt;/strong&gt; an enterprise integration platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Power Automate:&lt;/strong&gt; Microsoft's workflow and RPA platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tray.io:&lt;/strong&gt; an enterprise orchestration platform with an agent gateway.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UiPath:&lt;/strong&gt; an RPA and agent platform.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pipedream:&lt;/strong&gt; a code-first integration platform with GitHub sync.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://automations.barndoor.ai/" rel="noopener noreferrer"&gt;Barndoor Automations&lt;/a&gt; finishes second of nine, tied with UiPath at 66.7 overall, and shares the highest governance score (67%) with n8n and UiPath. n8n ranks first overall, and the other six tools land within 3.3 points of each other. We scored all nine on reliability and governance.&lt;/p&gt;

&lt;p&gt;Barndoor's strongest results are output validation and its audit trail: the gateway log names the user, AI agent, tool and allow-or-deny decision for each call. Its weaker scores are failure handling and change control. n8n leads reliability at 89%.&lt;/p&gt;

&lt;h2&gt;
  
  
  How we ranked
&lt;/h2&gt;

&lt;p&gt;Each tool gets 0 to 3 on eight criteria: three for reliability and five for governance. The overall rank weighs the two groups equally.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reliability:&lt;/strong&gt; output validation (is the model's answer checked against a schema before the next step?), failure handling (retries, error branches, replay), and run visibility (history, step logs, the real error text).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Governance:&lt;/strong&gt; identity (whose credentials a run uses), policy and approvals, audit trail, change control (version history, review, environments), and hosting and data controls.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Ranking at a glance
&lt;/h2&gt;

&lt;p&gt;n8n ranks first, Barndoor and UiPath tie for second, and the bottom six sit within 3.3 points of each other, so don't read their order closely.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Rank&lt;/th&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Reliability&lt;/th&gt;
&lt;th&gt;Governance&lt;/th&gt;
&lt;th&gt;Overall&lt;/th&gt;
&lt;th&gt;Criteria assessed&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;n8n&lt;/td&gt;
&lt;td&gt;89%&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;77.8&lt;/td&gt;
&lt;td&gt;8 of 8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Barndoor Automations&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;66.7&lt;/td&gt;
&lt;td&gt;8 of 8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;UiPath&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;66.7&lt;/td&gt;
&lt;td&gt;7 of 8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Tray.io&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;60%&lt;/td&gt;
&lt;td&gt;63.3&lt;/td&gt;
&lt;td&gt;7 of 8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Workato&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;58%&lt;/td&gt;
&lt;td&gt;62.5&lt;/td&gt;
&lt;td&gt;6 of 8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;Make&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;56%&lt;/td&gt;
&lt;td&gt;61.1&lt;/td&gt;
&lt;td&gt;5 of 8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;Pipedream&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;56%&lt;/td&gt;
&lt;td&gt;61.1&lt;/td&gt;
&lt;td&gt;5 of 8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;Zapier&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;53%&lt;/td&gt;
&lt;td&gt;60.0&lt;/td&gt;
&lt;td&gt;8 of 8&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;td&gt;Power Automate&lt;/td&gt;
&lt;td&gt;67%&lt;/td&gt;
&lt;td&gt;53%&lt;/td&gt;
&lt;td&gt;60.0&lt;/td&gt;
&lt;td&gt;8 of 8&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Percentages count only the criteria assessed. Tools with the same overall score are listed in no particular order.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. n8n
&lt;/h2&gt;

&lt;p&gt;n8n ranks first because it passed more of our checks than any other tool here. It suits teams that want to self-host and pick their own model.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strong:&lt;/strong&gt; a structured output parser kept every label inside bug, billing and feature. The Executions list shows node-by-node logs, token counts per model call and a version ID per run. Named version history shows author and time, and we ran it in Docker with our own model key.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak:&lt;/strong&gt; blank input reached the model until we built a guard with an If node and a second responder. Retry is off by default, and 9 of our first 12 requests failed with retry off, every one we inspected a Google 503 error. Executions record no caller.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scores:&lt;/strong&gt; reliability 8 of 9, governance 10 of 15.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Barndoor Automations
&lt;/h2&gt;

&lt;p&gt;Barndoor ties for second: it passed our output and audit checks, and it lost points for failure handling and change control. It suits teams that want typed outputs plus a gateway that logs every tool call.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strong:&lt;/strong&gt; a required parameter blocked empty and space-only input, and the label never left the declared set. The gateway log names the user, AI agent, tool, allow or deny decision, policy and trace ID for each call.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak:&lt;/strong&gt; we found no replay or retry controls, and the first test run after an edit sometimes failed with a Google 400. The plan editor showed no version history. Our run view showed no token count or cost per run, and the gateway's LLM Usage Dashboard showed zero requests for our plan runs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scores:&lt;/strong&gt; reliability 6 of 9, governance 10 of 15.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. UiPath
&lt;/h2&gt;

&lt;p&gt;UiPath ties Barndoor on score, which makes it the strongest of the other seven tools. It suits enterprises that already run UiPath robots and want agents under the same governance.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strong:&lt;/strong&gt; &lt;a href="https://docs.uipath.com/zh-CN/agents/automation-cloud/latest/user-guide/agents-governance" rel="noopener noreferrer"&gt;AI Trust Layer policies&lt;/a&gt; set guardrails on agent LLM calls, control which models agents can use, and can require a human-in-the-loop escalation. The Audit tab records model, product, tenant and user, and &lt;a href="https://docs.uipath.com/agents/automation-cloud/latest/user-guide/best-practices-for-publishing-and-deploying-agents" rel="noopener noreferrer"&gt;agent best practices&lt;/a&gt; call for versioning, change logs and rollback. Automation Suite is the self-hosted option, and you connect your own AI provider.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak:&lt;/strong&gt; tool inputs and outputs carry schemas. Validation of the agent's final answer and whose credentials a run uses aren't covered here. The platform is broad, so expect more to learn than with a single-purpose tool.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scores:&lt;/strong&gt; reliability 6 of 9, governance 8 of 12 assessed.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Tray.io
&lt;/h2&gt;

&lt;p&gt;Tray scores 63.3, helped by per-user authentication and approvals for agent tools. It suits teams exposing workflows to AI clients who need each user's own permissions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strong:&lt;/strong&gt; its Agent Gateway &lt;a href="https://tray.ai/documentation/platform/artificial-intelligence/agent-gateway/workflow-tools.md" rel="noopener noreferrer"&gt;supports per-user OAuth on connector tools&lt;/a&gt;. Workflow tools can include human-in-the-loop approvals and audit logging. Failed runs can be replayed from the &lt;a href="https://tray.ai/documentation/platform/enterprise-core/logs-debugging/debug-logs" rel="noopener noreferrer"&gt;logs&lt;/a&gt;, and its &lt;a href="https://tray.ai/glossary/workflow/" rel="noopener noreferrer"&gt;workflow glossary&lt;/a&gt; lists versioning, rollback and environment promotion.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak:&lt;/strong&gt; how long logs stay available, and how long you can replay runs, depends on your package. Schema checks on AI output aren't covered here. Workflows run in Tray's managed runtime, so hosting stays with Tray.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scores:&lt;/strong&gt; reliability 4 of 6 assessed, governance 9 of 15.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Workato
&lt;/h2&gt;

&lt;p&gt;Workato has some of the most detailed error handling on this list. It suits enterprises building large integration estates.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strong:&lt;/strong&gt; &lt;a href="https://docs.workato.com/en/recipes/best-practices-error-handling.html" rel="noopener noreferrer"&gt;error handling&lt;/a&gt; uses monitor blocks with configurable retries, and it doesn't retry by default. &lt;a href="https://docs.workato.com/recipes/jobs.html" rel="noopener noreferrer"&gt;Job history&lt;/a&gt; records the recipe version and any runtime user connections, and you can rerun a job. An &lt;a href="https://docs.workato.com/en/data-orchestration/data-pipelines-orchestrate-monitor" rel="noopener noreferrer"&gt;activity audit log&lt;/a&gt; can stream to tools such as Datadog and Splunk. A separate deployment permission governs moves between environments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak:&lt;/strong&gt; role-based access controls cover who builds and releases, and limits on what an AI step can do aren't covered here. A rerun always uses the latest recipe version, so it won't reproduce an old run exactly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scores:&lt;/strong&gt; reliability 4 of 6 assessed, governance 7 of 12 assessed.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Make
&lt;/h2&gt;

&lt;p&gt;Make gives builders detailed control over errors, though only five of the eight criteria could be scored. It suits teams who build visually and want fine control over what happens when a step fails.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strong:&lt;/strong&gt; &lt;a href="https://make.com/en/help/errors/directives-for-error-handling" rel="noopener noreferrer"&gt;error handlers&lt;/a&gt; include Break, Commit, Ignore, Rollback and Retry, and &lt;a href="https://help.make.com/manage-incomplete-executions" rel="noopener noreferrer"&gt;incomplete executions&lt;/a&gt; can be retried from the module that failed. Execution history links failed runs to those executions. Make offers an &lt;a href="https://make.com/en/api-documentation/rate-limiting" rel="noopener noreferrer"&gt;on-premise version&lt;/a&gt;, and a &lt;a href="https://help.make.com/make-ai-agent-improvements-new-ai-models-sso-login-routing-and-mcp-tools-for-audit-logs" rel="noopener noreferrer"&gt;release note&lt;/a&gt; covers querying audit log events through MCP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak:&lt;/strong&gt; &lt;a href="https://help.make.com/incomplete-executions.md" rel="noopener noreferrer"&gt;incomplete executions&lt;/a&gt; are off by default. Schema checks on an AI agent's output, whose credentials a run uses, and tool policies aren't covered here. Restore and undo exist, but version history beyond them isn't covered here.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scores:&lt;/strong&gt; reliability 4 of 6 assessed, governance 5 of 9 assessed.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Pipedream
&lt;/h2&gt;

&lt;p&gt;Pipedream suits developers who want code-level control and Git, though only five of its eight criteria could be scored. Its error handling and run history are strong, and policy and audit controls aren't covered here.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strong:&lt;/strong&gt; steps &lt;a href="https://pipedream.com/docs/workflows/building-workflows/settings.md" rel="noopener noreferrer"&gt;retry up to 8 times&lt;/a&gt; before an error notification, and failed events can be &lt;a href="https://pipedream.com/docs/workflows/event-history" rel="noopener noreferrer"&gt;replayed in bulk&lt;/a&gt;. Event History with step logs is available on all plans, though how far back it goes depends on the plan. Connected accounts can be restricted to specific people or shared with the workspace, and GitHub Sync commits and deploys workflow code (&lt;a href="https://pipedream.com/docs/glossary" rel="noopener noreferrer"&gt;glossary&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak:&lt;/strong&gt; Policy and approval controls, an audit trail and schema checks on AI output aren't covered here, and it runs as a hosted service.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scores:&lt;/strong&gt; reliability 4 of 6 assessed, governance 5 of 9 assessed.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. Zapier
&lt;/h2&gt;

&lt;p&gt;Zapier covers the reliability basics well, and its strongest governance controls sit on the Enterprise plan. It suits teams adding AI steps to app-to-app workflows.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strong:&lt;/strong&gt; replay can be manual or automatic, and &lt;a href="https://help.zapier.com/hc/en-us/articles/8496241726989" rel="noopener noreferrer"&gt;autoreplay tries a step up to 5 times&lt;/a&gt;. &lt;a href="https://help.zapier.com/hc/en-us/articles/8496291148685" rel="noopener noreferrer"&gt;Zap history&lt;/a&gt; guarantees up to 60 days of run data, with step logs kept for 7. AI by Zapier has &lt;a href="https://help.zapier.com/hc/en-us/articles/8496342944013" rel="noopener noreferrer"&gt;structured output fields&lt;/a&gt;, and Zapier offers a &lt;a href="https://zapier.com/de/legal/automation-platform-information" rel="noopener noreferrer"&gt;queryable audit trail&lt;/a&gt; of every run and model call. AI Guardrails are available on all accounts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak:&lt;/strong&gt; &lt;a href="https://zapier.com/?app=1" rel="noopener noreferrer"&gt;Action Restrictions and log streaming&lt;/a&gt; are Enterprise features. &lt;a href="https://docs.zapier.com/mcp/security" rel="noopener noreferrer"&gt;Zapier MCP&lt;/a&gt; doesn't allow shared app connections. Zapier runs in its own cloud, though you can connect your own AI provider accounts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scores:&lt;/strong&gt; reliability 6 of 9, governance 8 of 15.&lt;/p&gt;

&lt;h2&gt;
  
  
  9. Power Automate
&lt;/h2&gt;

&lt;p&gt;Power Automate ties Zapier at 60.0, so their order carries no weight, even though its administrative governance is broad. It suits organizations already standardized on Microsoft 365.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strong:&lt;/strong&gt; &lt;a href="https://learn.microsoft.com/en-us/training/modules/create-configure-data-loss-prevention-policies/2-configure-data-loss-prevention-policies-for-power-platform" rel="noopener noreferrer"&gt;data loss prevention policies&lt;/a&gt; group connectors into business, non-business and blocked sets. &lt;a href="https://learn.microsoft.com/en-my/training/modules/describe-microsoft-power-platform-administration-governance/8-summary" rel="noopener noreferrer"&gt;Environments&lt;/a&gt;, solution pipelines with approval gates and Purview activity logging round out admin control. &lt;a href="https://learn.microsoft.com/en-us/power-automate/guidance/coding-guidelines/error-handling" rel="noopener noreferrer"&gt;Retry policies and run-after settings&lt;/a&gt; handle failures, and failed runs can be &lt;a href="https://learn.microsoft.com/en-us/flow/fix-flow-failures" rel="noopener noreferrer"&gt;resubmitted&lt;/a&gt; from a 28-day run history.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak:&lt;/strong&gt; AI Builder prompts can return JSON, but the &lt;a href="https://learn.microsoft.com/en-us/power-platform/release-plan/2024wave2/ai-builder/define-specific-output-formats-prompt-builder" rel="noopener noreferrer"&gt;release plan&lt;/a&gt; is archived and describes format, not strict validation. Whose credentials a flow uses isn't covered here. It runs in Microsoft's cloud with regional data residency settings.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Scores:&lt;/strong&gt; reliability 6 of 9, governance 8 of 15.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to choose
&lt;/h2&gt;

&lt;p&gt;Pick by your constraint first, then use the scores to break ties.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You must self-host or keep runs in your own network.&lt;/strong&gt; n8n self-hosts in Docker. Barndoor's Frags runtime, UiPath's Automation Suite and Make's on-premise version are also options.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You live in Microsoft 365.&lt;/strong&gt; Power Automate's connector policies, environments and Purview logging fit that setup, and the AI-specific controls are the part to check.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agents need each user's own permissions.&lt;/strong&gt; Tray supports per-user OAuth on agent tools. Barndoor has a per-account authorization step.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your team writes code and wants Git.&lt;/strong&gt; Pipedream's GitHub Sync and n8n's version history both serve that.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whichever you choose, test blank input and a failed model call before you rely on it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>beginners</category>
      <category>tooling</category>
      <category>automation</category>
    </item>
    <item>
      <title>Best AI Code Review Tools for Claude Code: CodeRabbit vs Greptile vs cubic vs Qodo</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Sat, 24 Oct 2026 00:19:35 +0000</pubDate>
      <link>https://dev.to/dumebii/best-ai-code-review-tools-for-claude-code-coderabbit-vs-greptile-vs-cubic-vs-qodo-213g</link>
      <guid>https://dev.to/dumebii/best-ai-code-review-tools-for-claude-code-coderabbit-vs-greptile-vs-cubic-vs-qodo-213g</guid>
      <description>&lt;p&gt;Building on the web these days is as easy as using the next-best AI code generator. AI Agents now write hundreds of lines across half a dozen files in a single session. However, the practices meant to catch problems (review, coding standards, governance) still assume a human typed every line and opened a pull request when they were done.&lt;/p&gt;

&lt;p&gt;I am building an app right now, and so far Claude Code has just written 400 lines across six files with nothing committed yet. I have vibe-coded apps before without going through this next step.&lt;/p&gt;

&lt;p&gt;After vibe-coding an app, before you commit, you pick a reviewer that sees that state.&lt;/p&gt;

&lt;p&gt;I tested Qodo, CodeRabbit, Greptile, and Cubic with that question in mind.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a quality layer for coding agents actually has to do
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Evaluation area&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;What should be assessed&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Context&lt;/td&gt;
&lt;td&gt;Can it understand the full codebase, repository relationships, history, and requirements?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Standards&lt;/td&gt;
&lt;td&gt;Can it bring organisational standards into the workflow &lt;em&gt;before&lt;/em&gt; generating code?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review independence&lt;/td&gt;
&lt;td&gt;Does it review the coding agent's work independently, rather than asking the agent to grade itself?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review quality&lt;/td&gt;
&lt;td&gt;Does it find meaningful issues without creating excessive noise?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lifecycle coverage&lt;/td&gt;
&lt;td&gt;Does it support planning, implementation, local review, PR review and resolution?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;Can teams enforce and manage standards consistently across repositories and agents?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Traceability&lt;/td&gt;
&lt;td&gt;Are findings, decisions and resolutions recorded and visible?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Human oversight&lt;/td&gt;
&lt;td&gt;Does it help people focus on risks and decisions rather than reviewing every generated line?&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The other products in this article primarily help review generated code. Qodo is the product designed as the independent quality and governance layer around the agent generating it.&lt;/p&gt;

&lt;p&gt;Qodo is described as &lt;a href="https://docs.qodo.ai/agentic-toolbox" rel="noopener noreferrer"&gt;"A CLI-powered Quality counterpart for coding agents"&lt;/a&gt;, and its skills are organized by workflow stage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Claude Code gives a reviewer four doors
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An &lt;a href="https://code.claude.com/docs/en/mcp" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt; exposes tools the model calls mid-session. Claude Code takes them over HTTP or stdio, and project-scoped servers live in a .mcp.json you commit. Anthropic's docs note that project servers need interactive approval before they connect, and that you can set a per-server timeout in milliseconds.&lt;/li&gt;
&lt;li&gt;A plugin comes from a marketplace and can ship slash commands, skills, and its own MCP entry together. /plugin marketplace add owner/repo then /plugin install name is the whole install.&lt;/li&gt;
&lt;li&gt;Agent skills are instruction files the agent loads when a task looks relevant. They need no protocol at all.&lt;/li&gt;
&lt;li&gt;And then there's Bash. A CLI is a review tool too. The agent runs it, reads stdout, and acts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The four review tools connect to these doors differently.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;MCP server&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Claude Code plugin&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Skills&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;CLI&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Qodo&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;td&gt;marketplace plugin&lt;/td&gt;
&lt;td&gt;five skills&lt;/td&gt;
&lt;td&gt;qodo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CodeRabbit&lt;/td&gt;
&lt;td&gt;client, not server&lt;/td&gt;
&lt;td&gt;/plugin install coderabbit&lt;/td&gt;
&lt;td&gt;cr skills&lt;/td&gt;
&lt;td&gt;coderabbit / cr&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Greptile&lt;/td&gt;
&lt;td&gt;api.greptile.com/mcp&lt;/td&gt;
&lt;td&gt;greptile@claude-plugin&lt;/td&gt;
&lt;td&gt;/check-pr, /greploop&lt;/td&gt;
&lt;td&gt;bundled with the plugin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;cubic&lt;/td&gt;
&lt;td&gt;&lt;a href="http://www.cubic.dev/api/mcp" rel="noopener noreferrer"&gt;www.cubic.dev/api/mcp&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;cubic@cubic&lt;/td&gt;
&lt;td&gt;six skills&lt;/td&gt;
&lt;td&gt;cubic&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;CodeRabbit points the protocol the other way. Rather than exposing itself as a server your agent calls, it acts as an MCP client and &lt;a href="https://docs.coderabbit.ai/integrations/mcp-servers" rel="noopener noreferrer"&gt;consumes your servers as review context&lt;/a&gt;, so requirements living in your issue tracker or docs system reach the reviewer. Useful, but it means Claude Code reaches CodeRabbit through the CLI or not at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which tool can review a dirty working tree?
&lt;/h2&gt;

&lt;p&gt;For &lt;a href="https://www.greptile.com/docs/code-review/greptile-cli" rel="noopener noreferrer"&gt;Greptile's CLI&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Greptile compares the current branch with the repository's default branch. It reviews committed changes that have not been merged. It ignores uncommitted changes.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For a human opening a PR, that's fine. For a Claude Code session that has been editing for twenty minutes and hasn't committed anything, it means the review is blind until you commit.&lt;/p&gt;

&lt;p&gt;The other three tools read the working tree directly. CodeRabbit reviews tracked changes by default, with --uncommitted for staged and unstaged edits and --include-untracked for anything Git hasn't seen yet. cubic's cubic review goes straight at uncommitted work and only compares against a base branch when you pass -b. Qodo's Review skill takes the local diff plus new untracked files, and &lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-codebase-review-skill" rel="noopener noreferrer"&gt;its docs&lt;/a&gt; are explicit that only the base commit needs to be pushed. Your edits can stay local and unpushed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using Qodo For Code Reviews
&lt;/h2&gt;

&lt;p&gt;Qodo is the only tool of the four in this article that treats the whole understand-write-review-resolve-govern cycle as the unit of design rather than attaching a reviewer to the end of it. Qodo's &lt;a href="https://www.qodo.ai/features/qodo-agentic-toolbox/" rel="noopener noreferrer"&gt;Agentic Toolbox&lt;/a&gt;, &lt;a href="https://www.qodo.ai/blog/introducing-qodos-agentic-toolbox/" rel="noopener noreferrer"&gt;announced September 9th&lt;/a&gt;, shipped five skills, and they map onto stages rather than features:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Skill&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Stage&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;What it does&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-get-rules-skill" rel="noopener noreferrer"&gt;Get Rules&lt;/a&gt; (optional)&lt;/td&gt;
&lt;td&gt;Write&lt;/td&gt;
&lt;td&gt;Retrieves the rules that apply to the current task, before code is generated&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-codebase-wisdom-skill" rel="noopener noreferrer"&gt;Codebase Wisdom&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Understand&lt;/td&gt;
&lt;td&gt;Dependencies, cross-repository relationships, impact, and recent changes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-codebase-review-skill" rel="noopener noreferrer"&gt;Review&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Review&lt;/td&gt;
&lt;td&gt;Runs Qodo Review on local changes, using the same engine as its PR reviews&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-review-resolver-skill" rel="noopener noreferrer"&gt;Review Resolver&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Resolve&lt;/td&gt;
&lt;td&gt;Retrieves and resolves findings directly inside the agent workflow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.qodo.ai/agentic-toolbox/manage-standards-skill" rel="noopener noreferrer"&gt;Manage Standards&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Govern&lt;/td&gt;
&lt;td&gt;Create, update, retire, re-scope and triage Review Standards&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Get Rules&lt;/strong&gt; moves standards to the front. The other tools in this article will wait until the code exists, then tell your agent what it got wrong. But, Get Rules pulls organisation-wide standards, repository conventions, and whatever guidance applies to the task into context before generation starts. Otherwise you repeat that process twice, once to generate the wrong thing, once to correct it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Manage Standards&lt;/strong&gt; is the governance piece. It is a skill your agent invokes. Admins can create, update, re-scope and bulk-triage the team's Review Standards conversationally from inside the session, rather than switching to the web portal. If you've ever put off tightening a rule because it meant a context switch, that conflict is the reason standards go stale. Non-admin contributions become pending suggestions for admin review, which is what keeps the governance intact.&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;Review Resolver&lt;/strong&gt;, every finding gets an explicit outcome: fixed with an applied change, skipped with a reason, or reported without changes. It resolves only what your instruction scopes it to. That fixed/skipped/reported contract is what makes traceability possible rather than aspirational. You can read back what the agent did and what it declined to do.&lt;/p&gt;

&lt;h3&gt;
  
  
  Understanding The Qodo Review Cycle
&lt;/h3&gt;

&lt;p&gt;Here is the cycle end to end, on a single change: adding webhook signature verification to a payments service.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understand.&lt;/strong&gt; Before touching anything, the agent asks Codebase Wisdom what it is walking into. Which services consume this endpoint, what the existing handlers look like, whether anyone has solved this before in a sibling repository, what recent commits touched this path. This is context a forge reviewer never has, because a forge reviewer only sees the diff.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Apply standards.&lt;/strong&gt; Get Rules pulls the standards that apply to this task like your organisation's rules on secret handling and request validation, plus whatever this repository specifically requires. The agent now writes against those rules rather than discovering them in review.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implement.&lt;/strong&gt; Claude Code writes the change. 400 lines across six files, nothing committed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Review independently.&lt;/strong&gt; Before any pull request exists, the Review skill runs Qodo's review engine over the local diff plus untracked files. This way, the reviewer is not the agent that wrote the code, and the reviewer is not waiting for a PR to be opened.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resolve.&lt;/strong&gt; Review Resolver pulls the findings back into the session with the fixed/skipped/reported contract. You see what was fixed, what was skipped and why, and what was flagged but deliberately left alone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Govern.&lt;/strong&gt; The convention that came up during the work gets offered as a Review Standard, so the next agent in the next repository starts with it already loaded.&lt;/p&gt;

&lt;p&gt;Then you open the pull request, and Qodo Code Review continues in the PR workflow with the same engine.&lt;/p&gt;

&lt;h3&gt;
  
  
  Getting set up
&lt;/h3&gt;

&lt;p&gt;Install it from the Claude Code, Codex, or Kiro marketplace, depending on your preferred choice. For any other setup, or to wire up several environments at once, there's the terminal path documented in the &lt;a href="https://docs.qodo.ai/agentic-toolbox/cli" rel="noopener noreferrer"&gt;CLI install guide&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://get.qodo.ai | sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is POSIX sh. It requires Node 20 or later. Windows gets a PowerShell line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;powershell&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ExecutionPolicy&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Bypass&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Command&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"irm https://get.qodo.ai/install.ps1 | iex"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The installer configures the available Qodo skills for supported agent environments. You can install without a Qodo account, but you need to sign in to use the managed skills. Skills update themselves: the Toolbox checks periodically and refreshes Qodo-managed skills on your next qodo command, without overwriting skills you own or have customized.&lt;/p&gt;

&lt;p&gt;If you were running the deprecated @qodo/command, installing the Agentic Toolbox makes a best effort to remove it.&lt;/p&gt;

&lt;p&gt;And for anything MCP-compatible that isn't a supported plugin target, the Toolbox is exposed as an MCP server and drops into your .mcp.json like any other.&lt;/p&gt;

&lt;p&gt;The next thing is to add its instructions to CLAUDE.md. Qodo publishes a &lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-overview#default-template" rel="noopener noreferrer"&gt;default template&lt;/a&gt;; these two lines changed how the loop behaved for me:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Before opening a pull request, run Qodo's local pre-PR review with context describing what changed, why, key decisions, and links to the ticket or design.

Perform one review-and-fix pass by default. Continue with another round when it is useful to validate meaningful fixes or when the user requests it, within an agreed limit.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  CodeRabbit Review For machine-readable output
&lt;/h2&gt;

&lt;p&gt;CodeRabbit's &lt;a href="https://docs.coderabbit.ai/cli/claude-code-integration" rel="noopener noreferrer"&gt;Claude Code integration&lt;/a&gt; is a plugin over a CLI:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://cli.coderabbit.ai/install.sh | sh

coderabbit auth login
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then /plugin install coderabbit, and /coderabbit:review, optionally scoped with committed, uncommitted, --include-untracked, or --base main.&lt;/p&gt;

&lt;p&gt;What makes it good for agents is cr review --agent, which writes one JSON object per line to stdout. Finding events carry a severity from a fixed set (critical, major, minor, trivial, info, none), a fileName, and codegenInstructions, which is the agent-oriented fix instructions, with the human-readable comment as a fallback when it's empty. That is a deliberate piece of API design, and the severity ladder is stable enough to build a CI gate on.&lt;/p&gt;

&lt;p&gt;In CodeRabbit, reviews may take 7 to 30+ minutes depending on the scope of changes, which is a long stall inside an interactive session. If you drive it through an MCP server rather than the plugin, that per-server timeout field is where you raise the ceiling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does not cover:&lt;/strong&gt; everything before the code exists. CodeRabbit consumes context from your MCP servers, which is genuinely useful, but there is no equivalent of retrieving your standards before generation, and no governance surface for managing those standards across repositories.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using Greptile For Code Reviews
&lt;/h2&gt;

&lt;p&gt;Greptile's &lt;a href="https://www.greptile.com/docs/integrations/claude-code" rel="noopener noreferrer"&gt;plugin documentation&lt;/a&gt; puts it plainly:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;They are two ends of one pipeline. The CLI dispatches reviews; the MCP server reads them back.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Installing it means a marketplace add and two separate sign-ins, one for each end:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/plugin marketplace add greptileai/claude-plugin

/plugin install greptile@claude-plugin

/greptile:login
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The MCP server authenticates separately through /mcp with the same account and two token stores.&lt;/p&gt;

&lt;p&gt;/greptile:review dispatches what Greptile calls a headless review, meaning no PR required, and the result is on your account where the MCP tools can read it back with source: "headless". On the MCP side you get nineteen tools spanning pull requests, reviews, comment search, custom context, knowledge bases, and analytics. The custom context group reads and writes: your agent can search existing team patterns and create new ones, which is the closest anything here comes to Get Rules, though it stays discretionary rather than applying at generation time, and it is pattern storage rather than enforceable, scoped organizational standards.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does not cover:&lt;/strong&gt; the working tree. Greptile ignores uncommitted changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using cubic For Code Reviews
&lt;/h2&gt;

&lt;p&gt;cubic's setup is the shortest here:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add &lt;span class="nt"&gt;--transport&lt;/span&gt; http &lt;span class="nt"&gt;--scope&lt;/span&gt; user cubic https://www.cubic.dev/api/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then /mcp to finish OAuth. Skills arrive either from npx @cubic-plugin/cubic-plugin install --skills-only, which detects installed agents and configures each one it finds, or from the marketplace at mrge-io/skills. The URL has to be &lt;a href="http://www.cubic.dev" rel="noopener noreferrer"&gt;www.cubic.dev&lt;/a&gt; rather than cubic.dev, because some OAuth clients compare the protected resource origin exactly.&lt;/p&gt;

&lt;p&gt;With cubic auth connect claude-code, cubic runs your local Claude Code as a subprocess over the &lt;a href="https://github.com/agentclientprotocol/agent-client-protocol" rel="noopener noreferrer"&gt;Agent Client Protocol&lt;/a&gt;, the same pattern Zed uses for its Claude Agent, so your own install handles authentication and every model call and bills you directly. cubic never proxies your credentials and never calls Anthropic's API. You pick opus, sonnet, or haiku per review depending on whether you want thorough or fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running More Than One Code Review Agent
&lt;/h2&gt;

&lt;p&gt;Nothing stops you from using two tools. For an example with Greptile and cubic, the two HTTP servers drop into a single project .mcp.json:&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="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"greptile"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://api.greptile.com/mcp"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"cubic"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://www.cubic.dev/api/mcp"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Commit that and every developer authenticates separately. Claude Code asks each of them to approve the project-scoped servers on the first run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pricing
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Entry price&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Metering&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Free tier&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Qodo&lt;/td&gt;
&lt;td&gt;$30/mo, up to 30 users&lt;/td&gt;
&lt;td&gt;Credits; ~2,500 for ~18 reviews&lt;/td&gt;
&lt;td&gt;14-day trial; free for qualifying open source&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CodeRabbit&lt;/td&gt;
&lt;td&gt;$24/dev/mo annual, $30 monthly (Essentials)&lt;/td&gt;
&lt;td&gt;Plan allowance, usage add-on for overage&lt;/td&gt;
&lt;td&gt;Free reviews on public repositories&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Greptile&lt;/td&gt;
&lt;td&gt;$30/active dev/mo&lt;/td&gt;
&lt;td&gt;50 credits included, then $1/credit&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;cubic&lt;/td&gt;
&lt;td&gt;Seat-based, 40k reviewed lines per Team seat&lt;/td&gt;
&lt;td&gt;Reviewed lines, pooled; flex at $20/10k&lt;/td&gt;
&lt;td&gt;20 reviews/mo&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;CodeRabbit's higher tiers run $48 and $72 per developer per month on annual billing. Qodo and Cubic both route you to sales above 30 seats.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which Code Review Agent Should You Use
&lt;/h2&gt;

&lt;p&gt;For teams scaling agentic development while maintaining code quality, organizational standards and governance, Qodo is the most complete of the four. It is the only one here that covers all five stages (understand, apply standards, review independently, resolve, govern) rather than attaching a reviewer to the end. Get Rules acts before generation rather than after it, and Review Resolver's fixed/skipped/reported contract is the one I'd trust to run unattended.&lt;/p&gt;

&lt;p&gt;If you are building your own CI automation on top of review output, CodeRabbit's --agent JSONL is the strongest machine-readable surface here. codegenInstructions is designed for exactly that, though you are still supplying the standards and governance yourself.&lt;/p&gt;

&lt;p&gt;If you mostly review pull requests rather than working trees, and you want the deepest surface for reading review state back into a session, Greptile's nineteen MCP tools and its billing docs are the clearest of the four. Accept that it will not see uncommitted work.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you already pay for Claude Code and want reviews billed through your own models, cubic running over ACP is a real architectural choice rather than a pricing trick, and the free tier is enough to decide with. Weigh that against reviewing the agent's work with the same agent.
&lt;/h2&gt;

&lt;p&gt;title: "Best AI Code Review Tools for Claude Code: CodeRabbit vs Greptile vs cubic vs Qodo"&lt;br&gt;
published: false&lt;/p&gt;
&lt;h2&gt;
  
  
  tags: ai, claude, devtools, codereview
&lt;/h2&gt;

&lt;p&gt;Building on the web these days is as easy as using the next-best AI code generator. AI Agents now write hundreds of lines across half a dozen files in a single session. However, the practices meant to catch problems (review, coding standards, governance) still assume a human typed every line and opened a pull request when they were done.&lt;/p&gt;

&lt;p&gt;I am building an app right now, and so far Claude Code has just written 400 lines across six files with nothing committed yet. I have vibe-coded apps before without going through this next step.&lt;/p&gt;

&lt;p&gt;After vibe-coding an app, before you commit, you pick a reviewer that sees that state.&lt;/p&gt;

&lt;p&gt;I tested Qodo, CodeRabbit, Greptile, and Cubic with that question in mind.&lt;/p&gt;
&lt;h2&gt;
  
  
  What a quality layer for coding agents actually has to do
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Evaluation area&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;What should be assessed&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Context&lt;/td&gt;
&lt;td&gt;Can it understand the full codebase, repository relationships, history, and requirements?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Standards&lt;/td&gt;
&lt;td&gt;Can it bring organisational standards into the workflow &lt;em&gt;before&lt;/em&gt; generating code?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review independence&lt;/td&gt;
&lt;td&gt;Does it review the coding agent's work independently, rather than asking the agent to grade itself?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Review quality&lt;/td&gt;
&lt;td&gt;Does it find meaningful issues without creating excessive noise?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lifecycle coverage&lt;/td&gt;
&lt;td&gt;Does it support planning, implementation, local review, PR review and resolution?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Governance&lt;/td&gt;
&lt;td&gt;Can teams enforce and manage standards consistently across repositories and agents?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Traceability&lt;/td&gt;
&lt;td&gt;Are findings, decisions and resolutions recorded and visible?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Human oversight&lt;/td&gt;
&lt;td&gt;Does it help people focus on risks and decisions rather than reviewing every generated line?&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The other products in this article primarily help review generated code. Qodo is the product designed as the independent quality and governance layer around the agent generating it.&lt;/p&gt;

&lt;p&gt;Qodo is described as &lt;a href="https://docs.qodo.ai/agentic-toolbox" rel="noopener noreferrer"&gt;"A CLI-powered Quality counterpart for coding agents"&lt;/a&gt;, and its skills are organized by workflow stage.&lt;/p&gt;
&lt;h2&gt;
  
  
  Claude Code gives a reviewer four doors
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;An &lt;a href="https://code.claude.com/docs/en/mcp" rel="noopener noreferrer"&gt;MCP server&lt;/a&gt; exposes tools the model calls mid-session. Claude Code takes them over HTTP or stdio, and project-scoped servers live in a .mcp.json you commit. Anthropic's docs note that project servers need interactive approval before they connect, and that you can set a per-server timeout in milliseconds.&lt;/li&gt;
&lt;li&gt;A plugin comes from a marketplace and can ship slash commands, skills, and its own MCP entry together. /plugin marketplace add owner/repo then /plugin install name is the whole install.&lt;/li&gt;
&lt;li&gt;Agent skills are instruction files the agent loads when a task looks relevant. They need no protocol at all.&lt;/li&gt;
&lt;li&gt;And then there's Bash. A CLI is a review tool too. The agent runs it, reads stdout, and acts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The four review tools connect to these doors differently.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;MCP server&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Claude Code plugin&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Skills&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;CLI&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Qodo&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;td&gt;marketplace plugin&lt;/td&gt;
&lt;td&gt;five skills&lt;/td&gt;
&lt;td&gt;qodo&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CodeRabbit&lt;/td&gt;
&lt;td&gt;client, not server&lt;/td&gt;
&lt;td&gt;/plugin install coderabbit&lt;/td&gt;
&lt;td&gt;cr skills&lt;/td&gt;
&lt;td&gt;coderabbit / cr&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Greptile&lt;/td&gt;
&lt;td&gt;api.greptile.com/mcp&lt;/td&gt;
&lt;td&gt;greptile@claude-plugin&lt;/td&gt;
&lt;td&gt;/check-pr, /greploop&lt;/td&gt;
&lt;td&gt;bundled with the plugin&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;cubic&lt;/td&gt;
&lt;td&gt;&lt;a href="http://www.cubic.dev/api/mcp" rel="noopener noreferrer"&gt;www.cubic.dev/api/mcp&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;cubic@cubic&lt;/td&gt;
&lt;td&gt;six skills&lt;/td&gt;
&lt;td&gt;cubic&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;CodeRabbit points the protocol the other way. Rather than exposing itself as a server your agent calls, it acts as an MCP client and &lt;a href="https://docs.coderabbit.ai/integrations/mcp-servers" rel="noopener noreferrer"&gt;consumes your servers as review context&lt;/a&gt;, so requirements living in your issue tracker or docs system reach the reviewer. Useful, but it means Claude Code reaches CodeRabbit through the CLI or not at all.&lt;/p&gt;
&lt;h2&gt;
  
  
  Which tool can review a dirty working tree?
&lt;/h2&gt;

&lt;p&gt;For &lt;a href="https://www.greptile.com/docs/code-review/greptile-cli" rel="noopener noreferrer"&gt;Greptile's CLI&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Greptile compares the current branch with the repository's default branch. It reviews committed changes that have not been merged. It ignores uncommitted changes.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For a human opening a PR, that's fine. For a Claude Code session that has been editing for twenty minutes and hasn't committed anything, it means the review is blind until you commit.&lt;/p&gt;

&lt;p&gt;The other three tools read the working tree directly. CodeRabbit reviews tracked changes by default, with --uncommitted for staged and unstaged edits and --include-untracked for anything Git hasn't seen yet. cubic's cubic review goes straight at uncommitted work and only compares against a base branch when you pass -b. Qodo's Review skill takes the local diff plus new untracked files, and &lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-codebase-review-skill" rel="noopener noreferrer"&gt;its docs&lt;/a&gt; are explicit that only the base commit needs to be pushed. Your edits can stay local and unpushed.&lt;/p&gt;
&lt;h2&gt;
  
  
  Using Qodo For Code Reviews
&lt;/h2&gt;

&lt;p&gt;Qodo is the only tool of the four in this article that treats the whole understand-write-review-resolve-govern cycle as the unit of design rather than attaching a reviewer to the end of it. Qodo's &lt;a href="https://www.qodo.ai/features/qodo-agentic-toolbox/" rel="noopener noreferrer"&gt;Agentic Toolbox&lt;/a&gt;, &lt;a href="https://www.qodo.ai/blog/introducing-qodos-agentic-toolbox/" rel="noopener noreferrer"&gt;announced September 9th&lt;/a&gt;, shipped five skills, and they map onto stages rather than features:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;strong&gt;Skill&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Stage&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;What it does&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-get-rules-skill" rel="noopener noreferrer"&gt;Get Rules&lt;/a&gt; (optional)&lt;/td&gt;
&lt;td&gt;Write&lt;/td&gt;
&lt;td&gt;Retrieves the rules that apply to the current task, before code is generated&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-codebase-wisdom-skill" rel="noopener noreferrer"&gt;Codebase Wisdom&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Understand&lt;/td&gt;
&lt;td&gt;Dependencies, cross-repository relationships, impact, and recent changes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-codebase-review-skill" rel="noopener noreferrer"&gt;Review&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Review&lt;/td&gt;
&lt;td&gt;Runs Qodo Review on local changes, using the same engine as its PR reviews&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-review-resolver-skill" rel="noopener noreferrer"&gt;Review Resolver&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Resolve&lt;/td&gt;
&lt;td&gt;Retrieves and resolves findings directly inside the agent workflow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://docs.qodo.ai/agentic-toolbox/manage-standards-skill" rel="noopener noreferrer"&gt;Manage Standards&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Govern&lt;/td&gt;
&lt;td&gt;Create, update, retire, re-scope and triage Review Standards&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Get Rules&lt;/strong&gt; moves standards to the front. The other tools in this article will wait until the code exists, then tell your agent what it got wrong. But, Get Rules pulls organisation-wide standards, repository conventions, and whatever guidance applies to the task into context before generation starts. Otherwise you repeat that process twice, once to generate the wrong thing, once to correct it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Manage Standards&lt;/strong&gt; is the governance piece. It is a skill your agent invokes. Admins can create, update, re-scope and bulk-triage the team's Review Standards conversationally from inside the session, rather than switching to the web portal. If you've ever put off tightening a rule because it meant a context switch, that conflict is the reason standards go stale. Non-admin contributions become pending suggestions for admin review, which is what keeps the governance intact.&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;Review Resolver&lt;/strong&gt;, every finding gets an explicit outcome: fixed with an applied change, skipped with a reason, or reported without changes. It resolves only what your instruction scopes it to. That fixed/skipped/reported contract is what makes traceability possible rather than aspirational. You can read back what the agent did and what it declined to do.&lt;/p&gt;
&lt;h3&gt;
  
  
  Understanding The Qodo Review Cycle
&lt;/h3&gt;

&lt;p&gt;Here is the cycle end to end, on a single change: adding webhook signature verification to a payments service.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understand.&lt;/strong&gt; Before touching anything, the agent asks Codebase Wisdom what it is walking into. Which services consume this endpoint, what the existing handlers look like, whether anyone has solved this before in a sibling repository, what recent commits touched this path. This is context a forge reviewer never has, because a forge reviewer only sees the diff.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Apply standards.&lt;/strong&gt; Get Rules pulls the standards that apply to this task like your organisation's rules on secret handling and request validation, plus whatever this repository specifically requires. The agent now writes against those rules rather than discovering them in review.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implement.&lt;/strong&gt; Claude Code writes the change. 400 lines across six files, nothing committed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Review independently.&lt;/strong&gt; Before any pull request exists, the Review skill runs Qodo's review engine over the local diff plus untracked files. This way, the reviewer is not the agent that wrote the code, and the reviewer is not waiting for a PR to be opened.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resolve.&lt;/strong&gt; Review Resolver pulls the findings back into the session with the fixed/skipped/reported contract. You see what was fixed, what was skipped and why, and what was flagged but deliberately left alone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Govern.&lt;/strong&gt; The convention that came up during the work gets offered as a Review Standard, so the next agent in the next repository starts with it already loaded.&lt;/p&gt;

&lt;p&gt;Then you open the pull request, and Qodo Code Review continues in the PR workflow with the same engine.&lt;/p&gt;
&lt;h3&gt;
  
  
  Getting set up
&lt;/h3&gt;

&lt;p&gt;Install it from the Claude Code, Codex, or Kiro marketplace, depending on your preferred choice. For any other setup, or to wire up several environments at once, there's the terminal path documented in the &lt;a href="https://docs.qodo.ai/agentic-toolbox/cli" rel="noopener noreferrer"&gt;CLI install guide&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://get.qodo.ai | sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is POSIX sh. It requires Node 20 or later. Windows gets a PowerShell line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="n"&gt;powershell&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ExecutionPolicy&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Bypass&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Command&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"irm https://get.qodo.ai/install.ps1 | iex"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The installer configures the available Qodo skills for supported agent environments. You can install without a Qodo account, but you need to sign in to use the managed skills. Skills update themselves: the Toolbox checks periodically and refreshes Qodo-managed skills on your next qodo command, without overwriting skills you own or have customized.&lt;/p&gt;

&lt;p&gt;If you were running the deprecated @qodo/command, installing the Agentic Toolbox makes a best effort to remove it.&lt;/p&gt;

&lt;p&gt;And for anything MCP-compatible that isn't a supported plugin target, the Toolbox is exposed as an MCP server and drops into your .mcp.json like any other.&lt;/p&gt;

&lt;p&gt;The next thing is to add its instructions to CLAUDE.md. Qodo publishes a &lt;a href="https://docs.qodo.ai/agentic-toolbox/agentic-toolbox-overview#default-template" rel="noopener noreferrer"&gt;default template&lt;/a&gt;; these two lines changed how the loop behaved for me:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Before opening a pull request, run Qodo's local pre-PR review with context describing what changed, why, key decisions, and links to the ticket or design.

Perform one review-and-fix pass by default. Continue with another round when it is useful to validate meaningful fixes or when the user requests it, within an agreed limit.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  CodeRabbit Review For machine-readable output
&lt;/h2&gt;

&lt;p&gt;CodeRabbit's &lt;a href="https://docs.coderabbit.ai/cli/claude-code-integration" rel="noopener noreferrer"&gt;Claude Code integration&lt;/a&gt; is a plugin over a CLI:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://cli.coderabbit.ai/install.sh | sh

coderabbit auth login
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then /plugin install coderabbit, and /coderabbit:review, optionally scoped with committed, uncommitted, --include-untracked, or --base main.&lt;/p&gt;

&lt;p&gt;What makes it good for agents is cr review --agent, which writes one JSON object per line to stdout. Finding events carry a severity from a fixed set (critical, major, minor, trivial, info, none), a fileName, and codegenInstructions, which is the agent-oriented fix instructions, with the human-readable comment as a fallback when it's empty. That is a deliberate piece of API design, and the severity ladder is stable enough to build a CI gate on.&lt;/p&gt;

&lt;p&gt;In CodeRabbit, reviews may take 7 to 30+ minutes depending on the scope of changes, which is a long stall inside an interactive session. If you drive it through an MCP server rather than the plugin, that per-server timeout field is where you raise the ceiling.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does not cover:&lt;/strong&gt; everything before the code exists. CodeRabbit consumes context from your MCP servers, which is genuinely useful, but there is no equivalent of retrieving your standards before generation, and no governance surface for managing those standards across repositories.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using Greptile For Code Reviews
&lt;/h2&gt;

&lt;p&gt;Greptile's &lt;a href="https://www.greptile.com/docs/integrations/claude-code" rel="noopener noreferrer"&gt;plugin documentation&lt;/a&gt; puts it plainly:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;They are two ends of one pipeline. The CLI dispatches reviews; the MCP server reads them back.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Installing it means a marketplace add and two separate sign-ins, one for each end:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/plugin marketplace add greptileai/claude-plugin

/plugin install greptile@claude-plugin

/greptile:login
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The MCP server authenticates separately through /mcp with the same account and two token stores.&lt;/p&gt;

&lt;p&gt;/greptile:review dispatches what Greptile calls a headless review, meaning no PR required, and the result is on your account where the MCP tools can read it back with source: "headless". On the MCP side you get nineteen tools spanning pull requests, reviews, comment search, custom context, knowledge bases, and analytics. The custom context group reads and writes: your agent can search existing team patterns and create new ones, which is the closest anything here comes to Get Rules, though it stays discretionary rather than applying at generation time, and it is pattern storage rather than enforceable, scoped organizational standards.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What it does not cover:&lt;/strong&gt; the working tree. Greptile ignores uncommitted changes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Using cubic For Code Reviews
&lt;/h2&gt;

&lt;p&gt;cubic's setup is the shortest here:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add &lt;span class="nt"&gt;--transport&lt;/span&gt; http &lt;span class="nt"&gt;--scope&lt;/span&gt; user cubic https://www.cubic.dev/api/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then /mcp to finish OAuth. Skills arrive either from npx @cubic-plugin/cubic-plugin install --skills-only, which detects installed agents and configures each one it finds, or from the marketplace at mrge-io/skills. The URL has to be &lt;a href="http://www.cubic.dev" rel="noopener noreferrer"&gt;www.cubic.dev&lt;/a&gt; rather than cubic.dev, because some OAuth clients compare the protected resource origin exactly.&lt;/p&gt;

&lt;p&gt;With cubic auth connect claude-code, cubic runs your local Claude Code as a subprocess over the &lt;a href="https://github.com/agentclientprotocol/agent-client-protocol" rel="noopener noreferrer"&gt;Agent Client Protocol&lt;/a&gt;, the same pattern Zed uses for its Claude Agent, so your own install handles authentication and every model call and bills you directly. cubic never proxies your credentials and never calls Anthropic's API. You pick opus, sonnet, or haiku per review depending on whether you want thorough or fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running More Than One Code Review Agent
&lt;/h2&gt;

&lt;p&gt;Nothing stops you from using two tools. For an example with Greptile and cubic, the two HTTP servers drop into a single project .mcp.json:&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="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"greptile"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://api.greptile.com/mcp"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"cubic"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"http"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
      &lt;/span&gt;&lt;span class="nl"&gt;"url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"https://www.cubic.dev/api/mcp"&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Commit that and every developer authenticates separately. Claude Code asks each of them to approve the project-scoped servers on the first run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pricing
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Entry price&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Metering&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Free tier&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Qodo&lt;/td&gt;
&lt;td&gt;$30/mo, up to 30 users&lt;/td&gt;
&lt;td&gt;Credits; ~2,500 for ~18 reviews&lt;/td&gt;
&lt;td&gt;14-day trial; free for qualifying open source&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CodeRabbit&lt;/td&gt;
&lt;td&gt;$24/dev/mo annual, $30 monthly (Essentials)&lt;/td&gt;
&lt;td&gt;Plan allowance, usage add-on for overage&lt;/td&gt;
&lt;td&gt;Free reviews on public repositories&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Greptile&lt;/td&gt;
&lt;td&gt;$30/active dev/mo&lt;/td&gt;
&lt;td&gt;50 credits included, then $1/credit&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;cubic&lt;/td&gt;
&lt;td&gt;Seat-based, 40k reviewed lines per Team seat&lt;/td&gt;
&lt;td&gt;Reviewed lines, pooled; flex at $20/10k&lt;/td&gt;
&lt;td&gt;20 reviews/mo&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;CodeRabbit's higher tiers run $48 and $72 per developer per month on annual billing. Qodo and Cubic both route you to sales above 30 seats.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which Code Review Agent Should You Use
&lt;/h2&gt;

&lt;p&gt;For teams scaling agentic development while maintaining code quality, organizational standards and governance, Qodo is the most complete of the four. It is the only one here that covers all five stages (understand, apply standards, review independently, resolve, govern) rather than attaching a reviewer to the end. Get Rules acts before generation rather than after it, and Review Resolver's fixed/skipped/reported contract is the one I'd trust to run unattended.&lt;/p&gt;

&lt;p&gt;If you are building your own CI automation on top of review output, CodeRabbit's --agent JSONL is the strongest machine-readable surface here. codegenInstructions is designed for exactly that, though you are still supplying the standards and governance yourself.&lt;/p&gt;

&lt;p&gt;If you mostly review pull requests rather than working trees, and you want the deepest surface for reading review state back into a session, Greptile's nineteen MCP tools and its billing docs are the clearest of the four. Accept that it will not see uncommitted work.&lt;/p&gt;

&lt;p&gt;If you already pay for Claude Code and want reviews billed through your own models, cubic running over ACP is a real architectural choice rather than a pricing trick, and the free tier is enough to decide with. Weigh that against reviewing the agent's work with the same agent.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>codereview</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>I don't think AI is going to end humanity/civilization in the next decade.

Personally, I feel like the doomsday buzz about AI now is probably what was there when the internet first came live... Imagine how the first phone call must have felt...</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Fri, 11 Sep 2026 23:25:14 +0000</pubDate>
      <link>https://dev.to/dumebii/i-dont-think-ai-is-going-to-end-humanitycivilization-in-the-next-decade-personally-i-feel-1m6c</link>
      <guid>https://dev.to/dumebii/i-dont-think-ai-is-going-to-end-humanitycivilization-in-the-next-decade-personally-i-feel-1m6c</guid>
      <description></description>
      <category>ai</category>
      <category>discuss</category>
    </item>
    <item>
      <title>Has the audience for technical articles dropped?</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Wed, 08 Jul 2026 12:18:00 +0000</pubDate>
      <link>https://dev.to/dumebii/has-the-audience-for-technical-articles-dropped-5ceh</link>
      <guid>https://dev.to/dumebii/has-the-audience-for-technical-articles-dropped-5ceh</guid>
      <description>&lt;p&gt;Is it just me, or has anyone noticed that articles on dev.to don't get as many reads/views as they used to before? &lt;br&gt;
Especially with the new metrics dashboard, it's even harder to actually differentiate sources. &lt;/p&gt;

&lt;p&gt;I know that since the rise of AI, more and more people have replaced actually reading with AI snippets or AI summaris. This means a generally reduced audience in technical articles. &lt;br&gt;
I won't even deny not being one of such people myself. I don't read half as much as I used to... And thanks to Google's SERP AI, I have whatever answer I need in seconds. &lt;/p&gt;

&lt;p&gt;But the decline in reach on dev.to, even for ranking on SERPs, is rather surprising. Almost as though it isn't being recognized as an authority in the technical article world. &lt;/p&gt;

&lt;p&gt;This is probably just me. But I'd like to know if anyone else has noticed this. &lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>The Enterprise MCP Gateway Buyer's Guide: SSO, SCIM, Audit, and Governance Requirements</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Sun, 05 Jul 2026 22:31:54 +0000</pubDate>
      <link>https://dev.to/composiodev/the-enterprise-mcp-gateway-buyers-guide-sso-scim-audit-and-governance-requirements-ho7</link>
      <guid>https://dev.to/composiodev/the-enterprise-mcp-gateway-buyers-guide-sso-scim-audit-and-governance-requirements-ho7</guid>
      <description>&lt;p&gt;&lt;em&gt;MCP gateways are becoming mandatory infrastructure for any organization deploying AI agents at scale. Here is what they actually do, what they must do, and how to evaluate one honestly.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;In November 2024, Anthropic released the Model Context Protocol: a wire format for connecting AI clients to tools, data sources, and APIs. Eighteen months later, MCP has crossed 78% adoption among production AI engineering teams. The public registry has passed 9,400 servers. Anthropic, OpenAI, Google, and Microsoft all support it. Practitioners have started calling it "the USB-C of AI applications."&lt;/p&gt;

&lt;p&gt;The protocol's success created an infrastructure problem that nobody anticipated at quite this speed. Every MCP server connection expands an organization's attack surface. Every AI agent operating with tool access can read private data, write to production systems, and execute commands under the permissions of whoever authorized it. Without a governance layer, these agents are black boxes: no audit trail, no access control, no identity attribution, no way to answer "what did this agent do?" to an auditor.&lt;/p&gt;

&lt;p&gt;The answer the market has converged on is an MCP gateway: a control plane that sits between AI agents and the tools they call. But the term covers a lot of ground, from lightweight protocol proxies to full enterprise governance platforms. The differences are significant. Getting the choice wrong creates compliance exposure; getting it right creates the foundation for scaling AI safely.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a gateway actually is
&lt;/h2&gt;

&lt;p&gt;The core function of an MCP gateway is collapsing what engineers call the N×M integration problem. Without a gateway, every AI agent manages its own credentials, authentication flows, and access policies for every tool it connects to. &lt;/p&gt;

&lt;p&gt;Ten agents and twenty tools produce two hundred independent connection paths, each with its own credentials, each potentially leaking secrets, each invisible to anyone trying to govern AI behavior centrally. A gateway reduces that to a single control point: N agents connect to the gateway; the gateway manages access to M tools.&lt;/p&gt;

&lt;p&gt;That description makes it sound like a proxy. It is not just a proxy. The proxy, the routing layer, accounts for roughly five percent of what an enterprise-grade gateway actually delivers. The remaining ninety-five percent is everything else: identity federation, automated user provisioning, audit logging, role-based access control, policy enforcement, and protection against attack vectors that API gateways from the previous decade were never designed to handle.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"The proxy is roughly 5% of the actual scope. The rest is what makes it usable, governed, and defensible to your security team."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This distinction matters for procurement. Organizations that evaluate gateways primarily on latency benchmarks and integration counts are optimizing for the five percent. The ninety-five percent, whether the gateway can prove, in a form an auditor accepts, who did what, is what determines whether the deployment is actually enterprise-grade.&lt;/p&gt;

&lt;p&gt;The Composio MCP Gateway is designed around this reality. Rather than selling a proxy and calling it governance, it ships the full stack: 1,000+ managed integrations across enterprise SaaS, a unified authentication layer, action-level RBAC, zero data-retention architecture (tool call payloads and credentials are never stored on Composio infrastructure), and SOC 2 and ISO certification. The quickstart takes about ten minutes; the governance layer is built in from the start, not bolted on later.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh1dbh6hq00ruqok0bcpb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh1dbh6hq00ruqok0bcpb.png" alt="How An MCP Gateway Collapses" width="800" height="494"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The four things that cannot be missing
&lt;/h2&gt;

&lt;p&gt;Across the compliance frameworks that govern enterprise AI deployments (SOC 2, HIPAA, GDPR, ISO 27001, and now the EU AI Act), four governance capabilities appear repeatedly, either explicitly or implicitly. Absence of any one of them creates either regulatory exposure or operational failures that scale into incidents.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn25oypjkqt2tfskyh2lu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fn25oypjkqt2tfskyh2lu.png" alt="mcp-governance-pillars" width="799" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Identity federation and SSO
&lt;/h3&gt;

&lt;p&gt;Without SSO integration, agents authenticate using shared service account credentials or locally-stored API keys. This creates credential sprawl, blocks user-level attribution in audit logs, and prevents IT from revoking access cleanly when an employee departs. With federated identity, every tool call carries the identity of the specific user who authorized it, flowing through the gateway from the enterprise identity provider down to the MCP server.&lt;/p&gt;

&lt;p&gt;The technical baseline is support for OAuth 2.1,  standardized in the MCP specification in June 2025, alongside SAML 2.0 for enterprise SSO and OpenID Connect for modern attribute mapping. &lt;/p&gt;

&lt;p&gt;But the capability that separates governance-capable gateways from identity-aware proxies is &lt;strong&gt;On-Behalf-Of (OBO) token propagation&lt;/strong&gt;: the pattern where a gateway passes the end-user identity downstream to the MCP server rather than substituting a service account. Without OBO, an audit log records "gateway service account called database write tool." With OBO, it records "Elena Mwangi in Finance called database write tool at 14:32 UTC." The difference is the difference between an audit log and an audit trail.&lt;/p&gt;

&lt;p&gt;Composio's MCP Gateway handles this through SSO via SAML and OIDC, with documented integrations for Okta, Microsoft Entra ID, and Google Workspace. Every team gets a unique, scoped MCP endpoint. Developers paste it into Claude, Cursor, or ChatGPT. SSO authenticates. Only the tools their team is authorized to use appear, and there is no separate configuration step to restrict visibility.&lt;/p&gt;

&lt;p&gt;One practical concern worth flagging: identity provider integrations that look stable can break silently. Microsoft Entra changed its attribute mapping behavior for synchronized users in late 2024 without a deprecation notice. Every such change is a potential gap in governance coverage. When evaluating any gateway, ask vendors specifically how they monitor for and respond to IdP-side breaking changes.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. SCIM provisioning
&lt;/h3&gt;

&lt;p&gt;SCIM — System for Cross-domain Identity Management — automates the user lifecycle at scale. New hires receive correct tool access on day one. Role changes propagate immediately to gateway permissions. Departing employees lose all access at the moment their directory account is disabled.&lt;/p&gt;

&lt;p&gt;Without SCIM, MCP gateway access management becomes a manual operation at every organizational boundary event. HIPAA requires that access to systems holding protected health information be revoked immediately upon role change or separation. SOC 2 CC6.2 requires that access be provisioned based on authorized requests and revoked promptly when no longer needed. Manual processes fail both tests at scale.&lt;/p&gt;

&lt;p&gt;The scenario that illustrates this most clearly: a developer departs on difficult terms. Legal advises IT to immediately revoke all access. IT disables the directory account. If SCIM is integrated, that change propagates to the gateway; every agent connection that developer had, from GitHub to Jira to Salesforce to internal APIs, terminates immediately. No gap exists between directory disabling and access revocation. Without SCIM, someone has to hunt and manually revoke individual credentials across every connected system. At any scale above a handful of users, some will be missed.&lt;/p&gt;

&lt;p&gt;Composio's SCIM 2.0 implementation maps directory groups to teams directly. The mapping logic is explicit and auditable: if &lt;code&gt;department = Engineering&lt;/code&gt; then &lt;code&gt;Team: engineering&lt;/code&gt;. New hires get the right tools on day one without any manual gateway configuration. The group sync is active and continuous, not a nightly batch job.&lt;/p&gt;

&lt;p&gt;For teams building toward this themselves: the build vs. buy analysis Composio published puts the engineering effort for SCIM provisioning at 4–8 weeks for a mid-sized team, before accounting for ongoing maintenance as IdP behavior changes. That estimate covers the SCIM endpoint, group sync logic, and conflict resolution. It does not cover the OAuth token lifecycle management that sits adjacent to it, which is typically another 4–8 weeks and carries higher ongoing maintenance cost.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Audit logging
&lt;/h3&gt;

&lt;p&gt;Audit logs answer the question every regulator and every security team will eventually ask: "what did your AI agents access, and when?" Without comprehensive, immutable, structured audit logs, the honest answer is "we don't know." That answer fails every compliance framework that governs regulated data.&lt;/p&gt;

&lt;p&gt;The minimum required fields per log entry are: timestamp in UTC at millisecond precision; user identity attributed through the IdP, not a service account; agent identity; MCP server and tool name invoked; tool input parameters; tool output or error state; authorization decision and the policy rule that produced it; and session identifier for multi-turn correlation. These fields are what make a log entry into evidence.&lt;/p&gt;

&lt;p&gt;Beyond minimum fields, enterprise-grade logs must be immutable after writing, tamper-evident, either through cryptographic signing or append-only storage. They must be structured for reliable SIEM ingestion. They must support configurable retention aligned to the organization's most demanding applicable requirement: HIPAA access records for protected health information require six-year retention; SOC 2 typically requires twelve months.&lt;/p&gt;

&lt;p&gt;Composio's audit trail logs every tool call as: user, team, tool, action, outcome. Critically, &lt;strong&gt;no payloads are stored&lt;/strong&gt; , only metadata. This zero data-retention architecture matters for regulated industries where storing tool call contents on third-party infrastructure creates its own compliance risk. The logs support CSV export for compliance reviews, and retention is configurable from 7 days to 1 year. The audit log format generates entries compliant with SOC 2, HIPAA, and GDPR requirements.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Policy enforcement
&lt;/h3&gt;

&lt;p&gt;The fourth pillar is where identity, provisioning, and audit turn from documentation tools into enforcement tools. Policy enforcement means the gateway doesn't just record that an agent attempted to call a destructive action. It blocks the call if the agent's role doesn't permit it.&lt;/p&gt;

&lt;p&gt;The critical implementation detail is the granularity at which access control operates. Standard RBAC in legacy API gateways operates at the API endpoint level. MCP gateway RBAC must operate at the action level within each toolkit. A GitHub integration may expose &lt;code&gt;GITHUB_CREATE_PR&lt;/code&gt;, &lt;code&gt;GITHUB_MERGE_PR&lt;/code&gt;, and &lt;code&gt;GITHUB_DELETE_REPO&lt;/code&gt;. Governance requires that a junior developer role can call the first two but not the third, without blocking access to the GitHub toolkit entirely.&lt;/p&gt;

&lt;p&gt;Composio enforces action-level RBAC at the gateway layer, not at the model layer. Each team gets a scoped MCP endpoint exposing only the tools they are authorized to use. Destructive actions within allowed toolkits — &lt;code&gt;GITHUB_DELETE_REPO&lt;/code&gt;, &lt;code&gt;SLACK_DELETE_CHANNEL&lt;/code&gt; — can be blocked independently of toolkit access. This is enforced in the gateway: if a model tries to call a blocked action, the gateway refuses it regardless of what the model was instructed to do.&lt;/p&gt;

&lt;p&gt;The access model supports both whitelist and blacklist modes. Teams can request access to blocked tools; admins approve or deny. This creates a self-service discovery path that doesn't require IT to anticipate every team's tooling needs in advance, while retaining central control over what actually gets enabled.&lt;/p&gt;




&lt;h2&gt;
  
  
  Attack vectors that API gateways were not built for
&lt;/h2&gt;

&lt;p&gt;Traditional API gateways were built for HTTP traffic between services. MCP traffic between AI agents and tool servers introduces attack vectors that legacy infrastructure was never designed to handle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tool poisoning&lt;/strong&gt; places instructions inside tool Metadata, specifically in tool descriptions and parameter documentation that AI models read to understand how tools work. If descriptions contain adversarial instructions, the model may execute them. Unlike prompt injection, tool poisoning persists across sessions: it affects every agent that interacts with the tool, not just the session in which the attack was introduced.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rug pull attacks&lt;/strong&gt; are tool poisoning with a delayed trigger. A server publishes clean, vetted tool definitions at the time of security review. After approval, the operator modifies descriptions to inject malicious instructions. Without tool hash pinning, hashing tool descriptions on first scan and alerting when they change, the gap between approved state and live state can persist indefinitely.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt injection via tool output&lt;/strong&gt; embeds adversarial instructions in tool outputs  (document contents, database records, web page responses) that the agent ingests as legitimate input. The MCP specification only "SHOULD" require a human in the loop, which is insufficient protection in production environments handling sensitive data at agent speed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Cross-server shadowing&lt;/strong&gt; is an MCP-specific threat with no analog in traditional API security. A malicious MCP server impersonates a trusted server or embeds instructions in tool metadata that override the behavior of adjacent servers in the same agent context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Credential sprawl&lt;/strong&gt; is the most operationally common risk. Agents storing API keys, database passwords, and OAuth tokens in local configuration files create exposure through prompts, logs, or accidental repository commits. In multi-agent architectures, credentials propagate through chained tool calls in ways invisible without gateway-level telemetry.&lt;/p&gt;

&lt;p&gt;A security leader at Medtronic described the operational concern accurately: "MCP opens a lot of opportunities to do a lot of damage very quickly." The velocity at which autonomous agents can chain tool calls makes human review an insufficient backstop without gateway-level guardrails enforcing limits in real time.&lt;/p&gt;

&lt;p&gt;Composio's zero data-retention architecture addresses the credential sprawl risk directly: tool call payloads and credentials are never stored on Composio infrastructure. This eliminates the most common vector for credential exfiltration through the gateway layer itself.&lt;/p&gt;




&lt;h2&gt;
  
  
  What compliance frameworks actually require
&lt;/h2&gt;

&lt;p&gt;No compliance framework names MCP gateways explicitly. All of them implicitly require what a gateway provides: a centralized layer where AI tool access is governed, logged, and restricted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SOC 2&lt;/strong&gt; Trust Services Criteria CC6.1 through CC6.3 require access to be restricted to minimum necessary permissions, action-level RBAC satisfies this. CC7.2 and CC7.3 require monitoring and investigation of anomalies,  real-time audit log alerting and SIEM integration satisfy this. CC8.1 requires change management controls; access approval workflows and configurable retention policies satisfy this.&lt;/p&gt;

&lt;p&gt;For teams pursuing SOC 2 Type II certification, the observation period is at minimum six months. That means an organization that starts building its own gateway today won't have a reportable SOC 2 Type II audit for seven or eight months at the earliest, and that timeline assumes the controls were architected correctly from day one. Composio ships with SOC 2 Type II and ISO 27001 certification already in place, which removes this timeline entirely from the governance roadmap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;HIPAA&lt;/strong&gt; adds a harder requirement: Business Associate Agreements. Any vendor that creates, receives, maintains, or transmits protected health information on an organization's behalf is a Business Associate and legally requires a signed BAA before any PHI touches their infrastructure. Composio's enterprise plan supports BAA execution. For healthcare organizations, this is a binary filter that precedes all technical evaluation: verify BAA availability before spending time on feature comparison.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The EU AI Act&lt;/strong&gt;, whose high-risk system provisions became fully enforceable in August 2026, requires documented risk management, human oversight mechanisms, and technical evidence of controls for AI systems operating in healthcare, financial services, employment, and critical infrastructure. MCP gateway audit logs are the primary evidence artifact for conformity assessment. Organizations that have not established audit logging infrastructure before enforcement begins cannot retroactively generate evidence for the period before capture began.&lt;/p&gt;




&lt;h2&gt;
  
  
  The build vs. buy question, answered honestly
&lt;/h2&gt;

&lt;p&gt;Internal builds of MCP gateway infrastructure are a recurring theme in enterprise AI teams. The engineering argument is usually that "a proxy is a few weeks of work." That framing is accurate for the proxy. The full enterprise stack is different.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Component&lt;/th&gt;
&lt;th&gt;Build estimate&lt;/th&gt;
&lt;th&gt;Ongoing cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;MCP routing proxy&lt;/td&gt;
&lt;td&gt;2–4 weeks&lt;/td&gt;
&lt;td&gt;Low&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;OAuth 2.1 implementation&lt;/td&gt;
&lt;td&gt;3–6 weeks&lt;/td&gt;
&lt;td&gt;High — each SaaS app handles OAuth differently and changes without notice&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SAML/OIDC IdP integration&lt;/td&gt;
&lt;td&gt;2–4 weeks&lt;/td&gt;
&lt;td&gt;Medium — silent breaking changes require active monitoring&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SCIM provisioning endpoint&lt;/td&gt;
&lt;td&gt;4–8 weeks&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Per-user OAuth token lifecycle&lt;/td&gt;
&lt;td&gt;4–8 weeks&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audit log infrastructure&lt;/td&gt;
&lt;td&gt;3–5 weeks&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Action-level RBAC policy engine&lt;/td&gt;
&lt;td&gt;6–8 weeks&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;15 SaaS integrations&lt;/td&gt;
&lt;td&gt;~15 weeks&lt;/td&gt;
&lt;td&gt;Ongoing per-integration maintenance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SOC 2 Type II observation period&lt;/td&gt;
&lt;td&gt;6+ months&lt;/td&gt;
&lt;td&gt;Continuous&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The proxy is five percent of the scope. The OAuth maintenance burden is where most internal builds stall or quietly degrade over time: every SaaS application handles OAuth slightly differently, and those implementations change without notice. GitHub OAuth app permissions behave differently depending on whether the organization has SAML SSO enabled. Entra changed its attribute mapping behavior in late 2024 without a deprecation notice. Each change is a potential silent breakage.&lt;/p&gt;

&lt;p&gt;Buying wins for most teams because they are not buying a proxy, they are buying maintained integrations, per-user OAuth lifecycle management, SSO and SCIM support, RBAC enforcement, audit logging, and compliance readiness, with the maintenance burden sitting on the vendor rather than internal engineering. Composio's MCP Gateway developer quickstart gets a working agent connected to its first toolkit in about ten minutes. That's the realistic comparison point against a multi-month internal build.&lt;/p&gt;

&lt;p&gt;The cases where building makes sense are narrower: unique deployment constraints no vendor accommodates, classified network requirements, or organizations with the appetite to own the entire AI infrastructure stack as a long-term strategic investment.&lt;/p&gt;




&lt;h2&gt;
  
  
  How to evaluate a gateway honestly
&lt;/h2&gt;

&lt;p&gt;Start with deployment model. For organizations in healthcare, finance, or government where regulated data must remain within specific boundaries, deployment model is often a legal requirement before any technical comparison begins. Cloud-hosted managed gateways reduce time to production but involve data transiting vendor infrastructure. Self-hosted or VPC-deployed options provide data sovereignty. Composio operates as managed SaaS with a zero data-retention architecture as the default; for organizations requiring VPC or on-premises deployment, that narrows the field significantly and should be the first filter applied.&lt;/p&gt;

&lt;p&gt;After deployment model, evaluate in this sequence:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Identity depth.&lt;/strong&gt; Does the gateway support OBO token propagation, or does it substitute service accounts? Ask vendors for a sample audit log entry and verify that user identity is IdP-attributed, not a service account name.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SCIM implementation.&lt;/strong&gt; Does it support SCIM 2.0 with push provisioning? What is the documented maximum deprovisioning latency? The deprovisioning case, an employee departure or a security incident requiring immediate access revocation, is where manual processes fail most expensively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Audit log quality.&lt;/strong&gt; Require vendors to provide a sample log entry with all fields populated. Confirm the format is structured and suitable for SIEM ingestion. Confirm logs are immutable after writing. Confirm the retention policy can be configured to your longest applicable requirement. Ask whether PII redaction in tool parameters is configurable and, in Composio's case, whether the zero data-retention architecture means payloads aren't stored at all, which is the stronger answer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Access control granularity.&lt;/strong&gt; Confirm that RBAC operates at the action level, not the toolkit level. A gateway that blocks or enables whole toolkits but cannot distinguish between &lt;code&gt;GITHUB_CREATE_PR&lt;/code&gt; and &lt;code&gt;GITHUB_DELETE_REPO&lt;/code&gt; is not implementing least-privilege access control.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Compliance certification.&lt;/strong&gt; Request the current SOC 2 Type II report date and auditor. Confirm whether a BAA is available. For European deployments, ask whether the vendor has documented controls relevant to EU AI Act high-risk system provisions. Composio's SOC 2 and ISO 27001 certifications are current, which shortens the security review process significantly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MCP-specific threat coverage.&lt;/strong&gt; Ask whether tool hash pinning is implemented and whether it generates alerts when tool definitions change post-approval. Ask whether tool metadata is scanned for hidden prompt instructions. These questions distinguish purpose-built MCP governance platforms from extended API management products.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exit terms.&lt;/strong&gt; Gateway choice shapes AI adoption architecture for three to five years. Confirm that gateway configuration, audit logs, and access policies can be exported in standard formats, and that contract exit terms do not create data portability barriers.&lt;/p&gt;




&lt;h2&gt;
  
  
  What comes next
&lt;/h2&gt;

&lt;p&gt;The MCP specification continues to evolve. Client ID Metadata Documents, added in the November 2025 spec update, introduce a new mechanism for trusted client discovery. The Agent-to-Agent protocol is emerging as a complement to MCP for multi-agent orchestration, governing agent-to-agent delegation rather than agent-to-tool connectivity. Future enterprise governance will require control planes spanning both protocols.&lt;/p&gt;

&lt;p&gt;As AI agents gain persistent memory and state across sessions, the audit and governance scope expands beyond tool calls to memory operations and state modifications. Gateways scoped only to tool call governance will require extension as these capabilities become standard.&lt;/p&gt;

&lt;p&gt;The broader trajectory is toward federated multi-gateway architectures: separate gateway instances per business unit or geographic region with centralized policy management. This pattern addresses data residency requirements without requiring monolithic governance infrastructure. Including A2A roadmap questions in current gateway evaluations is forward-looking work that belongs in any RFP issued in 2026.&lt;/p&gt;




&lt;h2&gt;
  
  
  Wrapping Up,
&lt;/h2&gt;

&lt;p&gt;The teams establishing MCP governance infrastructure now  (building audit trails, connecting identity providers, implementing SCIM provisioning, enforcing action-level access policies) are building the foundation for AI adoption that compliance teams can accept and auditors can verify. The teams deferring governance are accumulating technical debt measured not in refactoring effort but in regulatory exposure.&lt;/p&gt;

&lt;p&gt;The audit log for last quarter does not exist if it was never captured. The SOC 2 observation period clock does not start until you start running controls. The EU AI Act conformity evidence is not retroactively generatable. The compliance timeline is contracting, and the enforcement mechanisms are real.&lt;/p&gt;

&lt;p&gt;For most teams moving from pilot to production, the practical starting point is a managed gateway that handles the ninety-five percent — Composio's MCP Gateway covers the integrations, the OAuth lifecycle, the SCIM provisioning, the action-level RBAC, the audit logging, and the compliance certifications in a single product. The developer quickstart takes ten minutes. The governance is not an afterthought.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Further reading:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://composio.dev/content/what-is-mcp-gateway-and-why-your-enterprise-need-it" rel="noopener noreferrer"&gt;&lt;em&gt;What is an MCP Gateway and why your enterprise needs one&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://composio.dev/content/building-vs-buying-an-enterprise-mcp-gateway" rel="noopener noreferrer"&gt;&lt;em&gt;Building vs. buying an enterprise MCP gateway&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://composio.dev/content/mcp-gateways-guide" rel="noopener noreferrer"&gt;&lt;em&gt;MCP Gateways: a developer's guide to AI agent architecture&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://composio.dev/content/best-mcp-gateway-for-developers" rel="noopener noreferrer"&gt;&lt;em&gt;10 best MCP gateways for developers in 2026&lt;/em&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>mcp</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Semantic Observability: Engineering Reliability for Production RAG</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Wed, 01 Jul 2026 13:19:41 +0000</pubDate>
      <link>https://dev.to/dumebii/semantic-observability-engineering-reliability-for-production-rag-20g4</link>
      <guid>https://dev.to/dumebii/semantic-observability-engineering-reliability-for-production-rag-20g4</guid>
      <description>&lt;p&gt;It is a noticeable thing when a microservice fails. It is either a null pointer exception in a Java backend or a 504 Gateway Timeout on an NGINX ingress that leaves a clear trail in Datadog. &lt;br&gt;
You see the spike in the error rate, the p99 latency climbs, and the on-call engineer gets a PagerDuty alert. &lt;br&gt;
But LLM-powered applications? They don't behave this way. They fail quietly.&lt;/p&gt;

&lt;p&gt;In a Retrieval-Augmented Generation (RAG) system, a user might ask, "What is our refund policy for enterprise customers?" The system retrieves a document about individual tier refunds, the LLM processes it, and returns a polite, well-formatted, but entirely incorrect answer. &lt;br&gt;
To your monitoring stack, this looks like a success. The HTTP status is 200. The latency is within the 2-second budget. The token count is normal. This is a "soft failure"—a semantic deviation where the system remains operationally healthy but functionally broken.&lt;/p&gt;

&lt;p&gt;Traditional "Golden Signals" (Latency, Errors, Traffic, Saturation) miss the most critical failure mode in AI. The cause is AI hallucination. While we still need to track engine-level metrics like Time to First Token (TTFT) and Time Per Output Token (TPOT) for capacity planning, they don't tell us if the output is true. &lt;br&gt;
According to the &lt;a href="https://docs.vllm.ai/en/latest/serving/metrics.html" rel="noopener noreferrer"&gt;vLLM metrics documentation&lt;/a&gt;, tracking TTFT is essential for measuring the responsiveness of the prefill phase, but it remains a system metric, not a quality metric.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;TRADITIONAL MONITORING               SEMANTIC OBSERVABILITY
┌──────────────────────┐             ┌──────────────────────┐
│ HTTP 200/500         │             │ Faithfulness Score   │
│ CPU / Memory         │             │ Context Relevance    │
│ p99 Latency          │             │ Answer Relevance     │
│ Error Rate           │             │ Hallucination Rate   │
└──────────┬───────────┘             └──────────┬───────────┘
           │                                    │
           ▼                                    ▼
   "Is the service up?"                 "Is the answer true?"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We need a framework that treats the LLM output as a probabilistic variable rather than a deterministic string. This requires a shift from monitoring infrastructure to observing meaning.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Semantic Observability Stack
&lt;/h2&gt;

&lt;p&gt;Standard &lt;a href="https://last9.io/blog/opentelemetry-spans-events/" rel="noopener noreferrer"&gt;OpenTelemetry (OTel) spans&lt;/a&gt; are designed for distributed tracing across microservices, but they lack the fields necessary to debug an LLM. When an LLM call fails semantically, you need the full prompt, the completion, the model temperature, and the specific version of the system prompt used.&lt;/p&gt;

&lt;p&gt;Injecting these into standard logs is a recipe for storage-cost disasters and PII leaks. Instead, we use &lt;a href="https://github.com/traceloop/openllmetry" rel="noopener noreferrer"&gt;OpenLLMetry&lt;/a&gt;, an open-source extension of OTel that introduces semantic conventions for AI. It auto-instruments calls to providers like OpenAI or Anthropic, capturing the input and output as attributes within a span.&lt;/p&gt;

&lt;p&gt;One major architectural challenge is the overhead. Running a complex evaluation on every request increases latency. We solve this with &lt;strong&gt;Shadow Logging&lt;/strong&gt;. The application thread handles the user request and immediately returns the response. Simultaneously, it pushes the trace data to an asynchronous queue (like &lt;a href="https://www.rabbitmq.com/" rel="noopener noreferrer"&gt;RabbitMQ&lt;/a&gt; or an &lt;a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/welcome.html" rel="noopener noreferrer"&gt;AWS SQS&lt;/a&gt; buffer). A worker pool then picks up these traces to run semantic evaluations offline.&lt;br&gt;
&lt;/p&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;traceloop.sdk&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Traceloop&lt;/span&gt;
&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;opentelemetry&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;trace&lt;/span&gt;

&lt;span class="c1"&gt;# Initialize OpenLLMetry with batched (asynchronous) span export
&lt;/span&gt;&lt;span class="n"&gt;Traceloop&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;init&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;app_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;finance-rag-service&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;disable_batching&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;tracer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get_tracer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;__name__&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;generate_answer&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="n"&gt;context&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="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;tracer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;start_as_current_span&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;rag_generation&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;span&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="c1"&gt;# Attach semantic attributes manually if not using auto-instrumentation.
&lt;/span&gt;        &lt;span class="c1"&gt;# These follow OpenLLMetry's current gen_ai.* conventions.
&lt;/span&gt;        &lt;span class="n"&gt;span&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set_attribute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;gen_ai.prompt.0.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;query&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="n"&gt;span&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set_attribute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;gen_ai.request.model&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;gpt-4o&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="c1"&gt;# Standard inference call
&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;llm_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="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;gpt-4o&lt;/span&gt;&lt;span class="sh"&gt;"&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="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="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Use only the provided context.&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;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="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Context: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;context&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="se"&gt;\n&lt;/span&gt;&lt;span class="s"&gt;Query: &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="p"&gt;]&lt;/span&gt;
        &lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="n"&gt;answer&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;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;
        &lt;span class="n"&gt;span&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set_attribute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;gen_ai.completion.0.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;answer&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;answer&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By decoupling the evaluation from the inference path, we protect the user experience while still capturing the data needed for forensic analysis. If a user reports a bad answer, we can look up the exact trace ID in &lt;a href="https://phoenix.arize.com/" rel="noopener noreferrer"&gt;Arize Phoenix&lt;/a&gt; and see the retrieved chunks that led to the error.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quantifying Quality: Implementing the RAG Triad
&lt;/h2&gt;

&lt;p&gt;Measuring the quality of a RAG system requires more than a single "accuracy" score. We use the &lt;strong&gt;RAG Triad&lt;/strong&gt;, a framework popularized by &lt;a href="https://www.trulens.org/getting_started/core_concepts/rag_triad/" rel="noopener noreferrer"&gt;TruLens&lt;/a&gt;, which decomposes the pipeline into three measurable relationships:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Context Relevance: How much of the retrieved information is actually relevant to the query? If your vector DB returns 10 chunks but only chunk 8 contains the answer, relevance is low.&lt;/li&gt;
&lt;li&gt;Groundedness: Is the answer derived &lt;em&gt;only&lt;/em&gt; from the retrieved context? This detects hallucinations where the LLM uses its internal training data instead of your proprietary docs.&lt;/li&gt;
&lt;li&gt;Answer Relevance: Does the response actually address the user's intent?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To automate these metrics, we use the &lt;a href="https://docs.ragas.io/en/stable/" rel="noopener noreferrer"&gt;RAGAS library&lt;/a&gt;, which implements the same three relationships under its own metric names: Faithfulness (the analog of groundedness), Context Precision (a ranking-aware measure of retrieval relevance), and Answer Relevancy. It uses a "Judge" model (usually a stronger model like GPT-4o) to score these metrics on a scale of 0 to 1.&lt;/p&gt;

&lt;p&gt;For production reliability, we don't just rely on live sampling. We maintain a Golden Set. This is a curated JSON file of 50-100 high-stakes query-context-answer triples. During CI/CD, we run the current pipeline against this set. If the Faithfulness score drops below a threshold (e.g., 0.85), the build fails. This prevents regression when updating embedding models or changing chunking strategies, such as switching from fixed-size 512-token windows to recursive character splitting.&lt;/p&gt;

&lt;p&gt;Referencing the &lt;a href="https://github.com/facebookresearch/CRAG" rel="noopener noreferrer"&gt;Meta CRAG benchmark&lt;/a&gt; provides a standard for how these datasets should be structured to handle ambiguous or dynamic information. Without a Golden Set, you're just guessing whether your new prompt is better than the last one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecting LLM-as-a-Judge at Scale
&lt;/h2&gt;

&lt;p&gt;Running a judge model on 100% of traffic is prohibitively expensive. At 1,000 requests per second, evaluating every response with GPT-4o would bankrupt the project. Instead, we implement a sidecar evaluation service that samples 5% of production traffic.&lt;/p&gt;

&lt;p&gt;As a heuristic, the "Judge" should be more capable than the "Worker," though judge models carry their own biases (self-preference, position bias), so this is a rule of thumb rather than an absolute. If your production model is Llama 3-8B, a judge like Claude 3.5 Sonnet or GPT-4o is a reasonable choice. The prompt for the judge must use Chain-of-Thought (CoT) to ensure accuracy. We force the judge to extract specific quotes from the context before making a judgment.&lt;br&gt;
&lt;/p&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;pydantic&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;BaseModel&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Field&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;List&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;RAGEvaluationSchema&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;BaseModel&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="c1"&gt;# Field order matters. With structured/constrained generation the model
&lt;/span&gt;    &lt;span class="c1"&gt;# emits fields top-to-bottom, so evidence and reasoning MUST come before
&lt;/span&gt;    &lt;span class="c1"&gt;# the score — otherwise the model commits to a number before "thinking,"
&lt;/span&gt;    &lt;span class="c1"&gt;# defeating the chain-of-thought benefit.
&lt;/span&gt;    &lt;span class="n"&gt;supporting_evidence&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="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Field&lt;/span&gt;&lt;span class="p"&gt;(...,&lt;/span&gt; &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Direct quotes from the context&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;reasoning&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;str&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Field&lt;/span&gt;&lt;span class="p"&gt;(...,&lt;/span&gt; &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Step-by-step logic for the score&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;float&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Field&lt;/span&gt;&lt;span class="p"&gt;(...,&lt;/span&gt; &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Score from 0 to 1&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;# Example Judge Prompt excerpt:
# "Evaluate the faithfulness of the answer. First, list all claims in the answer.
# Second, for each claim, find a supporting sentence in the context.
# If no sentence exists, the claim is a hallucination."
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By enforcing a structured output via Pydantic, the evaluation data remains machine-readable. We can then aggregate these scores into a time-series database. This allows us to see if a specific model update caused a spike in hallucinations across the entire fleet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Operationalizing the Feedback Loop
&lt;/h2&gt;

&lt;p&gt;The final step is moving semantic metrics from a researcher's notebook into the SRE's dashboard. We use a custom Prometheus exporter that scrapes the results from our evaluation worker. This allows us to visualize the &lt;strong&gt;Hallucination Rate&lt;/strong&gt; alongside &lt;strong&gt;CPU Usage&lt;/strong&gt; and &lt;strong&gt;Memory Saturation&lt;/strong&gt; in Grafana.&lt;/p&gt;

&lt;p&gt;Setting up "Semantic Alerts" is a fundamental shift in on-call philosophy. Instead of alerting only on 5xx errors, we trigger PagerDuty when the average Faithfulness score drops below 0.8 over a 5-minute rolling window. This often catches issues that system metrics miss, such as a corrupted vector index or an embedding provider that has silently begun returning degraded or zero-filled vectors.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;THE FEEDBACK LOOP
┌──────────────┐      ┌──────────────┐      ┌──────────────┐
│ User Query   │─────▶│ RAG Pipeline │─────▶│ Response     │
└──────────────┘      └──────┬───────┘      └──────┬───────┘
                             │                     │
                             ▼                     ▼
                      ┌──────────────┐      ┌──────────────┐
                      │ OTel Trace   │─────▶│ Eval Sidecar │
                      └──────────────┘      └──────┬───────┘
                                                   │
                             ┌─────────────────────┘
                             ▼
                      ┌──────────────┐      ┌──────────────┐
                      │ Prometheus   │─────▶│ PagerDuty    │
                      └──────────────┘      └──────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We also integrate span-level user feedback. When a user clicks a "thumbs down" in the UI, the frontend sends the trace ID back to our observability backend. We correlate these manual signals with our automated RAG Triad scores. If the automated judge says a response is "grounded" but the user hates it, we have identified a gap in our evaluation logic. This continuous refinement turns observability from a passive monitoring task into a proactive engine for model improvement. Engineering for LLMs means accepting that the output will never be perfect, but it can always be measurable.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This article was generated with the help of &lt;a href="//ozigi.app"&gt;Ozigi&lt;/a&gt;.&lt;br&gt;
If you enjoyed reading this article and want to generate your own, go to our &lt;a href="//ozigi.app/long-form"&gt;free article generator&lt;/a&gt;, and start ranking on Google for thought-pieces. &lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>python</category>
      <category>beginners</category>
    </item>
    <item>
      <title>AI Code Review on a Vibe-coded Production App: What Qodo Found That I couldn’t See</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Wed, 24 Jun 2026 13:52:59 +0000</pubDate>
      <link>https://dev.to/dumebii/ai-code-review-on-a-vibe-coded-production-app-what-qodo-found-that-i-couldnt-see-4p4h</link>
      <guid>https://dev.to/dumebii/ai-code-review-on-a-vibe-coded-production-app-what-qodo-found-that-i-couldnt-see-4p4h</guid>
      <description>&lt;p&gt;&lt;a href="//ozigi.app"&gt;Ozigi&lt;/a&gt; is a go-to-market engine I mostly built by prompting. &lt;/p&gt;

&lt;p&gt;The pull request in this article is an example of how code gets made now. In one commit, I had: a landing page rewrite, a mobile pass, six new blog posts, and a sitemap refresh. &lt;/p&gt;

&lt;p&gt;I have a couple of bots running checks on my PRs, from security bots to documentation consistency bots. Recently, I learned that there was a better way to review AI-generated code, which didn’t involve manually poring through lines of code and large files. I searched online for the most effective tool to use, and I found &lt;a href="//qodo.ai"&gt;Qodo&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In AI-assisted development, the code gets written fast, but it always leaves the question of who checks it before it reaches real users. &lt;br&gt;
The tool that wrote it will not, obviously, because it already thinks the work is done (this is not a tool fault, as even human teams need reviewers as well).&lt;/p&gt;

&lt;p&gt;So I let Qodo, the AI code review platform, read the same PR, and I wrote down everything it caught.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quick Verdict&lt;br&gt;
Qodo is best for catching what AI-generated code misses — security guards, cross-file consistency, and CI failures.&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;In one PR, Qodo flagged a reverse tabnabbing vulnerability, a broken sitemap route, unused imports, and the exact dependency conflict breaking the build.&lt;/p&gt;

&lt;p&gt;NOTE: AI coding tools help you generate code. Qodo reviews whether that code is safe, consistent, and ready for production. These are two entirely different jobs. This PR is where the difference showed up.&lt;/p&gt;

&lt;p&gt;If you want to go deeper on what good code review looks like in an AI-assisted workflow, Qodo's &lt;a href="https://www.qodo.ai/academy/" rel="noopener noreferrer"&gt;AI Code Review Academy&lt;/a&gt; has practical material worth checking out:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.qodo.ai/academy/ai-code-review/" rel="noopener noreferrer"&gt;What is AI code review&lt;/a&gt; — how it works and what it catches
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.qodo.ai/academy/ai-generated-code-in-enterprise/" rel="noopener noreferrer"&gt;Reviewing AI-generated code&lt;/a&gt; — patterns and pitfalls
&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.qodo.ai/academy/ai-code-review-tools-comparison-and-benchmarks/" rel="noopener noreferrer"&gt;AI code review tools comparison&lt;/a&gt; - deep dive and side by side feature comparison&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The whole thing is public if you want to follow along: &lt;a href="https://github.com/Ozigi-app/OziGi/pull/138" rel="noopener noreferrer"&gt;PR #138&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Connecting Qodo to the repo
&lt;/h2&gt;

&lt;p&gt;I started on the free Developer plan.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create an account at &lt;a href="https://www.qodo.ai/get-started/" rel="noopener noreferrer"&gt;qodo.ai/get-started&lt;/a&gt;.
&lt;/li&gt;
&lt;li&gt;Install the Git plugin and authorise the repository. Ozigi is on GitHub. Qodo also supports GitLab, Bitbucket, and Azure DevOps.
&lt;/li&gt;
&lt;li&gt;After that, every pull request gets reviewed when it opens. There is also an IDE plugin (VS Code and JetBrains) and a CLI plugin if you want the review inline or before you push.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The first thing Qodo posted on PR #138 was a header: 3 bugs, 0 rule violations, 1 compliance rule applied. No setup beyond the install. It had already indexed the codebase, which matters for one of the findings below in a way a diff-only tool cannot match.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvrkrxoc7lr075cjrnr9o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvrkrxoc7lr075cjrnr9o.png" alt="Qodo comments" width="800" height="485"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  The Three Problems that Qodo Identified
&lt;/h2&gt;
&lt;h3&gt;
  
  
  The badges that could hijack my own tab
&lt;/h3&gt;

&lt;p&gt;There is a problem usually created or missed by AI-generated code: if you open a link in a new tab with &lt;code&gt;target="_blank"&lt;/code&gt; and, without the right &lt;code&gt;rel&lt;/code&gt;, the new page gets a handle to your original tab through &lt;code&gt;window.opener&lt;/code&gt;. It can quietly redirect that tab somewhere else. Tis is called reverse-tabnabbing. AI-generated UI omits the guard against it constantly because the markup looks complete without it.&lt;/p&gt;

&lt;p&gt;However, Qodo flagged a security bug on the landing page: external &lt;code&gt;target="_blank"&lt;/code&gt; links missing &lt;code&gt;rel="noopener noreferrer"&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
Then it did the part I did not expect. It read each link separately and told me which guard each one was missing.&lt;/p&gt;

&lt;p&gt;This matters because this is an actual vulnerability on a page that real visitors load, and it shipped inside a PR that was mostly about copy and mobile spacing. Very easy to waive through.&lt;/p&gt;

&lt;p&gt;The launch badge strip on our website had several offenders.&lt;br&gt;&lt;br&gt;
This is what the code looked like before the review:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// app/page.tsx (before)&lt;/span&gt;

&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://theresanaiforthat.com/ai/ozigi/?ref=featured&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="nx"&gt;target&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;_blank&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="nx"&gt;rel&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;nofollow&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;

  &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;img&lt;/span&gt; &lt;span class="nx"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://media.theresanaiforthat.com/featured-on-taaft.png?width=600&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;

       &lt;span class="nx"&gt;alt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Featured on TAAFT&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="nx"&gt;className&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;h-7 w-auto ...&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;

&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/a&lt;/span&gt;&lt;span class="err"&gt;&amp;gt;
&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://startupfa.me/s/ozigi?utm_source=ozigi.app&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="nx"&gt;target&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;_blank&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;

  &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;img&lt;/span&gt; &lt;span class="nx"&gt;src&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://startupfa.me/badges/featured-badge-small.webp&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;

       &lt;span class="nx"&gt;alt&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Featured on Startup Fame&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="nx"&gt;className&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;h-7 w-auto ...&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;

&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/a&lt;/span&gt;&lt;span class="err"&gt;&amp;gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The fix is actually small once someone or something points at it. Every external &lt;code&gt;target="_blank"&lt;/code&gt; gets the full guard, and you keep nofollow where you want it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// app/page.tsx (after)&lt;/span&gt;

&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://theresanaiforthat.com/ai/ozigi/?ref=featured&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;

   &lt;span class="nx"&gt;target&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;_blank&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="nx"&gt;rel&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;noopener noreferrer nofollow&lt;/span&gt;&lt;span class="dl"&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="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/a&lt;/span&gt;&lt;span class="err"&gt;&amp;gt;
&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://startupfa.me/s/ozigi?utm_source=ozigi.app&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;

   &lt;span class="nx"&gt;target&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;_blank&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="nx"&gt;rel&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;noopener noreferrer&lt;/span&gt;&lt;span class="dl"&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="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/a&lt;/span&gt;&lt;span class="err"&gt;&amp;gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Qodo even caught the half-measure: GoodAITools already had &lt;code&gt;rel="noopener"&lt;/code&gt; but was missing &lt;code&gt;noreferrer&lt;/code&gt;. That is the level of reading I would not give a badge strip at the end of a long PR.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvot9i3ghbhjr2gjnqa7l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvot9i3ghbhjr2gjnqa7l.png" alt="ref no opener" width="800" height="752"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr1zjqyunck3rxrfghdy9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr1zjqyunck3rxrfghdy9.png" alt=" " width="800" height="615"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;More than pinpointing the exact areas where your code is vulnerable or wrong, Qodo goes ahead to give prompt suggestions to your preferred AI agent to fix it.&lt;br&gt;
This entirely impressed me.&lt;/p&gt;
&lt;h3&gt;
  
  
  The sitemap that pointed crawlers at a page I never built
&lt;/h3&gt;

&lt;p&gt;Another problem that was discovered: A sitemap is a promise to search engines. It works in the way that tells a search engine, "These URLs exist; go index them." If this is not satisfied, you spend crawl budget on 404s and collect sitemap errors. The problem is that a wrong URL in a sitemap looks completely valid on its own. You have to know the app's routing to know it is wrong.&lt;/p&gt;

&lt;p&gt;Here’s what Qodo did: It caught a correctness bug: the blog sitemap added &lt;code&gt;${baseUrl}/blog&lt;/code&gt; as a static page, but there is no &lt;code&gt;/blog&lt;/code&gt; index route in the blog app. It worked this out by reading across files, not by looking at the diff in isolation.&lt;/p&gt;

&lt;p&gt;This matters because this is the finding that proves the codebase-context claim on Qodo. To decide that &lt;code&gt;/blog&lt;/code&gt; does not exist, Qodo cross-referenced the blog listing page at &lt;code&gt;apps/blog/app/page.tsx&lt;/code&gt; (which lives at &lt;code&gt;/&lt;/code&gt;), the post route at &lt;code&gt;apps/blog/app/blog/[slug]/page.tsx&lt;/code&gt;, and the top-level slug route at &lt;code&gt;apps/blog/app/[slug]/page.tsx&lt;/code&gt;. None of those define a &lt;code&gt;/blog&lt;/code&gt; index. The new sitemap entry was the only place that the route was ever named.&lt;/p&gt;

&lt;p&gt;The Ozigi example. The offending lines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// apps/blog/app/sitemap.ts&lt;/span&gt;

&lt;span class="p"&gt;{&lt;/span&gt;

  &lt;span class="nl"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;baseUrl&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;/blog`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;   &lt;span class="c1"&gt;// there is no /blog index route in this app&lt;/span&gt;

  &lt;span class="nx"&gt;lastModified&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;

  &lt;span class="nx"&gt;changeFrequency&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;daily&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

  &lt;span class="nx"&gt;priority&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;0.9&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;And the routing that proves the point, straight from the repo:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;apps/blog/app/page.tsx            -&amp;gt;  /            &lt;span class="o"&gt;(&lt;/span&gt;the blog listing&lt;span class="o"&gt;)&lt;/span&gt;

apps/blog/app/[slug]/page.tsx     -&amp;gt;  /&amp;lt;slug&amp;gt;

apps/blog/app/blog/[slug]/page.tsx-&amp;gt;  /blog/&amp;lt;slug&amp;gt; &lt;span class="o"&gt;(&lt;/span&gt;individual posts&lt;span class="o"&gt;)&lt;/span&gt;

&lt;span class="c"&gt;# no apps/blog/app/blog/page.tsx, so /blog returns nothing&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A line-level reviewer only sees a tidy sitemap object and approves it. Qodo read the routes, found the gap, and gave me two ways out: build the &lt;code&gt;/blog&lt;/code&gt; index, or drop the URL. I could not have caught this by staring at the diff, because the diff was correct. The codebase was the thing that disagreed with it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0uyt5kzxxhujt2aqmw3r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0uyt5kzxxhujt2aqmw3r.png" alt="qodo success" width="800" height="736"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The imports wired to nothing
&lt;/h3&gt;

&lt;p&gt;The problem here is that AI writes the scaffolding for a feature, then never wires it up. You are left with imports that point at code nothing calls. Dead weight that lint will eventually fail the build over.&lt;/p&gt;

&lt;p&gt;Here’s what Qodo did: It flagged a maintainability bug. &lt;code&gt;app/sitemap.ts&lt;/code&gt; imports &lt;code&gt;changelog&lt;/code&gt; and &lt;code&gt;TUTORIALS&lt;/code&gt; and never uses either. It backed the call by reading the project's own lint setup.&lt;/p&gt;

&lt;p&gt;This matters because this one would not page you at 2am, but it fails CI the moment &lt;code&gt;next lint&lt;/code&gt; runs, and it loads modules the route never needs.&lt;/p&gt;

&lt;p&gt;The Ozigi example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// app/sitemap.ts&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;MetadataRoute&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;next&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;changelog&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;@/lib/changelog&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;   &lt;span class="c1"&gt;// never referenced&lt;/span&gt;

&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;TUTORIALS&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;@/lib/tutorials&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;    &lt;span class="c1"&gt;// never referenced&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;BASE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://ozigi.app&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What sold me was the evidence Qodo attached. It did not just say "unused import." It pointed at &lt;code&gt;eslint.config.mjs&lt;/code&gt;, which extends &lt;code&gt;next/typescript&lt;/code&gt;, and at the lint script in &lt;code&gt;package.json&lt;/code&gt;, to show that this repo is configured to treat exactly this as an error. The finding came with proof.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuy89xf5x5iuyaiyl7fy3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuy89xf5x5iuyaiyl7fy3.png" alt="Qodo success" width="799" height="654"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The build that would not install
&lt;/h2&gt;

&lt;p&gt;Here is the finding that changed how I think about the tool entirely.&lt;br&gt;&lt;br&gt;
Qodo did not stop at reviewing the code, it also read the failed CI run.&lt;/p&gt;

&lt;p&gt;The problem. A pull request can be perfectly written and still be unmergeable because the dependency graph will not resolve. The error lands in a CI log most people skim and move past.&lt;/p&gt;

&lt;p&gt;Qodo posted a separate analysis of the failed GitHub Actions job and named the exact conflict. &lt;code&gt;npm install&lt;/code&gt; died with &lt;code&gt;ERESOLVE&lt;/code&gt;. &lt;code&gt;mem0ai&lt;/code&gt; wants one major version of the Anthropic SDK as a peer; &lt;code&gt;@copilotkit/runtime&lt;/code&gt; wants a newer one. npm could not satisfy both:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm error code ERESOLVE

npm error While resolving: @copilotkit/runtime@1.59.5

npm error Found: @anthropic-ai/sdk@0.40.1

npm error   peer @anthropic-ai/sdk@&lt;span class="s2"&gt;"^0.40.1"&lt;/span&gt; from mem0ai@2.4.6

npm error Could not resolve dependency:

npm error peerOptional @anthropic-ai/sdk@&lt;span class="s2"&gt;"^0.57.0"&lt;/span&gt; from @copilotkit/runtime@1.59.5
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I checked. Both packages are in my &lt;code&gt;package.json&lt;/code&gt; (&lt;code&gt;mem0ai@^2.4.4&lt;/code&gt; and &lt;code&gt;@copilotkit/runtime@^1.56.5&lt;/code&gt;), so the conflict wasn’t a hallucination, or a fluke of the runner. Qodo also noted that a later submodule warning in the same log was secondary, not the cause. It read the whole failure and told me where to look.&lt;/p&gt;

&lt;p&gt;This matters so much because even though the PR's code was fine, the PR still could not ship. A reviewer who only reads diffs would have missed this entirely, because the problem was not in any line I changed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc7bgtb4jxkd83el07y1b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fc7bgtb4jxkd83el07y1b.png" alt="Qodo feedback" width="800" height="506"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcpyhd9yszwmrzr45fc4x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fcpyhd9yszwmrzr45fc4x.png" alt="qodo code feedback" width="800" height="774"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The rule layer and the rules I built myself
&lt;/h2&gt;

&lt;p&gt;The header on the review said 1 compliance rule applied and 0 violations. My code passed the rule layer.&lt;/p&gt;

&lt;p&gt;Inside Ozigi, I built a small rule system of my own. It is a banned-word list that runs every time the app generates content, so nothing reads like default AI prose:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// lib/prompts/anti-ai.ts (excerpt)&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;ANTI_AI_RULES&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;`

## THE BANNED LEXICON

delve, tapestry, robust, seamless, leverage, crucial, vital, comprehensive,

unlock, empower, streamline, ...

`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A validator scores every draft against that list and rewrites anything that trips it. I was proud of it. But I’ve come to see that it is the toy version of what Qodo's rule system does.&lt;/p&gt;

&lt;p&gt;Mine checks prose against words I typed out by hand. Qodo's rule system works at the level of the codebase: naming conventions, route structure, logging expectations, architecture rules, team standards, derived from the repo and enforced on every review. On this PR it ran one platform compliance rule and my changes cleared it. On a PR that breaks a convention, that is the layer that would stop it. Same idea I had, applied to code instead of copy, and to a whole project instead of a word list.&lt;/p&gt;

&lt;p&gt;Qodo also went a level up without being asked. In its PR summary it suggested an approach I had not considered: pull the shared positioning strings (the headline, the CTA, the channel names) into one module, because right now they are duplicated across &lt;code&gt;app/page.tsx&lt;/code&gt; and &lt;code&gt;app/opengraph-image.tsx&lt;/code&gt; and will drift. That is not a bug. It is the kind of note a senior reviewer leaves.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fihvdlaclfplz7m07ehnb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fihvdlaclfplz7m07ehnb.png" alt="Qodo summary diagram" width="800" height="636"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft09rgcbqc2vrqc2eo2mc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft09rgcbqc2vrqc2eo2mc.png" alt="Qodo explainer" width="800" height="584"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How Qodo Reviewed my PR, in plain terms
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Engineering problem&lt;/th&gt;
&lt;th&gt;What Qodo did in Ozigi&lt;/th&gt;
&lt;th&gt;Why it mattered&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AI-generated UI often omits link safety&lt;/td&gt;
&lt;td&gt;Flagged external &lt;code&gt;target="_blank"&lt;/code&gt; links missing &lt;code&gt;rel="noopener noreferrer"&lt;/code&gt; on the landing page, link by link&lt;/td&gt;
&lt;td&gt;Closed a reverse tab-nabbing vector before it shipped to real visitors&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A sitemap can promise routes that do not exist&lt;/td&gt;
&lt;td&gt;Caught a &lt;code&gt;/blog&lt;/code&gt; entry by cross-referencing the blog's actual routes across three files&lt;/td&gt;
&lt;td&gt;Stopped crawlers from being sent to a 404 and the SEO errors that follow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI leaves scaffolding, it never wires up&lt;/td&gt;
&lt;td&gt;Identified unused imports in &lt;code&gt;app/sitemap.ts&lt;/code&gt; and cited the repo's own lint config as proof&lt;/td&gt;
&lt;td&gt;Removed code that would fail &lt;code&gt;next lint&lt;/code&gt; and load modules for nothing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A PR can be correct and still unmergeable&lt;/td&gt;
&lt;td&gt;Read the failed CI run and named the exact &lt;code&gt;ERESOLVE&lt;/code&gt; dependency conflict&lt;/td&gt;
&lt;td&gt;Explained why the build broke when the diff itself was clean&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fast AI development creates code that runs, but does not fit the system&lt;/td&gt;
&lt;td&gt;Reviewed the PR with full codebase context and a compliance rule&lt;/td&gt;
&lt;td&gt;Acted as an independent review layer for AI-generated code&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Observations After The Run:
&lt;/h2&gt;

&lt;p&gt;The unused-imports bug is the one I would argue about. That sitemap refactor intentionally left commented placeholders for future per-changelog and per-tutorial routes, and the &lt;code&gt;changelog&lt;/code&gt; and &lt;code&gt;TUTORIALS&lt;/code&gt; imports were me staging the next step rather than dead code I forgot. Qodo is still correct that, as written, lint will fail on them. So the right move is probably to wire them up or remove them now and add them back when the routes land, not to leave them sitting unused. I landed on Qodo's side in the end. I just did not think it was a bug at first glance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rounding Up
&lt;/h2&gt;

&lt;p&gt;Writing this PR took an AI a few minutes. However, finding the security hole, the broken sitemap URL, the dead imports, and the reason the build would not install took a separate layer that reads the whole codebase, the routing, the lint config, and the CI log is the work now.&lt;/p&gt;

&lt;p&gt;That is the role Qodo played here. It sat on top of code I generated and reviewed it for what the generator could not see: safety, consistency with the rest of the app, and whether it could actually ship. Five findings, all real, all in one public PR, none of them visible from the diff alone.&lt;/p&gt;

&lt;p&gt;For a sense of what this looks like past a solo project, Qodo reports Fortune 100 customers saving more than 450,000 developer hours a year with this review layer in place. My version of the win was smaller. I did not ship a tab-hijack vector to my own landing page.&lt;/p&gt;

&lt;p&gt;If you are generating code faster than you can review it, point &lt;a href="http://qodo.ai/get-started" rel="noopener noreferrer"&gt;Qodo&lt;/a&gt; at your messiest repo and open a real PR.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>github</category>
    </item>
    <item>
      <title>How to Build a LinkedIn Outreach Pipeline (Without Getting Your Account Banned)</title>
      <dc:creator>Dumebi Okolo</dc:creator>
      <pubDate>Fri, 12 Jun 2026 12:45:22 +0000</pubDate>
      <link>https://dev.to/dumebii/how-to-build-a-linkedin-outreach-pipeline-without-getting-your-account-banned-2j7p</link>
      <guid>https://dev.to/dumebii/how-to-build-a-linkedin-outreach-pipeline-without-getting-your-account-banned-2j7p</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; A LinkedIn outreach pipeline is a background worker that signs in with your own session, opens profiles, sends connection requests and messages on a schedule you control, and can post content straight to your feed. The hard was staying invisible to LinkedIn's detection. We got to our nineteenth build in about two weeks. Along the way, the session kept dying after three profiles (a device fingerprint mismatch), the stealth layer turned out to be detectable on its own, an authenticated proxy refused to connect, and Chrome froze in ways no timeout caught. This is every failure and the fix that finally held.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;We built a LinkedIn marketing pipeline inside &lt;a href="https://ozigi.app" rel="noopener noreferrer"&gt;Ozigi&lt;/a&gt; because our own go-to-market runs on it. I didn't just want it to be another tool; I needed it to send real messages to real people without getting my personal account flagged. &lt;br&gt;
The very first version we built worked for sourcing and reaching three leads, then the session died. The second version got past that and froze instead. This pattern repeated for two weeks and led us from building v1 of our LinkedIn worker to the current version 26.&lt;/p&gt;

&lt;p&gt;This article is like a cleaned-up version of our build log for educational purposes. &lt;br&gt;
If you are trying to reach people on LinkedIn from code, you will hit most of these walls in roughly this order. I will name the exact failure each time, because "it stopped working" helped me precisely never.&lt;/p&gt;
&lt;h2&gt;
  
  
  What Does a LinkedIn Outreach Pipeline Actually Do?
&lt;/h2&gt;

&lt;p&gt;A complete LinkedIn outreach pipeline does four jobs: It signs in with your session cookie so LinkedIn sees you, not a script. It opens a lead's profile. It sends a connection request or a message, depending on whether you are already a first-degree connection. And it can publish a post to your feed. The first three are outreach. The fourth is content. &lt;br&gt;
They share the same infrastructure, which matters later.&lt;/p&gt;

&lt;p&gt;None of these look overly complicated logic. You click a button, type into a box, press send. But the reason this turned into a two-week build is that LinkedIn does not want a script doing any of it, and it is very good at telling the difference between you, a human, and your code (bot).&lt;/p&gt;

&lt;p&gt;If you are weighing a Linkedin outreach against cold email first, we wrote up the trade-offs in &lt;a href="https://blog.ozigi.app/blog/email-vs-linkedin-outreach-dev-tools" rel="noopener noreferrer"&gt;email versus LinkedIn outreach for dev tools&lt;/a&gt;, and the wider loop this fits into lives in the &lt;a href="https://blog.ozigi.app/blog/go-to-market-playbook-solo-founder-technical-team" rel="noopener noreferrer"&gt;go-to-market playbook for small teams&lt;/a&gt;. &lt;br&gt;
This article is about the engineering aspect of pipelines.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why Is LinkedIn So Hard to Build Against?
&lt;/h2&gt;

&lt;p&gt;LinkedIn runs three layers of defense, and when you try to automate LinkedIn, you trip all of them.&lt;br&gt;
The first is the feed model, a 150-billion-parameter system called 360Brew that reads content semantically and demotes anything that smells machine-made. We covered that one in detail in &lt;a href="https://blog.ozigi.app/blog/how-to-make-your-linkedin-content-standout-in-2026" rel="noopener noreferrer"&gt;how to make your LinkedIn content stand out in 2026&lt;/a&gt;, and it governs the posting side of the pipeline.&lt;/p&gt;

&lt;p&gt;The second is a behavioural bot layer (you will see requests to protechts.net and PerimeterX-style beacons fire on every page) that watches how the browser behaves.&lt;/p&gt;

&lt;p&gt;The third is the one that we struggled the most with: a device-fingerprint check tied to your session token. LinkedIn binds your login to the machine you logged in from, across something like forty-eight signals. Changing the machine (with the same session token), even subtly, and the token dies.&lt;/p&gt;

&lt;p&gt;Almost none of the bugs we encountered had anything to do with the logic we were building. They were detection bugs wearing a logic costume.&lt;/p&gt;
&lt;h2&gt;
  
  
  Tools We Used To Build Our LinkedIn Outreach Pipeline
&lt;/h2&gt;

&lt;p&gt;After days of sleepless nights and trying to figure out why our logic was failing, this is the current v26 we have.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Runtime: a long-lived Node worker on &lt;a href="https://fly.io/docs" rel="noopener noreferrer"&gt;Fly.io&lt;/a&gt;, polling a queue every 90 seconds.&lt;/li&gt;
&lt;li&gt;Browser control: &lt;a href="https://www.npmjs.com/package/patchright" rel="noopener noreferrer"&gt;Patchright&lt;/a&gt;, a drop-in fork of Playwright, driving a real Google Chrome rather than bundled Chromium.&lt;/li&gt;
&lt;li&gt;Queue and state: a &lt;code&gt;linkedin_queue&lt;/code&gt; table in Supabase, with statuses (&lt;code&gt;queued&lt;/code&gt;, &lt;code&gt;in_progress&lt;/code&gt;, &lt;code&gt;done&lt;/code&gt;, &lt;code&gt;failed&lt;/code&gt;) and an attempt counter.&lt;/li&gt;
&lt;li&gt;Scheduling: &lt;a href="https://upstash.com/docs/qstash" rel="noopener noreferrer"&gt;QStash&lt;/a&gt; crons that enqueue work and trigger reply checks.&lt;/li&gt;
&lt;li&gt;Network: a residential proxy so the traffic looks like a home connection, fronted by a local wrapper (more on that pain below).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A higher-level view of how this slots into the rest of the product is on the &lt;a href="https://ozigi.app/architecture" rel="noopener noreferrer"&gt;Ozigi architecture page&lt;/a&gt;. &lt;br&gt;
For this article, hold onto one detail to help you understand the rest of the flow: the worker keeps a browser alive between polls instead of launching a fresh one each time. That decision is the difference between a session that lives and a session that dies, and it took me far too long to understand why.&lt;/p&gt;
&lt;h2&gt;
  
  
  The First Wall: Getting Your Worker to Even Boot
&lt;/h2&gt;

&lt;p&gt;Before any of the interesting failures, three boring ones stopped the process cold.&lt;/p&gt;

&lt;p&gt;The first time, the worker crashed on startup with &lt;code&gt;Node.js 20 detected without native WebSocket support. Pass the 'ws' package as a transport.&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;The Playwright Docker image ships Node 20, which has no global &lt;code&gt;WebSocket&lt;/code&gt;, and the Supabase Realtime client throws without one. &lt;br&gt;
The fix was to install &lt;a href="https://github.com/websockets/ws" rel="noopener noreferrer"&gt;ws&lt;/a&gt; and pass it as the transport. The problem was that we initialised a Supabase client in three files (&lt;code&gt;index.ts&lt;/code&gt;, &lt;code&gt;login.ts&lt;/code&gt;, &lt;code&gt;browser.ts&lt;/code&gt;). We patched one and watched the same crash reappear from a different code path. The options were to patch all three or none.&lt;/p&gt;

&lt;p&gt;The next issue was that Chromium would not launch at all, because the Dockerfile pinned the Playwright image to one version while &lt;code&gt;npm install&lt;/code&gt; resolved the package to a newer one. &lt;br&gt;
Each Playwright release stores its browser at a version-specific path inside the image, so a mismatch means the binary the package looked for is not there. &lt;br&gt;
The solution was to pin the image tag and the package version to the exact same number and set &lt;code&gt;PATCHRIGHT_SKIP_BROWSER_DOWNLOAD=1&lt;/code&gt; so the post-install step does not redundantly re-fetch a browser the image already has.&lt;/p&gt;

&lt;p&gt;Then, &lt;code&gt;page.goto()&lt;/code&gt; started taking thirty to forty-five seconds, or timing out on pages that were clearly already loaded. &lt;br&gt;
The problem was that we set &lt;code&gt;waitUntil: 'networkidle'&lt;/code&gt;. LinkedIn keeps long-poll connections and analytics beacons open forever, so the "no network for 500ms" condition that &lt;code&gt;networkidle&lt;/code&gt; waits for never arrives. Switching to &lt;code&gt;domcontentloaded&lt;/code&gt; fixed it instantly. The &lt;a href="https://playwright.dev/docs/navigations" rel="noopener noreferrer"&gt;Playwright navigation docs&lt;/a&gt; spells this out, but it is an easy default to leave in place until it becomes a problem.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why Your LinkedIn Worker Session Dies After Three Profiles
&lt;/h2&gt;

&lt;p&gt;This particular problem was the bug that nearly made us quit the whole approach.&lt;/p&gt;

&lt;p&gt;The pattern was maddeningly consistent. The first two or three profile loads in a poll cycle worked perfectly, and we excited and about to round off our sprint, and then the fourth profile comes back as a login redirect or LinkedIn's HTTP 999 "unusual activity" page. &lt;br&gt;
My initial solution to this was taking the same &lt;code&gt;li_at&lt;/code&gt; cookie pasted into my browser and attaching it to the session on Playwright, which still worked fine. However, I restarted the worker and got the same problem every time.&lt;/p&gt;

&lt;p&gt;We spent a long time re-injecting the cookie from the database on every poll. Little did we know that the cookie was never the problem. We even kept the page object open between polls. No change. The session still died on the third or fourth request.&lt;/p&gt;

&lt;p&gt;After a long time, we found that the actual cause of the persistent bug is a system LinkedIn runs that we like to call &lt;strong&gt;APFC&lt;/strong&gt;, an anti-fingerprint-change check. &lt;br&gt;
When a user logs in, LinkedIn records a device fingerprint built from around forty-eight signals: CPU count, RAM, screen resolution, audio hardware, the behavioural beacons mentioned earlier, and more. &lt;br&gt;
It binds their session token to that fingerprint. Our code called &lt;code&gt;browser.newContext()&lt;/code&gt; once per poll cycle. &lt;br&gt;
Now, every &lt;code&gt;newContext()&lt;/code&gt; spins up a fresh context with freshly randomised characteristics, so from LinkedIn's side our "logged-in user" was teleporting to a new device every ninety seconds. Two or three of those and the token gets invalidated.&lt;/p&gt;

&lt;p&gt;How we fixed was to stop creating contexts. We moved from &lt;code&gt;chromium.launch()&lt;/code&gt; plus per-poll &lt;code&gt;newContext()&lt;/code&gt; to a single &lt;code&gt;launchPersistentContext()&lt;/code&gt; per user, written to disk and kept alive in a module-level cache across polls.&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;// browser.ts — one context per user, kept alive across poll cycles&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;ctx&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;chromium&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;launchPersistentContext&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="s2"&gt;`/data/linkedin-profiles/&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;userId&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;channel&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;chrome&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;          &lt;span class="c1"&gt;// real Chrome, not bundled Chromium&lt;/span&gt;
    &lt;span class="na"&gt;headless&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="na"&gt;proxy&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;server&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;`http://127.0.0.1:&lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nx"&gt;localPort&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="s2"&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="nx"&gt;contextCache&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;userId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;ctx&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The persistent context writes cookies, localStorage, IndexedDB, and the PerimeterX-style tokens to &lt;code&gt;/data/linkedin-profiles/{userId}&lt;/code&gt; and reuses them. The fingerprint stops changing because the browser stops being reborn. One context per user, discarded only on explicit expiry or a worker restart. After this landed in v11, sessions stopped dying mid-cycle.&lt;/p&gt;

&lt;p&gt;If you take one thing from this section so far, take this: a fresh browser context is a new device as far as LinkedIn is concerned, and a logged-in user does not change devices every ninety seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting Past Bot Detection at the Protocol Level
&lt;/h2&gt;

&lt;p&gt;The persistent context kept the session alive, but the behavioural layer still flagged the odd run as a bot. We were on &lt;code&gt;playwright-extra&lt;/code&gt; with the stealth plugin at that point.&lt;/p&gt;

&lt;p&gt;The problem with that combination is subtle. The stealth plugin hides the signals that mark a browser as script-driven by injecting JavaScript into the page. The injection mechanism itself (&lt;code&gt;Page.addScriptToEvaluateOnNewDocument&lt;/code&gt;over the DevTools Protocol) is a detectable signal. So, it seemed like we patched one pattern and introduced another.&lt;/p&gt;

&lt;p&gt;What worked was switching to &lt;a href="https://www.npmjs.com/package/patchright" rel="noopener noreferrer"&gt;Patchright&lt;/a&gt;, a Playwright fork that patches those patterns at the Chrome DevTools Protocol level, before any page JavaScript runs. &lt;br&gt;
It was a one-line replacement: &lt;code&gt;import { chromium } from 'patchright'&lt;/code&gt; and the rest of the Playwright API stays the same. &lt;br&gt;
We paired that with installing real &lt;code&gt;google-chrome-stable&lt;/code&gt; in the image instead of relying on bundled Chromium, which gives a more believable TLS handshake. &lt;br&gt;
LinkedIn's edge can fingerprint the handshake itself through &lt;a href="https://github.com/salesforce/ja3" rel="noopener noreferrer"&gt;JA3&lt;/a&gt; and JA4, and bundled Chromium has a slightly different signature from the Chrome a real person runs.&lt;/p&gt;

&lt;p&gt;We also included &lt;code&gt;ignoreDefaultArgs: ['--enable-automation']&lt;/code&gt;, so the browser does not announce itself with the banner Chrome normally shows when it is being driven by a script.&lt;/p&gt;
&lt;h2&gt;
  
  
  The Problem With Using Proxy Nobody Warns You About
&lt;/h2&gt;

&lt;p&gt;To make the traffic look residential, we routed through a &lt;a href="https://iproyal.com" rel="noopener noreferrer"&gt;residential proxy&lt;/a&gt;. This produced the single most confusing error of the build: &lt;code&gt;ERR_PROXY_AUTH_UNSUPPORTED&lt;/code&gt; on every HTTPS request.&lt;/p&gt;

&lt;p&gt;The chain of failed attempts here was long, so here it is in order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Passing the proxy username and password through Playwright's &lt;code&gt;proxy&lt;/code&gt; config: Chromium only sends those credentials when the proxy answers with an HTTP 407 challenge. The residential proxy never sends a 407 for tunnelled HTTPS, so the credentials never go out.&lt;/li&gt;
&lt;li&gt;Embedding credentials in the proxy URL (&lt;code&gt;http://user:pass@host:port&lt;/code&gt;): This threw &lt;code&gt;ERR_INVALID_AUTH_CREDENTIALS&lt;/code&gt;, because the sticky-session username format contains characters Chromium rejects inside a URL authority.&lt;/li&gt;
&lt;li&gt;URL-encoding the credentials: This worked with &lt;code&gt;curl&lt;/code&gt; from inside the same container, and still failed with &lt;code&gt;ERR_SOCKET_NOT_CONNECTED&lt;/code&gt; once it went through Chromium.&lt;/li&gt;
&lt;li&gt;Switching the proxy to SOCKS5: With this, Playwright launched, then threw &lt;code&gt;Browser does not support socks5 proxy authentication&lt;/code&gt;. Chromium has never implemented authenticated SOCKS5. The code path does not exist. The &lt;code&gt;socks5h://&lt;/code&gt; scheme fails the same way.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;NOTE: Chromium cannot do authenticated proxies for HTTPS, whether you ask over HTTP CONNECT or SOCKS5. So we stopped asking it to. We run a tiny local wrapper on loopback that accepts an unauthenticated connection from Chromium, opens the authenticated session to the upstream proxy itself, and relays. Chromium points at &lt;code&gt;http://127.0.0.1:&amp;lt;localPort&amp;gt;&lt;/code&gt; with no credentials and never knows authentication happened. The &lt;a href="https://datatracker.ietf.org/doc/html/rfc1928" rel="noopener noreferrer"&gt;SOCKS5 spec (RFC 1928)&lt;/a&gt; and the &lt;a href="https://playwright.dev/docs/network" rel="noopener noreferrer"&gt;Playwright network docs&lt;/a&gt; are both worth a read before you go down this road, because the limitation is not well advertised.&lt;/p&gt;

&lt;p&gt;There was a side effect we didn't anticipate, however: Our proxy exit was in Brazil, so LinkedIn served the entire UI in Portuguese. Every button label my code looked for (&lt;code&gt;Message&lt;/code&gt;, &lt;code&gt;More actions&lt;/code&gt;) came back as &lt;code&gt;Mensagem&lt;/code&gt; and &lt;code&gt;Mais ações&lt;/code&gt;, and every selector was missed. That sent us into the next category of pain.&lt;/p&gt;
&lt;h2&gt;
  
  
  The Problem With Blind Automation: Clicking Buttons That Do Not Want to Be Clicked
&lt;/h2&gt;

&lt;p&gt;LinkedIn's profile page is a moving target. Class names rotate between deploys, buttons hide behind dropdowns, and the same action lives in three different places depending on your relationship to the person. This section is four bugs that all reduce to "find the right button and actually click it."&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The Connect button reported itself invisible: &lt;code&gt;clickConnectButton&lt;/code&gt; kept logging "Connect button not found" on profiles where the button was plainly on screen. Playwright's visibility check (&lt;code&gt;offsetParent&lt;/code&gt;, non-zero bounding box) returned false for buttons a human could see and click. The fix for this was building a three-layer fallback: look for the button by aria-label first, then scan &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; text inside &lt;code&gt;main&lt;/code&gt;, and finally open the "More actions" dropdown and click the item there. That third path needed a real &lt;code&gt;.click()&lt;/code&gt; rather than &lt;code&gt;dispatchEvent&lt;/code&gt;, because the dropdown renders as a portal and a synthetic event would never reach LinkedIn's React handler.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Open Profiles got skipped as "already connected": Some members let anyone message them without connecting. Those profiles show a Message button and no Connect button, which is exactly what a first-degree connection looks like. My code saw the "Message button, and then no Connect button" and concluded we were already connected, so it skipped them. The fix to this was to check the page for the literal first-degree badge text (&lt;code&gt;1st&lt;/code&gt;, plus its localised forms) before assuming connection. No badge means it is an Open Profile, which we handle as its own flow rather than a skip.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Messages went to the wrong person: The first messaging implementation we tried opened &lt;code&gt;/messaging/thread/new/?recipients=&amp;lt;slug&amp;gt;&lt;/code&gt;, which drops you into a compose box with a recipient search prefilled. Pressing Enter confirmed the first typeahead suggestion, and when the slug matched more than one account, that was sometimes a stranger (a wrong recipient). This meant people got messages meant for someone else. &lt;br&gt;
We solved this by a profile-first messaging: open &lt;code&gt;linkedin.com/in/&amp;lt;slug&amp;gt;/&lt;/code&gt;, then click the Message button on that page. The compose window opens pre-addressed to the exact profile you are looking at, and the typeahead never enters the picture.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Compound locators lied about visibility: With Patchright, chaining selectors with &lt;code&gt;.or()&lt;/code&gt; had cases where &lt;code&gt;isVisible()&lt;/code&gt; disagreed with the screen. A word-boundary regex (&lt;code&gt;/\bmessag\b/&lt;/code&gt;) failed to match "message" because there is no boundary inside a word, and a loose &lt;code&gt;/connect/i&lt;/code&gt; filter happily matched "Remove Connection." We stopped trusting locator chains for this and dropped to a single DOM scan with exact prefix matching against a label dictionary:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;label&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;evaluate&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="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;MSG&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sr"&gt;/^&lt;/span&gt;&lt;span class="se"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;Message|Mensagem|Mensaje|Envoyer|Nachricht|Invia|Stuur&lt;/span&gt;&lt;span class="se"&gt;)\b&lt;/span&gt;&lt;span class="sr"&gt;/i&lt;/span&gt;
  &lt;span class="k"&gt;for &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;b&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="nb"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;querySelectorAll&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;button&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="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;t&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getAttribute&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;aria-label&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;textContent&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="dl"&gt;''&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nf"&gt;trim&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="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;t&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;t&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;
&lt;span class="p"&gt;}).&lt;/span&gt;&lt;span class="k"&gt;catch&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That same dictionary is what fixed the Portuguese problem from the proxy section. We extended every label set to the six most common non-English LinkedIn locales, so &lt;code&gt;More actions&lt;/code&gt; also matches &lt;code&gt;Mais ações&lt;/code&gt;, &lt;code&gt;Más acciones&lt;/code&gt;, &lt;code&gt;Plus d'actions&lt;/code&gt;, &lt;code&gt;Weitere Aktionen&lt;/code&gt;, &lt;code&gt;Altre azioni&lt;/code&gt;, and &lt;code&gt;Meer acties&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One last button bug: after the first message of a cycle, later profiles loaded with the Message button covered. LinkedIn restores the messaging compose overlay from storage when a new page loads in the same context, and it renders on top of the profile action buttons. Detecting it by CSS class broke when LinkedIn renamed the class. We detected it by aria-label instead (&lt;code&gt;/messaging.*overlay|compose message/i&lt;/code&gt;) and dismissed it before scanning for buttons.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  The Silent Bug: a Message That Never Sends
&lt;/h2&gt;

&lt;p&gt;This one deserves its own section because it taught us to distrust using &lt;code&gt;as any&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sendLinkedInMessage&lt;/code&gt; would run to completion, throw nothing, and send no message. No error, no log, no clue. &lt;br&gt;
The code passed an object reference into &lt;code&gt;page.evaluate()&lt;/code&gt; and read the result back off that reference afterward, with an &lt;code&gt;as any&lt;/code&gt; cast to keep TypeScript quiet. &lt;br&gt;
That is not how Playwright returns values from &lt;code&gt;evaluate()&lt;/code&gt;. The reference was always null at runtime, the cast hid the mistake at compile time, and the send logic quietly took the do-nothing branch every time.&lt;/p&gt;

&lt;p&gt;The repair was to read the return value directly instead of through a smuggled reference:&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="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;resolvedMsgLabel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;evaluate&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="c1"&gt;// ...scan the DOM, return the matched label string&lt;/span&gt;
&lt;span class="p"&gt;}).&lt;/span&gt;&lt;span class="k"&gt;catch&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An &lt;code&gt;as any&lt;/code&gt; next to anything crossing the page boundary is a place a bug goes to hide. This landed in v14, and it is the one I would have caught fastest with stricter types and slowest with more logging, which is exactly backwards from where I looked first.&lt;/p&gt;

&lt;h2&gt;
  
  
  When Chrome Just Freezes During Automations
&lt;/h2&gt;

&lt;p&gt;By v17 the pipeline was fully functional, but then it started hanging, and the hangs were worse than crashes because the worker stayed alive and stopped making progress.&lt;/p&gt;

&lt;p&gt;The first frozen point was inside &lt;code&gt;page.evaluate()&lt;/code&gt;. We had &lt;code&gt;page.setDefaultTimeout(30_000)&lt;/code&gt; set and assumed it covered everything. &lt;br&gt;
It does not cover &lt;code&gt;evaluate()&lt;/code&gt;. That call runs over a DevTools Protocol method with no built-in timeout, so when Chrome's renderer is paused or deadlocked, the call waits forever. We wrapped individual &lt;em&gt;evaluates&lt;/em&gt; in a &lt;code&gt;Promise.race&lt;/code&gt; against a manual timeout as a stopgap.&lt;/p&gt;

&lt;p&gt;Then we hit a deeper version of the same thing. &lt;code&gt;page.close()&lt;/code&gt; would hang after a successful send. Closing a page sends a close command over the protocol, and in certain states (a request in flight, an internal alert) Chrome's renderer deadlocks waiting on a lock before it acknowledges. The &lt;code&gt;await&lt;/code&gt; never returns. Worse, if our per-job timeout fired during that hang, after the message had sent but before we wrote &lt;code&gt;done&lt;/code&gt; to the database, the next startup would reset the item to &lt;code&gt;queued&lt;/code&gt; and send it again. Duplicate messages to the same person. &lt;br&gt;
We had moved to v19 with the fix to this:&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="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;race&lt;/span&gt;&lt;span class="p"&gt;([&lt;/span&gt;
  &lt;span class="nx"&gt;page&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;close&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt;
  &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Promise&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;r&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;setTimeout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;r&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="nx"&gt;_000&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;If Chrome does not acknowledge the close in five seconds, we move on and abandon the page. The context stays valid for the next lead.&lt;/p&gt;

&lt;p&gt;The part that surprised us most came down to a timeout that never fired. Our per-job timeout was built on &lt;code&gt;Promise.race&lt;/code&gt;, and during a real CDP deadlock it stayed silent. The reason is that &lt;code&gt;Promise.race&lt;/code&gt; and &lt;code&gt;setTimeout&lt;/code&gt; both live on the JavaScript event loop, and a deadlocked synchronous &lt;code&gt;await&lt;/code&gt; blocks that loop. A blocked loop cannot run the timer callback that was supposed to rescue it. The watchdog has to live outside the loop.&lt;/p&gt;

&lt;p&gt;So we added a process-level watchdog on &lt;code&gt;setInterval&lt;/code&gt;, which rides libuv's timer wheel at the OS level and fires even when the JS loop is wedged:&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="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;watchdog&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;setInterval&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="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;pollStartTime&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;8&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="nx"&gt;_000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;[watchdog] poll cycle stuck past 8 min, exiting&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;exit&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;// Fly restarts the machine on a non-zero exit&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="nx"&gt;_000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When a cycle runs past eight minutes, the worker kills itself and Fly's supervisor restarts it.&lt;/p&gt;

&lt;p&gt;That restart created one more problem. Startup cleanup reset every &lt;code&gt;in_progress&lt;/code&gt; item back to &lt;code&gt;queued&lt;/code&gt;, with no memory of how many times it had been tried. If a single lead was what crashed the worker, the worker would process it, die, restart, reset it, and process it again, forever. We fixed it with a two-tier cleanup and an attempt counter: a job that times out at max attempts is marked &lt;code&gt;failed&lt;/code&gt; immediately, and startup only re-queues items that still have attempts left. Everything else gets marked &lt;code&gt;failed&lt;/code&gt; instead of looping.&lt;/p&gt;

&lt;h2&gt;
  
  
  How We Post LinkedIn Content With the Same Engine
&lt;/h2&gt;

&lt;p&gt;The outreach side and the content side run on the same foundation, which is the quiet payoff of all the session work above. Once you have a persistent, fingerprint-stable, proxy-fronted Chrome that LinkedIn trusts as you, posting to your own feed is the same machinery pointed at the composer instead of a profile.&lt;/p&gt;

&lt;p&gt;That symmetry is the reason we kept outreach and content in one system rather than two. A connection request and a feed post should sound like the same person, because to the reader they are the same person. We define that voice once as a &lt;a href="https://ozigi.app/docs/system-personas" rel="noopener noreferrer"&gt;System Persona&lt;/a&gt;, strip the generic model vocabulary with the &lt;a href="https://ozigi.app/docs/the-banned-lexicon" rel="noopener noreferrer"&gt;Banned Lexicon&lt;/a&gt; the engine enforces at generation time, and keep a &lt;a href="https://ozigi.app/docs/human-in-the-loop" rel="noopener noreferrer"&gt;human-in-the-loop&lt;/a&gt; edit before anything publishes. The feed model demotes content it reads as machine-made, so posting from a pipeline only helps if what you post does not read like it came from one. The full reasoning behind that constraint engine is in &lt;a href="https://blog.ozigi.app/blog/stopping-ai-slop-in-production-banned-lexicon-validator" rel="noopener noreferrer"&gt;how we stop AI slop in production&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deployment Lessons From Fly.io
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;fly deploy&lt;/code&gt; was taking three to five minutes a shot. The build context was 1.3 GB, because running deploy from the repo root shipped the entire monorepo (workspace &lt;code&gt;node_modules&lt;/code&gt;, the &lt;code&gt;.next&lt;/code&gt; cache, assets) to the remote builder before any layer cached. Running &lt;code&gt;fly deploy&lt;/code&gt; from &lt;code&gt;workers/linkedin/&lt;/code&gt; instead, where &lt;code&gt;node_modules&lt;/code&gt; is small, dropped the context to a few megabytes and the deploy to under thirty seconds.&lt;/p&gt;

&lt;p&gt;The other was QStash's ten-schedule cap. Campaign creation started failing once we had a handful of campaigns, because the scheduler created a fresh global "check replies" cron for every campaign instead of reusing the one that already existed. Four campaigns, four identical crons, four wasted slots. The fix was to look up the existing reply schedule and reuse its ID rather than create another.&lt;/p&gt;

&lt;h2&gt;
  
  
  How To Build A LinkedIn outreach Pipeline, If You Are Starting From Zero
&lt;/h2&gt;

&lt;p&gt;If we were doing this again from scratch, this is the sequence that would have saved the most time:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Get the worker booting first. Node 20 needs the &lt;code&gt;ws&lt;/code&gt; transport for Supabase, and your Playwright image tag and package version have to match exactly. Boring, blocking, do it first.&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;domcontentloaded&lt;/code&gt;, never &lt;code&gt;networkidle&lt;/code&gt;, on LinkedIn. The page is interactive long before the network goes quiet, and on LinkedIn it never does.&lt;/li&gt;
&lt;li&gt;Launch one persistent context per user and keep it alive. This is the whole session-stability game. Do not call &lt;code&gt;newContext()&lt;/code&gt; per cycle.&lt;/li&gt;
&lt;li&gt;Drive real Chrome through Patchright, not stealth-patched Playwright. Protocol-level patching beats JavaScript injection you can be caught doing.&lt;/li&gt;
&lt;li&gt;Solve proxy auth with a loopback wrapper. Chromium will not authenticate a proxy for HTTPS. Stop trying to make it.&lt;/li&gt;
&lt;li&gt;Scan the DOM for buttons by exact label, in multiple locales. Trust the live DOM over locator chains, and never assume English.&lt;/li&gt;
&lt;li&gt;Put a &lt;code&gt;setInterval&lt;/code&gt; watchdog outside the event loop. &lt;code&gt;Promise.race&lt;/code&gt; cannot save you from a deadlock that blocks the loop it runs on.&lt;/li&gt;
&lt;li&gt;Track attempts and fail loudly. A retry loop with no cap will happily send the same person ten messages.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What This Cost, and the Build Versus Buy Call
&lt;/h2&gt;

&lt;p&gt;This took about two weeks and nineteen builds to reach something I trusted with my own account. Most of that was not writing code.&lt;/p&gt;

&lt;p&gt;I am not going to pretend the right move for everyone is to build their own headless Chrome worker and keep it alive on Fly. We built ours because outreach is core to how Ozigi reaches its own users and because I wanted one voice across &lt;a href="https://blog.ozigi.app/blog/ozigi-gtm-engine-changelog-2026" rel="noopener noreferrer"&gt;content&lt;/a&gt; and outreach instead of stitching three tools together. If you want LinkedIn outreach and feed posting without maintaining any of the above, that is precisely the part we packaged into the &lt;a href="https://ozigi.app/dashboard/gtm" rel="noopener noreferrer"&gt;Ozigi GTM engine&lt;/a&gt;, and you can watch it run on the &lt;a href="https://ozigi.app/demo" rel="noopener noreferrer"&gt;live demo&lt;/a&gt; before deciding. For a side-by-side on where this sits against the alternatives, our &lt;a href="https://blog.ozigi.app/blog/best-free-gtm-tool-2026-ozigi-vs-apollo-clay" rel="noopener noreferrer"&gt;best free GTM tool comparison&lt;/a&gt; walks through the field.&lt;/p&gt;

&lt;p&gt;Whichever way you go, the engineering reality does not change. LinkedIn is built to tell you from a script, and the work is almost entirely about not giving it a reason to.&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently Asked Questions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why does my LinkedIn session expire after a few requests?&lt;/strong&gt;&lt;br&gt;
Almost always a device-fingerprint mismatch. LinkedIn binds your session token to the machine you logged in from, across roughly forty-eight signals. If your code creates a new browser context per request, each one looks like a different device, and the token gets invalidated after two or three. Use a single persistent browser context per user and keep it alive between requests so the fingerprint stays constant.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Patchright or Playwright for LinkedIn?&lt;/strong&gt;&lt;br&gt;
Patchright, in our experience. Stealth plugins for Playwright hide the script-driven signals by injecting JavaScript, and the injection itself is detectable over the DevTools Protocol. Patchright patches those signals at the protocol level before any page script runs, and it is a drop-in replacement for Playwright's &lt;code&gt;chromium&lt;/code&gt; import. Pair it with real Google Chrome rather than bundled Chromium for a more believable TLS handshake.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why do I need a residential proxy, and why is the auth so painful?&lt;/strong&gt;&lt;br&gt;
A residential proxy makes your traffic look like a home connection instead of a data centre, which matters for a behavioural detection layer. The pain is that Chromium cannot authenticate a proxy for HTTPS traffic, over either HTTP CONNECT or SOCKS5. The working pattern is a small local wrapper on loopback that handles authentication to the upstream proxy itself and exposes an unauthenticated endpoint to Chromium.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why does Playwright hang on &lt;code&gt;page.goto()&lt;/code&gt; for LinkedIn?&lt;/strong&gt;&lt;br&gt;
Because you are probably using &lt;code&gt;waitUntil: 'networkidle'&lt;/code&gt;. LinkedIn keeps long-poll and analytics connections open continuously, so the "no network activity" condition never fires. Switch to &lt;code&gt;domcontentloaded&lt;/code&gt;. The page is interactive well before the network settles.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can the same setup post content to my LinkedIn feed?&lt;/strong&gt;&lt;br&gt;
Yes. Once you have a trusted, fingerprint-stable browser session, posting to your feed uses the same browser control as outreach, pointed at the composer. The catch is the feed's quality model, which demotes content it reads as machine-made, so the writing has to sound like a person regardless of how it was published.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How many connection requests per day is safe?&lt;/strong&gt;&lt;br&gt;
Keep daily volume low and let replies pause your sequences. LinkedIn enforces a weekly invitation cap (commonly observed somewhere between 100 and 200 invites a week) and watches for bursty behaviour. Modest, steady daily sends with real follow-ups beat hitting any cap. The point of outreach is replies, not volume, which we cover in the &lt;a href="https://blog.ozigi.app/blog/go-to-market-playbook-solo-founder-technical-team" rel="noopener noreferrer"&gt;go-to-market playbook&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Will building this get my account banned?&lt;/strong&gt;&lt;br&gt;
It can, if you act like a script: high volume, no delays, a session that keeps changing devices, or generic spam to strangers. The engineering in this article is about looking like a real person to LinkedIn's detection layers. The behaviour on top of it (who you write to, how often, and what you say) is what actually keeps an account healthy. Review LinkedIn's user agreement and decide what you are comfortable with before you start.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Building outreach as a small team and tired of stitching tools together? &lt;a href="https://ozigi.app" rel="noopener noreferrer"&gt;Ozigi&lt;/a&gt; runs sourcing, scoring, LinkedIn and email outreach, and content in one voice on a free tier with no card required. Questions, or want to compare engineering notes? Reach me at &lt;a href="mailto:hello@ozigi.app"&gt;hello@ozigi.app&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>tutorial</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
