Frequently Asked Questions

AI Agent Code Shipping & Verification

Is it safe to ship a codebase rewritten entirely by AI agents?

Shipping a codebase rewritten entirely by AI agents is possible, but only when there is a robust verification process in place. As highlighted in the Bun project, 535,000 lines of Zig were ported to Rust using 64 Claude agents, but the team relied on compiler errors as a distributed work queue and comprehensive test suites to validate the output. Without such a harness, shipping agent-generated code is risky. Verification must be explicit and thorough, as agents generate probable outputs, not guaranteed correct ones. Note: Agent-written code should only be shipped as far as you can verify it; for novel or loosely specified systems, human oversight remains essential. (Source: Sedai blog, July 2026)

What are the main risks of using AI agents to rewrite codebases?

The main risks include undetected regressions, loss of nuanced behavior, and over-reliance on probabilistic outputs. In the Bun rewrite, 19 known regressions made it into the final compiler, such as changes in debug assertions and format-string handling. These issues highlight that verification only catches what is explicitly specified in tests or specs. Without comprehensive coverage, subtle bugs can slip through. Note: Verification is harder for agent-written code than for human-translated code, as human review provides implicit QA. (Source: Sedai blog, July 2026)

How does Sedai help with optimizing AI agents in production?

Sedai provides autonomous optimization for AI agents, focusing on improving performance, reducing operational costs, and ensuring reliability. The platform automates repetitive tasks, rightsizes workloads, and proactively resolves issues before they impact users. Sedai's safety-by-design approach includes continuous health verification, automatic rollbacks, and incremental changes, making it suitable for production environments where safety and compliance are critical. Note: While Sedai optimizes agent operations, initial system design and specification still require human oversight. (Source: https://sedai.io/platform, Sedai Platform Overview)

Features & Capabilities

What are the key features of Sedai's autonomous cloud platform?

Sedai's platform offers autonomous cloud management, cloud cost optimization (up to 50% savings), application performance improvement (up to 75% latency reduction), release intelligence, proactive issue resolution, and full-stack cloud coverage across AWS, Azure, GCP, and Kubernetes. Safety-by-design features include continuous health verification, automatic rollbacks, and incremental changes. Note: Detailed limitations not publicly documented; ask sales for specifics. (Source: https://sedai.io/platform)

What integrations does Sedai support?

Sedai integrates with 12 APMs (including Prometheus, Datadog, AWS CloudWatch, Azure Monitor, Google Cloud Monitoring), Kubernetes autoscalers (HPA/VPA, Karpenter), IaC and CI/CD tools (GitHub, GitLab, Bitbucket, Terraform), ITSM tools (ServiceNow, PagerDuty, Jira), notification platforms, runbook automation, and major cloud providers (AWS, Azure, GCP). Note: Integration with other platforms may require custom configuration. (Source: Sedai Technology Overview, Sedai Two Page Kubernetes-Digital)

What security and compliance certifications does Sedai have?

Sedai is SOC 2 certified, demonstrating adherence to stringent security and data protection standards. This certification ensures compliance with industry requirements for handling sensitive information. Note: For more details, visit Sedai's Security page. (Source: Sedai Security Page)

Implementation & Ease of Use

How long does it take to implement Sedai, and how easy is it to get started?

Initial setup for Sedai can be completed in as little as 15 minutes using agentless or agent-based deployment. For AI Agent Optimization, implementation typically takes two to three weeks. For Databricks environments, setup can be completed in under 15 minutes. Customers report quick onboarding, seamless integration with existing tools, and minimal management burden due to Sedai's autonomous operation. Note: Implementation time may vary for complex or highly customized environments. (Source: Sedai Platform Overview, Sedai Two Page Kubernetes-Digital)

What support and documentation does Sedai provide for new users?

Sedai offers comprehensive onboarding resources, including getting started guides, Kubernetes and Databricks optimization documentation, and GPU optimization guides. Personalized onboarding sessions, extensive documentation, and a community Slack channel provide real-time assistance. Access documentation at docs.sedai.io/get-started. Note: Some advanced use cases may require direct support from Sedai's technical team. (Source: Sedai Documentation)

Pricing & Plans

How is Sedai priced, and what is included in the pricing model?

Sedai uses a resource-based pricing model, where costs are determined by the resources optimized and the value delivered. For Kubernetes environments, tailored pricing is available. All costs are transparently outlined on Sedai's pricing page, and discounts from cloud billing accounts (e.g., Reserved Instances, Savings Plans) are factored into calculations. A free Proof of Value and a 30-day free trial are available. Note: For specific pricing details, contact Sedai sales. (Source: Sedai Pricing Page)

