Codity Agent
Codity's coding agent in your editor. It plans, edits and runs commands in your workspace, and every change it proposes opens as a native diff you accept or reject. Your organization's policies, team memory and Codity credits apply in the editor exactly as they do in the codity CLI.
Requirements
- VS Code 1.90 or later, or an editor built on it (Cursor, Windsurf, VSCodium).
- The Codity CLI 2.8.0 or later, signed in with
codity login. The extension runs the agent through the CLI, so it uses your account, your organization and your team's settings.
If the CLI is missing or too old, the panel says so and links to the fix.
Getting started
- Install the Codity CLI and run
codity login.
- Open a folder or workspace.
- Open the Codity panel from the activity bar, or press
Ctrl+Escape.
- Ask for what you want built, fixed or explained.
What it does
- Chat with an agent that works in your workspace. It reads files, edits them and runs commands, asking before anything your policy does not already allow.
- Review every edit in a diff. Each change opens beside your file; accept or reject it, or turn on Accept edits to let edits through while commands still ask.
- Plan, then build. Plan mode reads and proposes without changing anything; Build this plan hands the plan to the agent.
- Auto model routing. Auto picks a model per task;
codity.routerMode decides whether it favours cost, balance or intelligence.
- Codity credits or your own keys. Model calls are billed to your organization's Codity credits when funded, or use this machine's provider keys.
- Team memory and team policy. The agent follows your team's conventions and known issues, and your organization's and team's permission rules and hooks apply to every session. Switch team policy from the panel.
- MCP servers.
/mcp lists the servers the agent can use. Add a remote server by URL or a local one by command, for this session, this project (.mcp.json) or all your projects (~/.codity/mcp.json). Servers that need OAuth offer Sign in. A project's servers start only after you approve what they run. Server prompts appear in the / menu, and server resources can be attached to a message. Your organization's policy decides which servers are allowed.
- Remote control. Continue a session from your phone: turn on Remote control and scan the QR code. The phone shows the same chat and can send messages, answer prompts, switch models and stop a turn. While it is on, what the chat shows passes through Codity.
- Editor context. The agent can read the editor's problems, your open files and your selection. Fix with Codity is offered on problems, and Explain Selection on selected code.
- Sessions. Pick up earlier sessions from history, rename them, open a session in its own tab, or compact a long conversation.
Commands
| Command |
Default key |
| Codity: Focus Agent |
Ctrl+Escape |
| Codity: Open in New Tab |
Ctrl+Shift+Escape |
| Codity: Add Selection to Chat |
Alt+K |
| Codity: New Chat, New Session, Session History, Rename Session |
|
| Codity: Add File to Chat, Explain Selection, Fix with Codity |
|
| Codity: Stop the Running Turn, Restart Agent, Compact Conversation |
|
| Codity: MCP Servers, Remote Control, Switch Team Policy, Choose Workspace Folder |
|
| Codity: Open Run in Dashboard, Show Agent Log, Open Agent in Terminal |
|
Settings
| Setting |
Default |
What it does |
codity.cliPath |
codity |
Path to the Codity CLI. Only user or machine settings can change it, never a workspace. |
codity.routerMode |
balance |
Auto routing priority: cost, balance or intelligence. |
codity.billing |
auto |
auto uses Codity credits when funded, otherwise this machine's provider keys. |
codity.autoAttachSelection |
true |
Attach the active file and selection to each message. |
codity.reviewEdits |
true |
Open a diff for each edit so you can accept or reject it. |
codity.notifications |
true |
Notify when a turn finishes or the agent needs a decision while the panel is hidden. |
codity.useTerminal |
false |
Use the agent's terminal interface in an integrated terminal instead of the panel. |
codity.editorTools |
true |
Let the agent read diagnostics, open files and your selection through a local server only it can reach. |
Privacy
The agent sends your prompts and the code it reads to the model provider your organization uses, through Codity. Session events are recorded for your organization's dashboard. See the privacy policy and terms.
Support
Documentation: https://www.codity.ai/documentation
| |