Reverse EdgeGPT
Free5.3k
FreeFree tier
Inputs: textOutputs: text
About Reverse EdgeGPT
EdgeGPT is an open source Python library that reverse engineers the chat feature of Microsoft's new Bing AI (Bing Chat). It allows developers to programmatically interact with Bing's conversation AI by providing a simple interface for sending messages and receiving responses. The library supports multiple conversation styles (creative, balanced, precise) and includes both a Python API and a command-line interface. Authentication is handled via browser cookies from a Microsoft account with access to Bing Chat. The project is now archived and no longer maintained.
Key Features
Reverse engineered Bing Chat API
Python package installable via pip (EdgeGPT)
Supports creative, balanced, and precise conversation styles
Command-line interface with various options (non-streaming, rich output, proxy, etc.)
Cookie-based authentication using Microsoft Edge browser session
Requires Python 3.8+
Open source (MIT license) - archived and read-only
Pros & Cons
Pros
- Free and open source with permissive MIT license
- Enables API-like access to Bing Chat without official API
- Easy installation via pip
- Multiple conversation styles to adjust response tone
- Includes both Python API and command-line tool
- Detailed setup instructions for cookie collection
Cons
- Archived and no longer maintained by the original author
- Requires manual cookie setup from Microsoft Edge browser
- Authentication can be inconsistent depending on region and IP address
- May break if Microsoft changes the underlying Bing Chat API
- Dependency on a Microsoft account with access to Bing Chat
- Not a stable or officially supported API
Best For
Programmatic access to Bing Chat for custom applicationsBuilding chatbots and virtual assistants powered by Bing AIAutomating conversations and content generation with BingResearch and analysis of Bing's conversation AI capabilitiesTesting and experimentation with reverse engineered API
FAQ
What is EdgeGPT?
EdgeGPT is an open source Python library that reverse engineers the chat feature of Microsoft's Bing AI. It provides a way to interact with Bing Chat programmatically.
How do I install EdgeGPT?
You can install it via pip: python3 -m pip install EdgeGPT --upgrade. Requires Python 3.8+.
Do I need a Microsoft account to use EdgeGPT?
In some regions, Microsoft has made Bing Chat available without logging in. However, if authentication is required, you need a Microsoft account with access to bing.com/chat and must provide browser cookies.
How do I set up cookies for authentication?
Use Microsoft Edge browser to visit bing.com/chat, install a cookie editor extension, export cookies as JSON, and save them to a file named bing_cookies_*.json. Then pass the cookies to the Chatbot.create() method.
What conversation styles are supported?
EdgeGPT supports three styles: creative, balanced, and precise. These can be set via the --style flag on the command line or through the API.
Is EdgeGPT still maintained?
No, the repository was archived on August 3, 2023. It is now read-only and no longer actively maintained.