Use Cases & Customer Success

What business impact can customers expect from using Sedai?

Customers can achieve up to 50% reduction in cloud costs, up to 75% reduction in application latency, up to 70% reduction in failed customer interactions, and up to 6X productivity gains for engineering teams. These outcomes are based on real-world deployments and case studies. Note: Actual results may vary depending on environment and implementation. (Source: Sedai Platform Page, Case Studies)

Can you share specific customer success stories with Sedai?

Yes. KnowBe4 achieved up to 50% cost savings and reduced average response time from 18.5 seconds to 80 milliseconds (99.5% reduction) using Sedai. Palo Alto Networks saved $3.5 million through Sedai's optimization. Belcorp reduced AWS Lambda latency by 77%, and Campspot achieved a 34% reduction in latency. For more, see Sedai's resources page. Note: Results are specific to each customer environment. (Source: Sedai Case Studies)

Which industries are represented in Sedai's case studies?

Industries include cybersecurity (Palo Alto Networks, KnowBe4), security awareness training (KnowBe4), beauty and personal care (Belcorp), travel and hospitality (Campspot), background check services (Inflection), and customer engagement software (Freshworks). Note: Industry-specific requirements may affect implementation details. (Source: Sedai Resources Page)

Pain Points & Differentiation

What core problems does Sedai solve for engineering and cloud teams?

Sedai addresses runaway cloud costs (up to 50% savings), performance bottlenecks (up to 75% latency reduction), operational toil (up to 6X productivity gains), proactive issue resolution (up to 70% reduction in failed interactions), multi-cloud complexity, and misaligned priorities between engineering and finance. Note: For teams with highly custom or legacy environments, some manual intervention may still be required. (Source: Sedai Buyer Personas, Platform Page)

How does Sedai's approach to safety differ from other cloud optimization tools?

Sedai is designed with safety-by-design principles, including continuous health verification, automatic rollbacks, and incremental changes. Unlike tools that make all-at-once optimizations, Sedai performs gradual, validated adjustments to avoid incidents and SLO breaches. This approach is patented and ensures safe, autonomous operation in production environments. Note: For environments with unique compliance requirements, additional validation may be necessary. (Source: Sedai Platform Page, Company Context)

Sedai now optimizes AI agents!

Read the news
Sedai Logo

Would You Ship a Codebase Rewritten Entirely by Agents?

Would You Ship a Codebase Rewritten Entirely by Agents?

Featured

The team behind Bun ported 535,000 lines of Zig to Rust in 11 days, with one engineer, 64 Claude agents running in parallel, roughly $165,000 in API costs, and compiler errors treated as a distributed work queue. 

The port is already running in Claude Code and Prisma's public beta. Zig's creator called it "unreviewed slop."

So I asked our engineering leaders: would you ship a codebase rewritten entirely by agents?


Shipping Codebases with Agents is the New Turing Test

Nikhil Gopinath Kurup (SVP of Engineering, ML)

Yes, I'd ship this one. And notice what the Bun team actually said: they gave the credit to the compiler, not the model. "Compiler errors as a work queue" is basically the whole story. They didn't trust the agents at all. They built a setup where every one of the ~1,300 lines a minute got checked mechanically, and the borrow checker doesn't care how good your prose is.

The way I think about it, this is really a Turing test. If you have a perfectly specified system, and a compiler is about as perfect as it gets, then the input is spec'd, the output can be verified from every angle, every claim in the spec has a test case, and there's already an implementation to diff against. Once you have all that, it stops mattering what's inside the box writing the code. Could be an army of interns, could be a few 100x engineers, could be 64 Claudes running for 11 days. If it swims like a duck and quacks like a duck, it's a duck. The author basically disappears into the verification.

You can see the edges of that in the fine print, though. 19 known regressions still made it into the final compiler and look at what they were: side effects inside a debug_assert that disappeared in release builds, bytemuck panicking where Zig used to silently truncate, comptime format-string behavior that got lost in translation. 

"Ship an agent-written rewrite as far as you can verify it."

Nikhil Gopinath Kurup Headshot

Nikhil Gopinath Kurup

SVP of Engineering, ML

None of those are memory bugs. The duck test only checks for the stuff that's actually in your spec. The compiler caught its whole class and was blind to the rest. That's why they also re-ran the exact same TypeScript test suite and put two adversarial Claudes on it: one trying to ship and one trying to break. Even with all that, some behavior still slipped through.

