[PR #16285] Add an AI chat experience to Windows Terminal, powered by the user's Azure OpenAI resource #30891

Closed
opened 2026-01-31 09:43:37 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/16285

State: closed
Merged: Yes


Summary of the Pull Request

Adds an AI chatbot to Windows Terminal. Currently we do not ship with our own LLM, the user needs to provide their own Azure OpenAI subscription to be able to use this feature.

  • A new settings page has been added where the user can input their Azure OpenAI endpoint and key
  • A new palette has been added to the dropdown, called Terminal Chat
  • From Terminal Chat, the user can make queries to the provided endpoint for assistance with shell commands
  • We let the endpoint know about the user's current shell so that (hopefully) the commands received are relevant to the user's context
  • Received commands can be clicked from within the palette to be input into the user's active shell
  • The system prompt, alongside Azure OpenAI's in-built safeguards, should prevent strange/inappropriate replies from the LLM

Validation Steps Performed

image

References and Relevant Issues

#15000

PR Checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated
    • If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated (if necessary)
**Original Pull Request:** https://github.com/microsoft/terminal/pull/16285 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Adds an AI chatbot to Windows Terminal. Currently we do not ship with our own LLM, the user needs to provide their own Azure OpenAI subscription to be able to use this feature. - A new settings page has been added where the user can input their Azure OpenAI endpoint and key - A new palette has been added to the dropdown, called Terminal Chat - From Terminal Chat, the user can make queries to the provided endpoint for assistance with shell commands - We let the endpoint know about the user's current shell so that (hopefully) the commands received are relevant to the user's context - Received commands can be clicked from within the palette to be input into the user's active shell - The system prompt, alongside Azure OpenAI's in-built safeguards, should prevent strange/inappropriate replies from the LLM ## Validation Steps Performed ![image](https://github.com/microsoft/terminal/assets/26824113/7853f7b7-34ea-44cb-975d-4a476678e8c4) ## References and Relevant Issues #15000 ## PR Checklist - [ ] Closes #xxx - [ ] Tests added/passed - [ ] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [ ] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:43:37 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30891