<?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: Nguyen Thien</title>
    <description>The latest articles on DEV Community by Nguyen Thien (@thien_nguyen).</description>
    <link>https://dev.to/thien_nguyen</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%2F4009551%2F6f750961-b798-4b58-a465-7dcd1c42ba2a.png</url>
      <title>DEV Community: Nguyen Thien</title>
      <link>https://dev.to/thien_nguyen</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thien_nguyen"/>
    <language>en</language>
    <item>
      <title>Software Outsourcing in 2026: Models, Costs &amp; The Four-Question Test</title>
      <dc:creator>Nguyen Thien</dc:creator>
      <pubDate>Tue, 07 Jul 2026 11:37:13 +0000</pubDate>
      <link>https://dev.to/thien_nguyen/software-outsourcing-in-2026-models-costs-the-four-question-test-3632</link>
      <guid>https://dev.to/thien_nguyen/software-outsourcing-in-2026-models-costs-the-four-question-test-3632</guid>
      <description>&lt;p&gt;Software outsourcing is hiring an external team to design, build or maintain your software instead of employing every engineer yourself. In 2026 it spans everything from a $15K MVP built by a studio to thousand-person offshore programs. Done right, it cuts costs 40–70% and ships faster than hiring; done wrong, it produces code you rebuild within a year. This guide covers the models, the real costs, and the four questions that predict which outcome you get.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is software outsourcing?
&lt;/h2&gt;

&lt;p&gt;Software outsourcing means contracting software work to an outside company — onshore (your country), nearshore (a close timezone) or offshore (typically Asia or Eastern Europe). It's not one thing: outsourcing a scoped product build to a senior studio and renting five junior developers by the hour are both "outsourcing," with opposite risk profiles. The label matters less than the engagement model underneath it, which is where most advice — and most failure — hides.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four outsourcing models (and who each is for)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;How it works&lt;/th&gt;
&lt;th&gt;Best for&lt;/th&gt;
&lt;th&gt;Watch out for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Project outsourcing (fixed price)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Vendor owns delivery of a defined scope for an agreed price&lt;/td&gt;
&lt;td&gt;Founders and teams that need a known number — MVPs, defined products&lt;/td&gt;
&lt;td&gt;Vague scope = change-order hell; fix by phasing the scope&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Staff augmentation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;You rent engineers into your own team, hourly/monthly&lt;/td&gt;
&lt;td&gt;Teams with strong in-house leadership needing extra hands&lt;/td&gt;
&lt;td&gt;You carry all delivery risk; quality depends on your management&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Dedicated team&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;A stable external team works only on your product long-term&lt;/td&gt;
&lt;td&gt;Funded startups scaling beyond one product surface&lt;/td&gt;
&lt;td&gt;Costs run monthly regardless of output; needs real product direction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;BOT (build-operate-transfer)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Vendor builds a team you later absorb as your own office&lt;/td&gt;
&lt;td&gt;Enterprises committing to a country for years&lt;/td&gt;
&lt;td&gt;Heavy setup; only pays off at scale&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For a founder or a team shipping a specific product, fixed-price project outsourcing wins because it converts estimation risk into the vendor's problem — the full argument is in &lt;a href="https://beevr.ai/blog/fixed-price-vs-time-and-materials" rel="noopener noreferrer"&gt;fixed price vs time &amp;amp; materials&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much does software outsourcing cost?
&lt;/h2&gt;

&lt;p&gt;Senior-engineer rates in 2026: $100–$200/hr in the US, $45–$75 in Eastern Europe, $35–$70 in Latin America, and $20–$45 in Vietnam — with India spanning $15–$40 and the widest variance. In project terms, the same mid-complexity product that costs $120K–$300K at US rates lands at $30K–$80K with a senior Vietnam team. Two rules keep the math honest: rate is not cost (a junior bench that rebuilds everything is the most expensive option at any rate), and hourly is the wrong unit — insist on a fixed price per phase. Full breakdowns: &lt;a href="https://beevr.ai/blog/best-countries-for-offshore-software-development" rel="noopener noreferrer"&gt;rates by country&lt;/a&gt; and &lt;a href="https://beevr.ai/blog/how-much-does-mvp-development-cost" rel="noopener noreferrer"&gt;what an MVP really costs&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Outsourcing vs hiring in-house: which is right?
&lt;/h2&gt;

&lt;p&gt;Pre-revenue or pre-product-market-fit, outsourcing to a senior studio is usually faster and cheaper: a US engineer runs $180K+ fully loaded per year, takes months to hire, and your first hires carry existential risk if they're wrong. Once you've raised and the product is proven, building an in-house core team makes sense — often keeping an external team for parallel workstreams. The detailed comparison is in &lt;a href="https://beevr.ai/blog/software-agency-vs-in-house" rel="noopener noreferrer"&gt;agency vs in-house&lt;/a&gt;, and if you need senior technical direction without a full-time hire, see &lt;a href="https://beevr.ai/blog/fractional-cto-vs-development-agency" rel="noopener noreferrer"&gt;fractional CTO vs development agency&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are the biggest software outsourcing risks?
&lt;/h2&gt;

