cursor agent
Basic Information
Cursor Agent Tools is a Python library that implements an AI coding assistant inspired by Cursor. It provides a packaged agent and tooling to generate, edit, analyze, and interact with code using remote models like Anthropic Claude and OpenAI as well as locally hosted Ollama models. The repository includes an agent factory, model-specific agent classes, a permission system for safe file and command operations, interactive mode for multi-step tasks, and a suite of built-in tools for file operations, searches, image queries, and running terminal commands. The project ships examples, tests, and documentation to help developers create custom agents, register tools, and integrate project context such as open files and cursor position. It is intended for developers who want a project-aware conversational coding assistant or a programmable agent that can operate on a local codebase while calling external models.