I built an agentic development system that lets Cursor control a self-hosted IDE connected directly to my database.
The database acts as the memory layer. The processing layer is an agentic harness centered around an OODA-style workflow: observe, orient, decide, act.
The goal is: let the agent plan, document, architect, code, test, and refine a project while constantly receiving feedback from its own IDE harness.
I built a custom IDE layer because Cursor has the best MCP extension ecosystem, but I wanted Cursor to orchestrate a larger self-hosted workflow instead of doing everything itself.
The system has two main modes: Architecture and Design.
The Architecture agent takes a simple idea and turns it into structured documentation, Mermaid diagrams, backend/frontend architecture, TLA specs, audits, and implementation plans.
Cursor then takes over the internal IDE and turns that architecture into a real codebase.
The workflow connects Cursor as the IDE controller, Ollama/local models for small iterative tasks, cloud/API models only when higher intelligence is needed, Claude Code through an iTerm2 terminal, an internal AgentOS workflow dashboard, and Buildkite, Docker, and launch pipelines for final validation.
The point is to spend less on inference and more on localized, structured building. Local models handle repetitive file-by-file work, while Cursor handles orchestration, cleanup, root updates, bash workflows, final integration, and approval once the design is implemented.
The result is a self-hosted app-building system that turns a simple idea into a full-stack desktop app demo in hoursโfrom idea to architecture, docs, codebase, tests, Docker, and launch.
This is the workflow I wanted: full-stack apps built end-to-end by a self-hosted agentic IDE pipeline.