&lt;p&gt;Four, and they're all contractual before they're technical. &lt;strong&gt;Junior teams behind senior rates&lt;/strong&gt; — ask who writes your code by name and seniority. &lt;strong&gt;Open-ended billing&lt;/strong&gt; — insist on fixed price per phase with a working demo every week. &lt;strong&gt;IP and code hostage-taking&lt;/strong&gt; — require full IP assignment, source code and repository access from day one; the test is in &lt;a href="https://beevr.ai/blog/do-you-own-the-code-dev-agency" rel="noopener noreferrer"&gt;do you own the code?&lt;/a&gt; &lt;strong&gt;Compliance blindness&lt;/strong&gt; — if your product touches payment or health data, a vendor without concrete HIPAA/PCI answers is a liability, not a bargain. A vendor that passes all four is safe in any country; a vendor that fails them is dangerous in every country.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which country is best for software outsourcing?
&lt;/h2&gt;

&lt;p&gt;There's no universal winner — India for scale, Latin America for US-timezone overlap, Eastern Europe for EU proximity, and Vietnam for the strongest senior-talent-per-dollar in 2026 (senior engineers at 50–70% below US rates with genuine engineering depth). We compare all destinations honestly in &lt;a href="https://beevr.ai/blog/best-countries-for-offshore-software-development" rel="noopener noreferrer"&gt;best countries for offshore software development&lt;/a&gt; — and make the case that the engagement model predicts your outcome more than the flag does.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you choose a software outsourcing company?
&lt;/h2&gt;

&lt;p&gt;Filter with evidence, not portfolios: ask for a named senior team, a fixed price per phase, full IP from day one, weekly working demos, and a concrete compliance answer if you're regulated. Then test communication with a small paid discovery phase before committing to a build — how a vendor handles a one-week engagement predicts the six-month one. The full checklist is in &lt;a href="https://beevr.ai/blog/how-to-choose-a-dev-partner" rel="noopener noreferrer"&gt;how to choose a development partner&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We're a senior, founder-led software outsourcing studio in Vietnam — fixed price per phase from $10K/month, full IP ownership from day one, weekly working demos, and compliance designed in for fintech and healthcare. See &lt;a href="https://beevr.ai/vietnam-software-development-company" rel="noopener noreferrer"&gt;how we work&lt;/a&gt;, our &lt;a href="https://beevr.ai/custom-software-development-company" rel="noopener noreferrer"&gt;custom software development services&lt;/a&gt;, or &lt;a href="https://beevr.ai/contact" rel="noopener noreferrer"&gt;tell us what you're building&lt;/a&gt; for a fixed quote in one 30-minute call.&lt;/p&gt;

</description>
      <category>outsourcing</category>
      <category>softwaredevelopment</category>
      <category>startup</category>
      <category>programming</category>
    </item>
    <item>
      <title>How Much Does an AI Agent Cost to Build in 2026? [Build + Run]</title>
      <dc:creator>Nguyen Thien</dc:creator>
      <pubDate>Tue, 07 Jul 2026 11:33:13 +0000</pubDate>
      <link>https://dev.to/thien_nguyen/how-much-does-an-ai-agent-cost-to-build-in-2026-build-run-4mke</link>
      <guid>https://dev.to/thien_nguyen/how-much-does-an-ai-agent-cost-to-build-in-2026-build-run-4mke</guid>
      <description>&lt;p&gt;In 2026, building a custom AI agent costs $15,000–$75,000 for a single-purpose agent with real integrations, and $80,000–$500,000 for multi-agent or compliance-bound systems. A thin wrapper around an LLM API can be done for $5,000–$25,000 — but the gap between a wrapper and an agent you can trust in production is exactly where the money goes. This guide breaks down the numbers, including the part most estimates hide: what it costs to &lt;em&gt;run&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much does it cost to build an AI agent in 2026?
&lt;/h2&gt;

&lt;p&gt;It depends on how much you let the agent do — autonomy is the cost driver, not intelligence:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Agent type&lt;/th&gt;
&lt;th&gt;Typical build cost&lt;/th&gt;
&lt;th&gt;What's inside&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Wrapper / assistant&lt;/strong&gt; (chat over your docs)&lt;/td&gt;
&lt;td&gt;$5K–$25K&lt;/td&gt;
&lt;td&gt;LLM API + RAG over a knowledge base, no real actions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Workflow agent&lt;/strong&gt; (one job, few tools)&lt;/td&gt;
&lt;td&gt;$15K–$75K&lt;/td&gt;
&lt;td&gt;Scoped tools, structured outputs, evals, human review queue&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Autonomous multi-tool agent&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;$50K–$150K&lt;/td&gt;
&lt;td&gt;Planning, tool orchestration, guardrails, observability, cost control&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Regulated-industry agent&lt;/strong&gt; (HIPAA/PCI)&lt;/td&gt;
&lt;td&gt;$70K–$180K+&lt;/td&gt;
&lt;td&gt;All of the above + BAA chain, audit trails, approval gates&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Enterprise multi-agent platform&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;$150K–$500K+&lt;/td&gt;
&lt;td&gt;Multiple coordinated agents, SSO, tenancy, compliance&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Industry surveys put agentic-AI project overruns at 35–50% above initial estimates — significantly worse than traditional software. The overruns come from the same place every time: teams budget for the demo and discover the production work later. We wrote about that gap in &lt;a href="https://beevr.ai/blog/production-ready-ai" rel="noopener noreferrer"&gt;what production-ready AI actually means&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why did AI agent costs become front-page news in 2026?
&lt;/h2&gt;

&lt;p&gt;Because the running costs stopped being a rounding error. Gartner now predicts AI coding costs will grow to match developer salaries; Uber famously exhausted its annual AI-tools budget in about four months. Token economics compound with agents: a single autonomous task can chain dozens of model calls, so an agent that costs $0.10 per simple query can cost $5–15 per complex task. Budgeting an agent means budgeting &lt;strong&gt;build + run&lt;/strong&gt;, and most quotes you'll get only cover the first half.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much does it cost to run an AI agent?
&lt;/h2&gt;

