Skip to content
Engineering

Cloud-Based Coding Agents: How DoorDash Automates Engineering Tasks

DoorDash's Flux platform automates engineering tasks in the cloud, enhancing efficiency and security for developers.

Topic
Engineering
Reading time
5 min
Length
1,000 words
Published
Sep 2, 2026
03:25 pm IST
In this article
  1. Why Cloud-Based Agents Matter
  2. How Flux Works
  3. Security and Control
  4. Real-World Applications
  5. What I'd Do on Monday
  6. Limitations and Considerations

DoorDash’s transition from local to cloud-based execution for engineering tasks marks a significant shift in how coding agents can be utilized to enhance both efficiency and security. The company’s Flux platform has automated an impressive 130,000 engineering tasks in a single month, showcasing the potential of cloud-based systems to transform developer workflows.

Why Cloud-Based Agents Matter

DoorDash developed Flux to overcome the limitations associated with executing agent workloads on individual developer laptops. Local execution often hits a wall with CPU and memory availability, and it requires the developer's device to stay connected. Moreover, it can inadvertently expose credentials and internal systems, complicating security monitoring and control. With local execution, it becomes challenging to monitor where agents are running, which systems they access, and on whose behalf they operate. This lack of visibility and control can introduce vulnerabilities and inefficiencies in the development process.

With Flux, these limitations are addressed by moving tasks to the cloud. The platform supports over 25,000 automated code reviews weekly, utilizing more than 300 playbooks and over 10,000 weekly invocations. This allows workflows to run unattended and in parallel, freeing up developers to focus on more strategic work. The ability to run these workflows in parallel is particularly advantageous, as it maximizes resource utilization and minimizes waiting times for task completion.

How Flux Works

Flux is built around four key components: cloud sandboxes, an MCP gateway, reusable playbooks, and invocation surfaces. Here's a closer look at each:

  • Cloud Sandboxes: These use Firecracker micro-VMs to isolate agent workloads, ensuring that each task is executed in a secure and controlled environment. The setup time for these sandboxes is impressively fast, with a 95th percentile service level objective of under five seconds for end-to-end configuration. This rapid setup includes starting the microVM, cloning repositories, installing build tools, and configuring the coding agent harness, allowing for swift execution of tasks.
  • MCP Gateway: This in-house gateway controls access to internal systems, providing scoped permissions and logging agent activity for auditing and policy enforcement. By managing permissions and maintaining detailed logs, the MCP Gateway plays a crucial role in ensuring security and compliance within the platform.
  • Reusable Playbooks: Defined in YAML, playbooks specify tasks, required tools, permissions, and safety boundaries. They can combine agent-driven steps with deterministic code to ensure predictable execution. This flexibility allows for a wide range of tasks to be automated, from simple to complex workflows.
  • Invocation Surfaces: Workflows can be initiated through various interfaces such as Slack, GitHub, cron, the command line, or conversational interfaces, providing flexibility in how tasks are triggered. This multiplicity of invocation surfaces ensures that the platform can integrate seamlessly into existing workflows and tools.

Security and Control

Security is a major concern when dealing with coding agents, especially when they access internal systems. DoorDash's approach ensures that agents operate within strict security guardrails. The use of sandboxes isolates tasks, reducing the risk of unauthorized access. The MCP gateway further enhances security by managing permissions and maintaining detailed logs of agent activity. This comprehensive security model allows DoorDash to confidently expand the use of coding agents across various tasks without compromising on safety.

Radoslav Krehlik, a security architect, emphasized the importance of these controls in a LinkedIn post, highlighting the shift from model choice to control aspects like identity, permissions, sandboxing, audit logs, and having a real kill switch. This focus on security is crucial for maintaining trust and integrity in automated workflows. The ability to quickly terminate any agent activity with a real kill switch provides an additional layer of security, ensuring that any potential issues can be swiftly addressed.

Real-World Applications

Initially, DoorDash used Flux for automated code reviews, a frequent and measurable workflow. The platform has since expanded to handle CI triage, on-call tasks, maintenance workflows, and ticket-driven development. This expansion demonstrates Flux's versatility in managing various engineering tasks efficiently. By automating these routine tasks, engineers are able to focus on more complex problem-solving and innovation, thereby increasing overall productivity.

Additionally, the shift from private Slack channels to public threads for integration allows engineers to observe agent executions and review results. This transparency fosters collaboration and knowledge sharing among teams, further enhancing productivity. Engineers can learn from each other’s experiences and approaches, leading to improved practices and more effective use of the platform.

What I'd Do on Monday

For those maintaining production codebases, the transition to cloud-based coding agents offers several actionable steps:

  • Assess Your Current Workflows: Identify tasks that are repetitive and time-consuming, which could benefit from automation. This assessment should consider not only the time savings but also the potential for reducing errors and improving consistency across workflows.
  • Explore Cloud-Based Solutions: Consider platforms like Flux or similar solutions that offer cloud sandbox environments to execute tasks securely. Evaluate the features and capabilities of these platforms to ensure they meet your organization’s specific needs and requirements.
  • Implement Security Measures: Ensure that your automation tools have robust security features in place, including isolation, permissions management, and logging. Regularly review and update these measures to address emerging threats and vulnerabilities.
  • Encourage Team Collaboration: Use public channels or threads for task executions to promote transparency and learning opportunities among team members. Foster an environment where team members feel comfortable sharing insights and best practices.

Limitations and Considerations

While the benefits of cloud-based coding agents are clear, there are limitations and trade-offs to consider:

  • Initial Setup Costs: Shifting to cloud-based systems may involve initial setup costs and a learning curve for teams unfamiliar with the technology. Organizations should plan for these costs and provide adequate training and support to ensure a smooth transition.
  • Dependency on Cloud Providers: Relying on cloud services can lead to vendor lock-in and potential issues with service availability or cost changes. It is important to evaluate the long-term implications and consider strategies for mitigating these risks.
  • Security Risks: While security features are robust, cloud-based systems are still susceptible to breaches if not properly configured and monitored. Regular audits and updates to security configurations are essential to maintaining a secure environment.

Sources

DoorDash’s Flux Runs 130,000 Engineering Tasks Through Cloud-Based Agents

Every claim above was checked against this source before publishing. The analysis, the code and the opinions are mine.

Frequently asked

What is the main advantage of using DoorDash's Flux platform?

Flux automates engineering tasks in the cloud, offering greater efficiency and security compared to local execution on developer laptops.

How does Flux ensure security for its automated workflows?

Flux uses cloud sandboxes to isolate tasks, an MCP gateway for permissions, and logs agent activity for auditing, ensuring secure operations.

Can Flux handle tasks beyond automated code reviews?

Yes, Flux has expanded to manage CI triage, on-call tasks, maintenance workflows, and ticket-driven development.

Deepak Kumar

Written by

Deepak Kumar

Sr Software Engineer at India Today Group | Aaj Tak · MERN Stack · Generative AI

I build production web applications and Generative AI systems — React and Next.js on the front, Node.js and RAG pipelines behind them. I write here about what those systems actually do once real traffic hits them.

Message me