<?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: pranav-afk</title>
    <description>The latest articles on DEV Community by pranav-afk (@pranavafk).</description>
    <link>https://dev.to/pranavafk</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%2F4037827%2F002b9868-459c-417a-91b4-8b95f1b1e051.jpg</url>
      <title>DEV Community: pranav-afk</title>
      <link>https://dev.to/pranavafk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pranavafk"/>
    <language>en</language>
    <item>
      <title>Hello DEV, I build ops for AI agent fleets</title>
      <dc:creator>pranav-afk</dc:creator>
      <pubDate>Mon, 20 Jul 2026 09:37:26 +0000</pubDate>
      <link>https://dev.to/pranavafk/hello-dev-i-build-ops-for-ai-agent-fleets-3l9o</link>
      <guid>https://dev.to/pranavafk/hello-dev-i-build-ops-for-ai-agent-fleets-3l9o</guid>
      <description>&lt;h2&gt;
  
  
  Hi, DEV 👋
&lt;/h2&gt;

&lt;p&gt;I'm part of the team building &lt;strong&gt;&lt;a href="https://cartha.in" rel="noopener noreferrer"&gt;Cartha&lt;/a&gt;&lt;/strong&gt; — an ops layer for AI agents that actually run in production.&lt;/p&gt;

&lt;p&gt;This is a short intro: the problem we kept hitting, what we shipped, and what I'll write about here.&lt;/p&gt;




&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;We were debugging an agent that did something inexplicable in production. Logs and traces answered &lt;em&gt;what ran&lt;/em&gt;. They didn't answer the question that mattered:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;What did the agent know when it made that call — and was it allowed to know that?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you run multi-agent systems, you eventually need more than a pretty timeline:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Need&lt;/th&gt;
&lt;th&gt;Why it matters&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Scoped memory&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;User vs agent vs team vs org — without leaks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Hard budgets&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Soft alerts don't stop a retry loop at 3am&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tool limits&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Child agents shouldn't inherit the keys to the kingdom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;HITL&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Some actions need a human before they execute&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Observability tells you what happened. &lt;strong&gt;Governance&lt;/strong&gt; decides what is allowed to happen next.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Cartha is
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Not&lt;/strong&gt; a chatbot builder. You keep your own agents (OpenAI, tools, business logic).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Yes&lt;/strong&gt; a control plane for fleets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run timelines (tools + LLM steps)&lt;/li&gt;
&lt;li&gt;Server-enforced memory scopes (&lt;code&gt;user&lt;/code&gt; / &lt;code&gt;agent&lt;/code&gt; / &lt;code&gt;team&lt;/code&gt; / &lt;code&gt;org&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Fail-closed spend budgets on a run&lt;/li&gt;
&lt;li&gt;Nested agents + attenuated delegation&lt;/li&gt;
&lt;li&gt;Policies + escalations&lt;/li&gt;
&lt;li&gt;Dashboard for agents, traces, cost, memory&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Minimal Python path
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
python
import cartha

cartha.init()  # CARTHA_API_KEY + CARTHA_API_BASE=https://cartha.in
client = cartha.wrap_openai()  # auto LLM steps + cost

@cartha.tool()
def crm_lookup(user_id: str) -&amp;gt; dict:
    return {"plan": "pro"}

@cartha.trace(id="support", team="support", budget_usd=0.5)
def handle(user_id: str, ticket: str) -&amp;gt; str:
    data = crm_lookup(user_id)
    r = client.chat.completions.create(
        model="gpt-4o-mini",
        messages=[{"role": "user", "content": f"{ticket}\n{data}"}],
    )
    return r.choices[0].message.content or ""

Docs: How to Use (https://cartha.in/how-to-use)
Product: cartha.in (https://cartha.in)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>ai</category>
      <category>devtools</category>
      <category>python</category>
    </item>
  </channel>
</rss>
