Cursor is now enabling companies to run its advanced cloud agents directly within their own private infrastructure, a significant move designed to overcome the critical security, legal, and compliance hurdles that have hindered the widespread adoption of AI coding assistants in enterprise environments. This new offering allows businesses to leverage the full capabilities of Cursor’s AI coding agents, including code execution, testing, and complex development tasks, without compromising the integrity of their sensitive source code and proprietary data.
The decision to offer self-hosted agents comes as a direct response to escalating demand from enterprises, particularly those operating under stringent regulatory frameworks or handling highly confidential intellectual property. Previously, the effectiveness of AI coding agents was predicated on their access to a broad spectrum of systems, from private code repositories and internal dependencies to proprietary tools and build pipelines. However, granting such extensive access to external third-party services often clashed with robust security protocols, legal obligations, and compliance mandates governing data handling and intellectual property protection.
Cursor, a coding platform that recently achieved a valuation of $29.3 billion following a substantial $2.3 billion funding round in November, positions its self-hosted cloud agents as a solution that bridges this critical gap. By running these agents locally, companies can ensure that their codebase, tool execution environments, and build artifacts remain entirely within their own controlled perimeter. This architecture not only enhances security but also facilitates seamless integration with existing, often complex, development workflows.
Katia Baza, an engineer at Cursor, articulated the strategic advantage of this new offering in a company blog post. "Self-hosted agents offer all the benefits of cloud agents with tighter security control: your codebase, tool execution, and build artifacts never leave your environment," Baza stated. She further elaborated on the practical implications for development teams: "For teams with complex development environments, self-hosted agents have access to your caches, dependencies, and network endpoints – just like an engineer or service account would." This direct access to internal resources is crucial for AI agents to perform tasks with the same efficiency and context as a human developer, without the inherent risks of exposing internal systems to external networks.
Bringing AI Agents Closer to the Codebase
Cursor, developed by Anysphere, a startup founded by MIT alumni in 2022, has been at the forefront of developing AI-powered coding environments. Its core innovation lies in autonomous coding agents capable of managing extended software development tasks. These agents are designed for a high degree of autonomy, requiring a comprehensive development environment to operate effectively. Traditionally, Cursor’s cloud agents achieved this by provisioning isolated virtual machines on their own infrastructure. Within these environments, agents would clone repositories, install dependencies, implement code changes, and execute tests as part of their assigned tasks. This approach effectively "brought the code to the agent."
The introduction of self-hosted agents fundamentally reverses this paradigm, bringing the agents physically closer to the company’s existing code and systems. This architectural shift allows agents to interact directly with internal services, proprietary dependencies, and network-restricted resources without the need to route sensitive operations through external intermediaries or expose internal infrastructure. Cursor continues to manage the overarching coordination and orchestration of these agents, ensuring a cohesive and controlled AI development workflow.
A Growing Demand for Localized AI Execution
The impetus for Cursor’s self-hosted solution is clearly rooted in direct user feedback and market trends. For months, requests to self-host Cursor’s cloud agents have been a recurring theme in developer forums and community discussions. Platforms like the Cursor forum and Reddit threads reveal developers actively inquiring about running these agents within their own environments, driven by a desire to avoid external code exposure and to simplify connectivity with internal systems.
These discussions also highlight the nuanced understanding of "self-hosting" within the developer community. While running the core agent logic locally addresses a significant part of the security concern, managing aspects like orchestration, lifecycle management, and user interfaces presents a separate set of challenges. Cursor’s cloud agents integrate these components, making a fully independent, on-premises deployment complex. However, the self-hosted option addresses the most pressing need: keeping code execution and data within the company’s secure boundaries.

The implications for regulated industries, such as finance and healthcare, are profound. These sectors are typically bound by strict regulations that prohibit the sharing of source code or build environments with third-party services. Internal policies often further restrict the types of tools that can access sensitive code. Self-hosting directly mitigates these compliance risks.
While self-hosting removes a major barrier, it does not eliminate all operational considerations. Companies adopting this model will still be responsible for deploying and managing the underlying infrastructure where these agents operate. Furthermore, the strategic planning and coordination of agent tasks will continue to be managed by Cursor’s cloud-based platform, with only the execution phase taking place locally.
Beyond enterprise deployments, Cursor’s self-hosted agents also cater to a burgeoning interest in running coding agents on individual developer machines. This trend is exemplified by the recent surge in popularity of projects like OpenClaw, which focus on localized AI development tools. Cursor explicitly supports this use case in its documentation, stating: "Run Cursor anywhere – spin up a worker on your laptop, a devbox, or a remote VM. You get a Cloud Agent that uses your local environment, your dependencies, and your network access." This flexibility in deployment options significantly broadens the applicability of Cursor’s platform and removes a key impediment to wider adoption.
Current specifications indicate that self-hosted cloud agents support up to 10 workers per user and 50 per team, with options for larger, enterprise-wide deployments available upon request. Activation of self-hosted agents is managed through the Cursor dashboard following the setup of a worker in the designated target environment.
Navigating the Frontier of AI Development Tools
Cursor’s strategic expansion into self-hosted agents is part of a broader initiative to enhance the usability of its tools across a wider spectrum of enterprise environments, particularly those with previously insurmountable access restrictions. The company has been actively expanding its agentic capabilities, including the development of "always-on" agents designed for continuous tasks such as code reviews, bug triage, and other routine codebase management functions. Moreover, Cursor has open-sourced security-focused agent templates, empowering teams to meticulously define how agents interact with sensitive code and systems, thereby enhancing control and transparency.
These developments occur against a backdrop of intensifying competition. The AI development tool landscape is increasingly crowded, with formidable challenges arising from standalone coding assistance platforms and major AI model providers like OpenAI, Anthropic, and Google, all of whom are developing their own agent systems integrated with proprietary models.
This competitive pressure likely informs Cursor’s strategic decision to gain greater control over its technology stack. A notable example is the recent release of Composer 2, a proprietary model engineered to handle extensive coding tasks at a reduced cost. While this move aims to lessen reliance on third-party frontier models, it has also attracted scrutiny. Cursor acknowledged that Composer 2 is built upon Moonshot AI’s Kimi K2.5, a Chinese open-weights model, a detail that was not initially disclosed at launch, leading to concerns about transparency and potential supply chain dependencies.
For Cursor, the ongoing challenge lies in a dual-pronged strategy: differentiating its product in a crowded market while simultaneously dismantling barriers that limit its deployment and adoption. The company reports that its broader platform is currently utilized by over two-thirds of the Fortune 500. Early adopters of its self-hosted cloud agents include prominent companies like Notion and Brex, underscoring the significant demand among organizations with sophisticated infrastructure and stringent security requirements.
Ben Kraft, a software engineer at Notion, highlighted the impact of this new offering. "Self-hosted cloud agents are a meaningful step toward making coding agents enterprise ready," Kraft commented in the company’s blog post. He further explained, "In large codebases like Notion’s, running agent workloads in our own cloud environment allows agents to access more tools more securely and saves our team from needing to maintain multiple stacks." This sentiment reflects a broader industry recognition that for AI coding assistants to achieve true enterprise readiness, they must be adaptable to diverse and often restrictive operational environments. The ability to maintain full control over code execution and data access is paramount, and Cursor’s self-hosted agents appear to be a decisive step in meeting this critical demand.
