Version: v1.2.3 | Status: Active | Last Updated: March 2026
The IDE module provides programmatic integration and automation capabilities for various Integrated Development Environments. This enables AI agents to achieve maximum agentic operation of IDEs themselves, allowing sophisticated control and automation of development workflows.
- Each IDE integration is self-contained in its own submodule
- Common functionality abstracted to base classes
- Clear interfaces between IDE-specific and generic code
- Consistent API patterns across all IDE integrations
- Unified error handling and logging
- Standardized configuration management
- Minimal dependencies per integration
- Lean implementations focused on essential functionality
- Efficient resource usage
- Real, working integrations (no mocks)
- Comprehensive IDE control capabilities
- Production-ready implementations
- Unit tests for each integration
- Integration tests with actual IDE instances where possible
- Mocked external services only when unavoidable
- Complete API documentation
- Usage examples for each integration
- Integration guides and tutorials
graph TD
subgraph sg_59c232f3c1 [IDE Module]
IDEBase[ide_base.py<br/>Base Classes]
subgraph sg_090512d93f [Integrations]
Antigravity[antigravity/<br/>Antigravity IDE]
Cursor[cursor/<br/>Cursor IDE]
VSCode[vs-code/<br/>VS Code]
end
end
subgraph sg_1d609d050e [Codomyrmex Core]
Logging[logging_monitoring]
Config[config_management]
Agents[agents]
end
IDEBase --> Antigravity
IDEBase --> Cursor
IDEBase --> VSCode
Antigravity --> Logging
Cursor --> Logging
VSCode --> Logging
Antigravity --> Config
Cursor --> Config
VSCode --> Config
Antigravity --> Agents
Cursor --> Agents
VSCode --> Agents
- Connection Management: Connect to and manage IDE instances
- File Operations: Create, read, update, delete files via IDE
- Editor Control: Navigate, select, edit text in editors
- Terminal Integration: Execute commands in integrated terminals
- Extension Management: List, enable, disable extensions
- Task Boundaries: Manage task state and boundaries
- Artifact Management: Create and manage artifacts
- Browser Automation: Control embedded browser
- Tool Invocation: Call Antigravity tools programmatically
- Composer Automation: Automate Cursor Composer
- Rule Management: Manage .cursorrules files
- Model Configuration: Configure AI model settings
- Chat Integration: Interact with Cursor chat
- Command Execution: Execute VS Code commands
- Workspace Management: Manage workspaces and settings
- Debug Control: Start, stop, manage debug sessions
- Task Automation: Run and manage VS Code tasks
class IDEClient(ABC):
@abstractmethod
def connect(self) -> bool: ...
@abstractmethod
def disconnect(self) -> None: ...
@abstractmethod
def get_capabilities(self) -> dict: ...
@abstractmethod
def execute_command(self, command: str, args: dict = None) -> Any: ...
@abstractmethod
def get_active_file(self) -> Optional[str]: ...
@abstractmethod
def open_file(self, path: str) -> bool: ...- Type hints on all public APIs
- Docstrings following Google style
- Comprehensive error handling
- Logging at appropriate levels
- ≥80% code coverage
- Unit tests for all public methods
- Integration tests where feasible
- Performance benchmarks for critical paths
- Human Documentation: README.md
- Technical Documentation: AGENTS.md
- Repository Root: ../../../README.md
- Repository SPEC: ../../../SPEC.md