&lt;p&gt;Plan for three recurring lines. &lt;strong&gt;Inference:&lt;/strong&gt; from tens of dollars a month for a low-volume internal agent to thousands for customer-facing volume; frontier models run roughly $1–15 per million input tokens depending on tier, and agent workflows burn tokens on every planning step, not just the final answer. &lt;strong&gt;Monitoring and evals:&lt;/strong&gt; logging, tracing and regression testing when models or prompts change — typically 10–20% of the build cost per year. &lt;strong&gt;Model churn:&lt;/strong&gt; providers deprecate and reprice models; pin versions and budget a small re-validation effort per upgrade. A well-architected agent controls inference cost by routing easy steps to cheap models and reserving frontier models for the hard ones — that routing logic is part of what you're paying for in the build.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually drives the build cost?
&lt;/h2&gt;

&lt;p&gt;Four things, in order of impact. &lt;strong&gt;Actions, not answers:&lt;/strong&gt; the moment an agent writes to a system — files a ticket, updates a record, sends an email — you need approval gates, rollback paths and an audit trail; that's the difference between $20K and $80K. &lt;strong&gt;Evaluation:&lt;/strong&gt; an agent without an eval suite is a demo; building the test harness that proves it behaves is often a third of the budget. &lt;strong&gt;Integrations:&lt;/strong&gt; each system the agent touches (CRM, EHR, ERP) adds scoped tools, permissions and error handling. &lt;strong&gt;Compliance:&lt;/strong&gt; in healthcare or fintech, the agent inherits the full regulatory surface — we detailed the architecture in &lt;a href="https://beevr.ai/blog/hipaa-compliant-ai-agents" rel="noopener noreferrer"&gt;HIPAA-compliant AI agents&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Should you build on an agent framework or from scratch?
&lt;/h2&gt;

&lt;p&gt;Use a framework for orchestration plumbing and spend your budget on what's unique: your tools, your evals, your guardrails. Open-source frameworks (including &lt;a href="https://beevr.ai/blog/kite-open-source-agent-framework" rel="noopener noreferrer"&gt;Kite, our open-source agent framework&lt;/a&gt; — built on the principle that the LLM is an untrusted component) cut weeks off the build without locking you in. Buying an off-the-shelf agent platform is right when your use case is generic (support triage, meeting notes); it's wrong when the agent &lt;em&gt;is&lt;/em&gt; your product, because you inherit their limits and their pricing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is an AI agent worth it for a startup MVP?
&lt;/h2&gt;

&lt;p&gt;Yes if the agent is the product; carefully if it's a feature. An agent-as-product MVP typically lands at $50K–$120K — comparable to any &lt;a href="https://beevr.ai/blog/how-much-does-mvp-development-cost" rel="noopener noreferrer"&gt;AI SaaS MVP&lt;/a&gt; — and investors will probe the eval suite and unit economics harder than the demo. If the agent is a feature inside a bigger product, start with the workflow-agent tier: one job, few tools, human review, and expand autonomy only after the eval data says you can. Full AI budgeting context in our &lt;a href="https://beevr.ai/blog/ai-development-cost-for-business-2026" rel="noopener noreferrer"&gt;AI development cost guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We build production AI agents for startups and regulated industries — senior team, fixed price per phase, full IP ownership, and honest answers about what should stay human-approved. See &lt;a href="https://beevr.ai/ai-development-company" rel="noopener noreferrer"&gt;our AI development services&lt;/a&gt;, the &lt;a href="https://beevr.ai/mvp-development-cost" rel="noopener noreferrer"&gt;fixed-price cost breakdown&lt;/a&gt;, or &lt;a href="https://beevr.ai/contact" rel="noopener noreferrer"&gt;tell us what you want the agent to do&lt;/a&gt; — we'll scope it and tell you what it really costs, build and run.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>softwaredevelopment</category>
      <category>startup</category>
      <category>llm</category>
    </item>
    <item>
      <title>Best Countries for Offshore Software Development (2026)</title>
      <dc:creator>Nguyen Thien</dc:creator>
      <pubDate>Tue, 30 Jun 2026 21:09:04 +0000</pubDate>
      <link>https://dev.to/thien_nguyen/best-countries-for-offshore-software-development-2026-3ecg</link>
      <guid>https://dev.to/thien_nguyen/best-countries-for-offshore-software-development-2026-3ecg</guid>
      <description>&lt;p&gt;"What is the best country for offshore software development?" is a slightly wrong question with a useful answer hiding inside it. There is no single best country — there is a best fit for what you are optimizing: cost, timezone overlap, working English, engineering seniority, or domain depth. This guide compares the destinations founders actually shortlist in 2026, honestly, and then makes the case that the country matters less than how the team is run.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest shortlist for 2026
&lt;/h2&gt;

