Get started
To use AI in Positron, first configure a language model provider, then start using AI features such as Posit Assistant. Follow the steps below to get set up.
Step 1: Configure a language model provider
Positron enables all providers by default and they appear in the provider list, but none are active unless you authenticate with the provider. To hide providers you do not use, see Turn a provider on or off.
To connect a provider, run the command Authentication: Configure Language Model Providers, select the provider, and authenticate. For account requirements, authentication details, and any settings to configure first, see the Language Model Providers reference.
| Provider | Chat | Code Completions | Authentication |
|---|---|---|---|
| Posit AI Pass | OAuth | ||
| Amazon Bedrock | AWS CLI or Posit Workbench Managed Credentials | ||
| Anthropic | API Key | ||
| Microsoft Foundry | API Key or Workbench Managed Credentials | ||
| OpenAI | API Key | ||
| Snowflake Cortex | API Key or Workbench Managed Credentials | ||
| GitHub Copilot Preview | OAuth | ||
| Databricks Experimental | OAuth, Personal Access Token, Environment Variable, CLI Profile, or Workbench Managed Credentials | ||
| DeepSeek Experimental | API Key | ||
| Google Gemini Experimental | API Key | ||
| Gemini Enterprise Agent Platform Experimental | Google Cloud CLI or Service Account Credentials |
You can also connect additional, named providers of your own beyond this list. See Custom providers.
Please ensure you consult your provider’s privacy policy for information on the data they collect and how they use it. For reference links, see the Privacy & Terms guide.
For information on what information is collected by Posit, review Posit’s privacy policy.
Step 2: Use AI in Positron
With a language model provider configured, you can use AI throughout Positron. To start a chat, run the View: Show Posit Assistant command in the Command Palette to open the chat panel.
Posit Assistant
Chat about your code, Console sessions, and in-memory objects.
Code completions
Get inline code suggestions as you type in the editor or a notebook.
All AI features
Learn more about AI features in Positron.
To control which AI features are active, or to turn them off, see Configure AI features.