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 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 | 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 | ||
| Custom Provider Experimental | API Key | ||
| DeepSeek Experimental | API Key | ||
| Google Gemini Experimental | API Key | ||
| Gemini Enterprise Agent Platform Experimental | Google Cloud CLI or Service Account Credentials |
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.