&lt;p&gt;A handful of regions dominate serious offshore shortlists. None is "best" in the abstract; each wins on something and loses on something else.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;India.&lt;/strong&gt; The deepest talent pool and the lowest entry prices, with everything from solo freelancers to 100,000-person firms. The trade-off is enormous variance: outcomes depend entirely on which slice you hire, and the cheap end is where most outsourcing horror stories come from. Best for: large staff augmentation and teams that can vet hard.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vietnam.&lt;/strong&gt; Senior engineers at roughly 50–70% below US rates, a fast-growing and genuinely strong engineering culture, and widespread working English. The trade-off is timezone (ahead of US hours) and a smaller pool than India. Best for: founders and lean teams who want senior delivery on a fixed budget.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Philippines.&lt;/strong&gt; Strong English and good cultural fit with US clients, historically deepest in support and BPO, with a growing dev scene. The trade-off is that senior product-engineering depth is thinner than Vietnam or India. Best for: English-heavy products and teams that value communication.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Eastern Europe (Poland, Ukraine, Romania).&lt;/strong&gt; Excellent senior engineering and close to EU timezones. The trade-off is price — rates are well above Asia, closer to nearshore than offshore. Best for: EU companies prioritizing seniority over cost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Latin America.&lt;/strong&gt; The nearshore pick for US companies: same-timezone overlap and improving talent. The trade-off is price (above Asia) and a market still maturing. Best for: US teams that need real-time overlap above all else.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Vietnam keeps topping the lists
&lt;/h2&gt;

&lt;p&gt;The reasons are real, and worth stating without the marketing gloss. Senior engineers cost a fraction of US rates while the seniority is genuine, not a junior bench with a senior title. The engineering culture is deep and still compounding, English is good enough for async product work, and the country is politically stable with a strong tech-education pipeline. The honest caveat is timezone: Vietnam runs ahead of US hours, so the teams worth hiring offset it with disciplined async communication and a working demo every week, not a once-a-quarter reveal. Cost is the headline; senior-talent-per-dollar is the real story.&lt;/p&gt;

&lt;h2&gt;
  
  
  The mistake: optimizing for country instead of model
&lt;/h2&gt;

&lt;p&gt;Here is the part most "best country" lists skip. The country sets a price band and a timezone. It does not decide whether your project succeeds. Four things do, and they cut across every country:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Senior vs junior.&lt;/strong&gt; A low day-rate usually means a junior bench learning on your code. You pay twice — once to build, once to rebuild. Ask who writes your code, by name and seniority.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fixed price vs open-ended hourly.&lt;/strong&gt; Time-and-materials with no cap pushes all the estimation risk onto you. For a defensible budget, insist on a fixed price per phase.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ownership.&lt;/strong&gt; Some vendors retain IP, license the product back, or gate the source behind a maintenance contract. Require full IP, source code and the repository from day one, in writing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compliance.&lt;/strong&gt; If your product touches regulated data, a vendor with no concrete answer on HIPAA, PCI or SOC 2 is a liability. Compliance is architecture, not a checkbox.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A senior, fixed-price, full-ownership team in Vietnam will beat a cheap junior shop anywhere — and a careless engagement in any country will fail regardless of the flag on the map.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which country is best for offshore software development?
&lt;/h2&gt;

&lt;p&gt;There is no universal winner. If you need a large team for a multi-year program, India's scale is hard to beat. If you need real-time US overlap above all, Latin America. If you want senior delivery on a fixed budget with full ownership, Vietnam is the strongest value in 2026. But filter any country through the four questions above first — they predict the outcome more than the location does.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is Vietnam good for offshore software development?
&lt;/h2&gt;

&lt;p&gt;Yes, for the right buyer. Vietnam offers senior engineers at roughly 50–70% below US rates, a deep and growing talent pool, and widespread working English. The main trade-off is timezone, which good teams offset with async discipline and a weekly working demo. The risk to avoid is the cheap-and-junior model, not the location.&lt;/p&gt;

&lt;h2&gt;
  
  
  How much does offshore software development cost?
&lt;/h2&gt;

&lt;p&gt;Senior engineering in Asia typically runs around $20–45 per hour, well below US and EU rates; Eastern Europe and Latin America sit higher. But hourly rate is the wrong unit — what protects your runway is a fixed price per phase.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This article was originally published on the &lt;a href="https://beevr.ai/blog/best-countries-for-offshore-software-development" rel="noopener noreferrer"&gt;BeevR blog&lt;/a&gt;. We are a senior, founder-led software studio in Vietnam: senior engineers only, fixed price per phase, and you own 100% of the code.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwaredevelopment</category>
      <category>startup</category>
      <category>outsourcing</category>
    </item>
    <item>
      <title>We built Nebula: GraphRAG that runs in your browser tab, not someone else's cloud</title>
      <dc:creator>Nguyen Thien</dc:creator>
      <pubDate>Tue, 30 Jun 2026 13:19:40 +0000</pubDate>
      <link>https://dev.to/thien_nguyen/we-built-nebula-graphrag-that-runs-in-your-browser-tab-not-someone-elses-cloud-31gd</link>
      <guid>https://dev.to/thien_nguyen/we-built-nebula-graphrag-that-runs-in-your-browser-tab-not-someone-elses-cloud-31gd</guid>
      <description>&lt;p&gt;Most AI note apps ship your notes to a cloud vector database and a hosted model, then ask you to trust the privacy policy. For the work we do (regulated industries, sensitive data) that is a non-starter. So we built the opposite and open-sourced it: &lt;strong&gt;Nebula&lt;/strong&gt;, a private, local-first AI knowledge base that runs entirely inside a browser tab. No backend, no account, no server. Its tagline says it plainly: notes that think, nothing leaves your device.&lt;/p&gt;

&lt;p&gt;Repo: &lt;strong&gt;&lt;a href="https://github.com/beevr-labs/Nebula" rel="noopener noreferrer"&gt;https://github.com/beevr-labs/Nebula&lt;/a&gt;&lt;/strong&gt; (Apache-2.0). Live demo, no signup: &lt;strong&gt;&lt;a href="https://beevr-labs.github.io/Nebula/" rel="noopener noreferrer"&gt;https://beevr-labs.github.io/Nebula/&lt;/a&gt;&lt;/strong&gt;. Here is why we went fully on-device, and what it cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy by architecture, not by promise
&lt;/h2&gt;