We did a smaller version of this ourselves recently. We had SDKs for our APIs in a few languages, a customer wanted a new one, and that is an almost perfect agent task. Translate from an existing SDK, re-run the same 100%-coverage test suites the other languages already had. Spec, reference, full coverage, clean duck test. The agent handled it well.

But I wouldn't reach for this everywhere. That SDK job worked because the spec, the reference, and the tests all existed first, and engineers built them. Everything before that point, speccing the system, designing it, deciding what's even worth building, reviewing whether it's right, is still on the engineers here, and I'm not looking to change that. 

Agents have made those people a lot faster. They're not going to replace them. Ship an agent-written rewrite as far as you can verify it. When you're writing the code and the thing that checks the code at the same time, that's still a person's job.


Shipping Faster With AI Is in Tension With Guaranteeing Quality

Ethan Andyshak (SVP of Product)

“The agents never had to be trusted, only checked.” This is the most important detail for me. Using agents to write code is efficient, but we're not at the point yet where we can safely ship all agent code without reviewing it. 

This is a challenge because reviewing code can be time-consuming: you have to read and understand what the agent did in order to figure out if it makes sense. Even when there's no AI involved, this process requires a non-trivial percentage of the time it takes to write the code. 

“If you try to fix AI problems with more AI, you might just be making a xerox of a xerox”

Ethan Andyshak Headshot

Ethan Andyshak

SVP of Product

If companies try to accelerate by using agents to write large code bases quicker than they can be reviewed by humans, humans are still a bottleneck in the workflow, and you can't achieve the full acceleration that you might want. 

As a result, we see new AI-driven tools coming out to take some of the burden of reviewing the code as well. At the end of the day, if you try to fix AI problems with more AI, you might just be making a xerox of a xerox — you're still losing some quality unavoidably.

In the future, we hope that the original agents writing code will have closer competence to senior developers, and that the peer review agents have the same critical eye as those senior developers' colleagues. Until then, while we're in this awkward growing pains phase, the pressure to ship code faster with AI remains in tension with the pressure to use human code review to guarantee quality.


Quality Still Takes Nuance and Iteration, Even Shipping With AI

Hari Chandrasekhar (SVP of Engineering, Core)

The single biggest advantage I take from the Bun story is the validated tests. That is probably the main reason they could ship an agentic migration with confidence. The procedure they outline is a good illustration of the nuance, iteration, and meticulous thought that actually goes into building a product at the quality bar people expect.

Expectations of AI systems and agents have skyrocketed, but it is still not magic. These systems think and act based on historical evidence and traces drawn from human experience and ideas. A genuinely new product or feature gets built on top of those ideas through repeated thought and improvement. Most successful products come from that additional process, and specialized products bring in niche concepts that make them stand out. The article shows how agentic systems can expedite the work, but the specialization and meticulous treatment were orchestrated by a human with the agent’s help.

“Expectations of AI systems and agents have skyrocketed, but it is still not magic.”

Hari Chandrasekhar

Hari Chandrasekhar

SVP of Engineering, Core

Building on Ethan’s “checked, not trusted” point: can we ship code that is entirely agent-built? Yes, if there is enough process and enough guardrails to guarantee the level of validation a product’s quality bar requires. Vibe coding is getting popular, and we have also heard reports of people taking backward steps. In areas with simple, known, already proven steps, vibe coding works, and more people without a technical background will be able to use it. 

But products with niche and fresh ideas need newer thinking and rigor. Agents will make that possible far faster, but it involves a dimension of human intelligence, experience, and thought that is not yet encoded or contextualized for current AI. Over time there will be an iterative process where the systems eventually learn it.

To summarize: can we ship code with agents? Yes, we are heading there. But there is a part of human intelligence, iteration, and thinking that is still required to orchestrate and set up the systems for high standards.


Why the Bun Rewrite Actually Worked

Suresh Mathew (CEO & Founder)

Would I ship a codebase rewritten entirely by agents? Yes, but with a big caveat.

It comes down to first principles here: The fundamental issue is you’re relying on a probabilistic engine. An LLM gives you the most likely output, not a correct one. So trust is off the table from the start, meaning verification must become everything.

"Take away that harness and I wouldn't ship it."

Suresh Mathew Headshot

Suresh Mathew

CEO & Founder

And verification is actually harder here than a human port. Humans reviewing code as they translate it is free QA. A million agent-written lines that nobody read? That checking has to be built explicitly. 

Bun had years of tests and a compiler enforcing exactly what they cared about. That’s why it worked. Take away that harness and I wouldn’t ship it.


Shipping agents is the first problem. Running them is the next. Sedai optimizes the agents you've already built. See how.

Want to know how AI agent optimization works? Read our guide.