Windows Copilot API is an unofficial Python project that exposes the consumer Microsoft Copilot web experience through a programmable interface. It can be used directly as a Python library or launched as a local server compatible with the OpenAI API format. The client supports streamed responses, multi-turn conversations, and conversation identifiers. Browser-based sign-in stores a reusable session and refreshes it automatically for later requests. Because compatible applications can target the local endpoint, existing OpenAI SDK workflows require few changes. The project runs on Windows, macOS, and Linux and also includes Docker configuration, tests, examples, and command-line tools. It relies on automation of the signed-in Copilot website and is not affiliated with Microsoft.

Features

  • Direct Python library interface
  • OpenAI-compatible local REST server
  • Streaming response support
  • Multi-turn conversation tracking
  • Reusable browser-authenticated sessions
  • Docker and cross-platform operation

Project Samples

Project Activity

See All Activity >

Categories

AI Agents

License

MIT License

Follow Windows Copilot API

Windows Copilot API Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Windows Copilot API!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python AI Agents

Registered

2026-07-16