&lt;p&gt;The usual privacy pitch is a policy: "we won't look at your data." Nebula's is structural: there is nowhere for your data to go. Everything runs in the browser. Notes, embeddings, and the search index live in local browser storage. There is no sync service, no account system, and therefore no server to breach or to put under a data-processing agreement. For sensitive notes (client records, health information, anything you would not paste into a cloud chatbot) that is the whole point.&lt;/p&gt;

&lt;h2&gt;
  
  
  What runs where
&lt;/h2&gt;

&lt;p&gt;It is a SvelteKit single-page app that does real ML in the browser:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;On-device chat&lt;/strong&gt; via WebLLM, GPU-accelerated with &lt;strong&gt;WebGPU&lt;/strong&gt;. You pick the model, from tiny-and-fast to large-and-accurate, and Nebula shows the download size before you commit. Qwen and Llama models are supported.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Semantic search&lt;/strong&gt; powered by &lt;strong&gt;bge-m3&lt;/strong&gt; (Apache-2.0), about 570 MB on first use, then cached and fully offline. It is multilingual, including Vietnamese, so it works across mixed-language notes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WebAssembly&lt;/strong&gt; handles the compute-heavy parts.&lt;/li&gt;
&lt;li&gt;After the first model download, the whole thing works &lt;strong&gt;offline&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why a graph, not just vectors
&lt;/h2&gt;

&lt;p&gt;Flat vector search finds notes that are similar. It does not understand that "the client from the Tuesday call" and "Acme Corp" are the same entity across ten different notes. Nebula builds an &lt;strong&gt;entity knowledge graph&lt;/strong&gt; automatically (people, projects, clients) and uses GraphRAG to answer questions by walking those relationships, then links every answer back to the source notes. You ask in plain language and get an answer you can trace, instead of a keyword hunt across disconnected files.&lt;/p&gt;

&lt;h2&gt;
  
  
  It is also just a good notes app
&lt;/h2&gt;

&lt;p&gt;The AI is useless if the notes app underneath is not real, so it is: Markdown, wikilinks and backlinks, tabs, a quick switcher, daily notes, templates, tags, and folders. You can bring your own files (PDF, CSV, text) and export the whole vault as plain &lt;code&gt;.md&lt;/code&gt; files whenever you want. No lock-in: your notes go in and out as portable Markdown. The codebase ships with 430+ automated tests, because local-first does not mean fragile.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hard parts (what we learned)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;On-device models are smaller, so structure has to carry more weight.&lt;/strong&gt; The knowledge graph recovers context that a small local model alone would miss, which is a big part of why we went graph-first instead of leaning on raw model size.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Explainable retrieval matters as much as accuracy.&lt;/strong&gt; Showing the path through the graph back to source notes is what makes the answer trustworthy, and for regulated buyers that traceability is not a nice-to-have.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The browser is a surprisingly capable runtime in 2026.&lt;/strong&gt; WebGPU plus WebAssembly means "install nothing, runs offline, GPU-accelerated" is actually achievable, not a science project.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why open source
&lt;/h2&gt;

&lt;p&gt;The same reason we open-source the rest of our hardest work: in AI, "verifiable" beats "trust me." A buyer evaluating us for sensitive data can read exactly how retrieval works, and confirm for themselves that nothing leaves the device, instead of taking our word for it.&lt;/p&gt;

&lt;p&gt;Nebula is Apache-2.0 at &lt;strong&gt;&lt;a href="https://github.com/beevr-labs/Nebula" rel="noopener noreferrer"&gt;https://github.com/beevr-labs/Nebula&lt;/a&gt;&lt;/strong&gt;, with a live demo at &lt;strong&gt;&lt;a href="https://beevr-labs.github.io/Nebula/" rel="noopener noreferrer"&gt;https://beevr-labs.github.io/Nebula/&lt;/a&gt;&lt;/strong&gt;. If you need AI built on sensitive or regulated data, on-device or otherwise, made to survive an audit rather than just a demo, &lt;a href="https://beevr.ai/ai-development-company" rel="noopener noreferrer"&gt;here is how we work&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Anyone else running RAG fully in the browser? What model and hardware combo is actually working for you?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://beevr.ai/blog/nebula-on-device-graphrag" rel="noopener noreferrer"&gt;beevr.ai&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>showdev</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>We open-sourced Kite, our agent framework. Here is what building production agents taught us.</title>
      <dc:creator>Nguyen Thien</dc:creator>
      <pubDate>Tue, 30 Jun 2026 13:17:37 +0000</pubDate>
      <link>https://dev.to/thien_nguyen/we-open-sourced-kite-our-agent-framework-here-is-what-building-production-agents-taught-us-1l29</link>
      <guid>https://dev.to/thien_nguyen/we-open-sourced-kite-our-agent-framework-here-is-what-building-production-agents-taught-us-1l29</guid>
      <description>&lt;p&gt;Everyone has an agent demo in 2026. Far fewer have agents they would put in front of a paying customer, an auditor, or a patient. The gap between "it worked in the notebook" and "it works every time, safely, and we can explain what it did" is where most agent projects quietly die, and it is the gap we built &lt;strong&gt;Kite&lt;/strong&gt; to close.&lt;/p&gt;

