Connect a model to answer questions about your code and carry out tasks in your workspace.
Workspace agent
The agent can inspect selected code, files, and terminal output to answer questions or carry out instructions in the workspace.
- Let the agent inspect files and terminal output, make edits, or navigate the workspace.
- Review its text changes with normal editor tools. Edits can be undone and stay unsaved until you save them.
- Choose whether actions run directly, ask before possible data loss, or wait for your review each time.
Model providers
Connect a model using an API key, an existing Codex sign-in, or a compatible local service.
- Connect OpenAI, Claude, Gemini, xAI, DeepSeek, OpenRouter, or a custom service with an OpenAI-compatible interface.
- Use your existing Codex sign-in with Codex installed on your machine.
- Editing, terminals, and controller navigation work without an AI account.
The provider receives the code, terminal output, and other information sent to the agent. Usage charges depend on your provider.