&lt;p&gt;We just open-sourced it: &lt;strong&gt;&lt;a href="https://github.com/beevr-labs/Kite" rel="noopener noreferrer"&gt;https://github.com/beevr-labs/Kite&lt;/a&gt;&lt;/strong&gt;. It is Python, MIT licensed, and &lt;code&gt;pip install kite-agent&lt;/code&gt; away. This is the honest writeup of why it exists and what we learned.&lt;/p&gt;

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

&lt;p&gt;We build production software for regulated industries, so we kept hitting the same wall: the popular agent frameworks are great for a prototype and painful for production. Getting to a first working agent in LangChain or AutoGen is a configuration project, and once you are there you still have to bolt on the parts that actually matter in production: guardrails, retries, idempotency, observability, evaluation. We were rebuilding that same scaffolding for every client. Kite is the framework we wish we had started with: opinionated about safety, fast to a running agent, and small enough to read.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one design decision everything hangs on: treat the LLM as untrusted
&lt;/h2&gt;

&lt;p&gt;This is the core idea. In Kite, &lt;strong&gt;the model proposes actions, it does not execute them.&lt;/strong&gt; A controlled kernel sits between the agent and the real world and validates every proposed action against policy before anything runs. So when an agent decides to call &lt;code&gt;agent.run("rm -rf /")&lt;/code&gt;, the kernel refuses it instead of your filesystem finding out the hard way.&lt;/p&gt;

&lt;p&gt;It sounds simple. It changes everything about how comfortable you are giving an agent real tools. The model becomes a planner you can sandbox, not a process with your credentials. For anyone running agents on sensitive data or real infrastructure, that boundary is the difference between a demo and something you can actually deploy.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you get out of the box
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Five reasoning patterns&lt;/strong&gt;, selectable per agent: ReAct (think, act, observe), ReWOO (plan upfront and run steps in parallel, which Kite clocks at roughly 2x faster), Tree of Thoughts (explore multiple paths), Plan-Execute (decompose and replan on failure), and Reflective (generate, critique, improve).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Production safety primitives:&lt;/strong&gt; a circuit breaker that stops cascading failures, a kill switch (per-agent or global) for when you need everything to stop now, and idempotency keyed on operation IDs so a retried action does not charge a customer twice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retrieval that is not a toy:&lt;/strong&gt; HyDE, hybrid BM25 plus vector search, MMR deduplication, and reranking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompt A/B testing&lt;/strong&gt; with statistical confidence intervals on real traffic, because "the new prompt feels better" is not a deployment criterion.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What it looks like
&lt;/h2&gt;

&lt;p&gt;The fastest path is the generator. Describe the agent, get a runnable file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;kite-agent
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;GROQ_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;your_key
kite generate &lt;span class="s2"&gt;"research assistant that searches and summarizes"&lt;/span&gt; &lt;span class="nt"&gt;--out&lt;/span&gt; agent.py
python agent.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or build one directly in Python and pick the reasoning pattern:&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;kite&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Kite&lt;/span&gt;

&lt;span class="n"&gt;ai&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Kite&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;agent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ai&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create_agent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;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;Bot&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;agent_type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;react&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;agent&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;run&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 request&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Kite's own benchmarks put time to first agent at under a minute (versus roughly 30 minutes for LangChain and 20 for AutoGen in their tests) and cold startup around 50ms (versus ~2s and ~1s). Take the comparison as the authors' figures, not an audit, but the design intent is clear: get to a safe, running agent fast.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we learned running agents in production
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The model is about 10% of the work.&lt;/strong&gt; The other 90% is tools, retries, guardrails, idempotency, and evaluation. A better model does not save you from a missing kill switch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Most "agent failures" are IO failures in disguise.&lt;/strong&gt; A flaky tool, a duplicated side effect, a partial write. Observability and idempotency beat another round of prompt tuning almost every time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The untrusted-component framing is freeing, not limiting.&lt;/strong&gt; Once the kernel is the thing that says yes or no, you stop being afraid to hand the agent real capabilities.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why we open-sourced it
&lt;/h2&gt;

&lt;p&gt;In a field full of black boxes, "you can read the code" is a differentiator, not a giveaway. We build production AI for regulated industries, and the way we earn a technical buyer's trust is by letting them inspect the hardest parts of our stack instead of taking a pitch on faith.&lt;/p&gt;

&lt;p&gt;Kite is MIT licensed and lives at &lt;strong&gt;&lt;a href="https://github.com/beevr-labs/Kite" rel="noopener noreferrer"&gt;https://github.com/beevr-labs/Kite&lt;/a&gt;&lt;/strong&gt;. Issues and PRs welcome. If you are building production-grade or compliance-bound AI and want a partner who ships the boring 90%, &lt;a href="https://beevr.ai/ai-development-company" rel="noopener noreferrer"&gt;here is how we work&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What are you using to build agents in production, and what keeps breaking? Curious where Kite would and would not help.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://beevr.ai/blog/kite-open-source-agent-framework" rel="noopener noreferrer"&gt;beevr.ai&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>showdev</category>
      <category>python</category>
    </item>
    <item>
      <title>Your AI agent isn't HIPAA-compliant just because the model is good</title>
      <dc:creator>Nguyen Thien</dc:creator>
      <pubDate>Tue, 30 Jun 2026 12:02:06 +0000</pubDate>
      <link>https://dev.to/thien_nguyen/your-ai-agent-isnt-hipaa-compliant-just-because-the-model-is-good-1m03</link>
      <guid>https://dev.to/thien_nguyen/your-ai-agent-isnt-hipaa-compliant-just-because-the-model-is-good-1m03</guid>
      <description>&lt;p&gt;In 2026 everyone has shipped an AI agent. Far fewer have shipped one they could defend in an audit. Surveys keep finding the same gap: most security leaders are worried about AI-agent risk, and only a handful have actually put mature controls around it. Teams are deploying agents faster than they can govern them, and in healthcare, finance, or anywhere regulated, that's how a great demo becomes a reportable breach.&lt;/p&gt;

&lt;p&gt;Here's the category error underneath it: &lt;strong&gt;a capable model is not a compliant system.&lt;/strong&gt; You can point the best model in the world at protected health information (PHI) and still be wildly non-compliant. Compliance isn't a property of the model; it's a property of the architecture around it. (We've argued before that &lt;a href="https://beevr.ai/blog/is-chatgpt-hipaa-compliant" rel="noopener noreferrer"&gt;a good model doesn't make a tool HIPAA-compliant&lt;/a&gt;; with agents, the gap gets wider.)&lt;/p&gt;

&lt;h2&gt;
  
  
  An agent's compliance surface is bigger than a chatbot's
&lt;/h2&gt;

&lt;p&gt;A chatbot reads and replies. An &lt;em&gt;agent&lt;/em&gt; does things: it calls tools, queries databases, writes records, sends messages, and remembers across turns. Every one of those is a new place regulated data can leak or an unlogged action can happen:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tool calls&lt;/strong&gt; reach into systems that hold PHI, and each tool is a new data path that needs a BAA and least-privilege scoping.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Autonomous actions&lt;/strong&gt; can change real state (book, cancel, message a patient). Anything affecting care can't be a black-box decision.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory and logs&lt;/strong&gt; quietly persist PHI, often in places nobody put under a Business Associate Agreement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data egress&lt;/strong&gt; to a hosted model provider is a transfer of PHI to a third party. No BAA with that provider, no compliance. Full stop.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The model is maybe 10% of the risk. The other 90% is everything the agent is wired to &lt;em&gt;touch&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The governance checklist for agents on regulated data
&lt;/h2&gt;

&lt;p&gt;If an agent goes near PHI, these aren't nice-to-haves; they're the difference between "audit-ready" and "liability":&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;BAA chain, including the model provider.&lt;/strong&gt; Every service that processes PHI on your behalf (cloud, database, &lt;em&gt;and the LLM API&lt;/em&gt;) needs a signed Business Associate Agreement before a single token flows. A consumer LLM endpoint with no BAA is an instant fail.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Minimize and mask PHI before the model sees it.&lt;/strong&gt; Strip or tokenize identifiers at the boundary. The less PHI reaches the model, the smaller your breach blast radius.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human-in-the-loop on anything affecting care.&lt;/strong&gt; Measured accuracy plus a human sign-off, not autonomous decisions on treatment, eligibility, or anything clinical.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tamper-evident audit logging of every action and tool call.&lt;/strong&gt; Who, what, when, why, retained per HIPAA's six-year expectation. "What did the agent do at 2am?" must have an answer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Least-privilege tools.&lt;/strong&gt; Scope each tool to the minimum data and actions it needs. An agent that &lt;em&gt;can&lt;/em&gt; read every record will eventually read the wrong one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No training on PHI.&lt;/strong&gt; Confirm contractually that your data isn't used to train the provider's models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Measured, reported accuracy.&lt;/strong&gt; Evaluation is part of the build, not a launch-day afterthought, and in regulated settings you have to be able to show it.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  "But it's just RAG / it's read-only"
&lt;/h2&gt;

&lt;p&gt;Doesn't matter. Read-only still means PHI egresses to wherever you embed and store it. RAG still puts patient data in a vector store and a prompt. The questions an auditor asks (&lt;em&gt;where did the data go, who could see it, what's logged, who signed a BAA&lt;/em&gt;) don't care whether your agent writes anything. They care where the data went.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;The winners in regulated AI aren't the teams with the flashiest agent. They're the teams whose agent can pass the audit, because the governance was designed in, not bolted on after the demo got applause. If your agent touches PHI (or card data, under PCI), build the framework first and let the model be the easy part.&lt;/p&gt;

&lt;p&gt;That's how we build production AI for regulated industries: &lt;a href="https://beevr.ai/hipaa-mvp-development" rel="noopener noreferrer"&gt;compliance by design&lt;/a&gt;, with the agent governance auditors actually ask for. If that's the bar your product has to clear, &lt;a href="https://beevr.ai/ai-development-company" rel="noopener noreferrer"&gt;here's how we work&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;If you're running agents on regulated data, what's your hardest governance problem right now? Logging, BAAs, or keeping humans in the loop without killing the UX?&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>security</category>
      <category>healthcare</category>
      <category>programming</category>
    </item>
    <item>
      <title>We let AI coding agents into our codebase. The modular monolith won.</title>
      <dc:creator>Nguyen Thien</dc:creator>
      <pubDate>Tue, 30 Jun 2026 11:58:48 +0000</pubDate>
      <link>https://dev.to/thien_nguyen/we-let-ai-coding-agents-into-our-codebase-the-modular-monolith-won-50je</link>
      <guid>https://dev.to/thien_nguyen/we-let-ai-coding-agents-into-our-codebase-the-modular-monolith-won-50je</guid>
      <description>&lt;p&gt;For a decade, "microservices vs monolith" was an argument about &lt;em&gt;human&lt;/em&gt; teams: Conway's Law, independent deploys, blast radius. In 2026 a new participant walked into the codebase and quietly changed the math: the AI coding agent.&lt;/p&gt;

&lt;p&gt;We build software for a living. Our work is production systems for regulated industries, and we've spent the last year with agents (Claude Code, Cursor, the usual suspects) reading and writing real code alongside us. The pattern is consistent enough to say out loud: &lt;strong&gt;agents reason far better over a well-structured modular monolith than over a fleet of microservices.&lt;/strong&gt; And we're not alone in moving that direction. The CNCF has reported a wave of teams &lt;em&gt;consolidating&lt;/em&gt; services rather than splitting further.&lt;/p&gt;

&lt;p&gt;Here's why, and where it still breaks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Microservices were optimized for a constraint AI doesn't have
&lt;/h2&gt;

&lt;p&gt;The original case for microservices was largely organizational: let many teams ship independently without stepping on each other. That's a real benefit for humans, at scale.&lt;/p&gt;

&lt;p&gt;But an AI agent's bottleneck isn't team coordination. It's &lt;strong&gt;context&lt;/strong&gt;. An agent is only as good as what it can see and hold at once. And microservices are, by design, an architecture of &lt;em&gt;hidden&lt;/em&gt; context:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The logic for one user action is smeared across N repositories. To change a behavior, the agent has to discover, clone, and correlate code it can't see from where it started.&lt;/li&gt;
&lt;li&gt;A function call became a &lt;strong&gt;network call&lt;/strong&gt;. The agent can read a function and reason about it; it cannot "read" a flaky gRPC hop, a retry storm, or a partial failure between services.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Eventual consistency&lt;/strong&gt; replaced transactions. The agent can't reason cleanly about state that's correct "soon."&lt;/li&gt;
&lt;li&gt;There's no single stack trace. When something breaks, the truth is spread across logs in five services.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are the same costs we wrote about in &lt;a href="https://beevr.ai/blog/my-trip-to-microservices-hell" rel="noopener noreferrer"&gt;our trip to "microservices hell"&lt;/a&gt;: the network tax, the observability tax, the eventual-consistency headache. For a human team they're an operational drag. For an AI agent they're a &lt;strong&gt;reasoning wall&lt;/strong&gt;, because the information it needs to be correct is precisely the information the architecture hides.&lt;/p&gt;

&lt;h2&gt;
  
  
  A modular monolith is an agent's best-case environment
&lt;/h2&gt;

&lt;p&gt;Flip every one of those and you get the modular monolith, with strong module boundaries inside a single deployable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One repository = one context.&lt;/strong&gt; The agent can load the whole picture: the call site, the function, the data model, the test, in one place. Repository-level understanding, the thing every 2026 agent is racing to do better, is trivial when there's one repository.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;In-process calls.&lt;/strong&gt; A call is a call: typed, traceable, refactorable. The agent can follow it and change both sides atomically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real transactions.&lt;/strong&gt; State is consistent &lt;em&gt;now&lt;/em&gt;, so the agent's mental model matches reality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One stack trace.&lt;/strong&gt; When a test fails, the agent sees the whole failure and can iterate, which is exactly how agentic coding loops work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The modular monolith keeps the &lt;em&gt;design&lt;/em&gt; benefit of microservices (clean separation, clear boundaries) while removing the &lt;em&gt;operational&lt;/em&gt; fog that both humans and agents trip on. You get roughly 90% of the architectural benefit at about 10% of the cost, and now there's a second reason it matters: it's the difference between an agent that can safely refactor your system and one that flails across repos it can't hold in its head.&lt;/p&gt;

&lt;h2&gt;
  
  
  "But our agents will just handle the complexity"
&lt;/h2&gt;

&lt;p&gt;The hope is that agents get good enough to manage distributed systems for us. Maybe, eventually. But today, handing an agent a microservices estate mostly multiplies the surface area where it can be confidently wrong, and distributed-systems bugs are the most expensive kind to be wrong about. Giving the agent a smaller, coherent world isn't a limitation; it's how you get &lt;em&gt;trustworthy&lt;/em&gt; output. The teams getting the most out of agents in 2026 aren't the ones with the most services. They're the ones whose codebase an agent can actually understand.&lt;/p&gt;

&lt;h2&gt;
  
  
  When you should still split (the rule hasn't changed)
&lt;/h2&gt;

&lt;p&gt;This isn't anti-microservices zealotry. Split a module into its own service when you have a &lt;strong&gt;clear, painful, obvious&lt;/strong&gt; reason: a component with a wildly different scaling profile, a hard security or compliance isolation boundary, or a team that genuinely must deploy on its own cadence. That's a refactoring step you &lt;em&gt;earn&lt;/em&gt;, not a starting point, and not a default you adopt because a conference talk said so. Start with the modular monolith; extract a service the day a specific module forces your hand, and not before.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;Microservices solved a human-team problem and charged an operational tax to do it. AI agents don't have the problem, yet they pay the tax twice, because the architecture hides exactly the context they need to reason. If you're rebuilding your team around AI agents in 2026, the highest-leverage architectural decision you can make is to give them a codebase they can hold in one head: a modular monolith.&lt;/p&gt;

&lt;p&gt;We build this way on purpose, on production systems where an agent (and a new senior engineer, and an auditor) can understand the whole thing. If that's the kind of software you need built, &lt;a href="https://beevr.ai/ai-development-company" rel="noopener noreferrer"&gt;here's how we do it&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;What's your experience letting agents loose on microservices vs a monolith? I'd genuinely like to hear where this breaks.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
