Aidetour is a Python application that allows users to interact with Anthropic's Claude models using the same interface as the OpenAI API. Although it mimics the OpenAI API endpoints, Aidetour does not actually use or require an OpenAI API key. Instead, it translates the requests and responses between the two APIs, enabling users to access Claude's capabilities through a familiar interface.
Aidetour requires your Anthropic API key to function, as it communicates directly with the Anthropic Claude API behind the scenes.
- Seamless integration between a facade/mimicked OpenAI API and the real Anthropic Claude API
- Support for multiple Claude models:
- Opus: claude-3-opus-20240229
- Sonnet: claude-3-sonnet-20240229
- Haiku: claude-3-haiku-20240307
- A graphical user interface (GUI) for both macOS and Windows
- A command-line interface (CLI) mode for terminal usage
- A timestamped chat log of your requests plus Claude's responses, as pairs of "Me:" and "AI:"
- Logging functionality for tracking application events and errors
-
Clone the repository:
git clone https://github.com/yourusername/Aidetour.git
-
Navigate to the project directory:
cd Aidetour
-
Install the required dependencies:
pip install -r requirements.txt
-
For macOS, run:
python Aidetour.py
-
For Windows, run:
python Aidetour.py
The application will start with a system tray or menu bar icon. Click on the icon to access this app's menu options:
- Status: Pings the local API server displays its status, as well as any other messages.
- Settings: To change the local API server's listening IP and port, your Anthropic API key, a list of available Claude 3 models.
- Log: Opens the app log file.
- Video: Opens a YouTube video about Aidetour.
- Quit: Quits the application.
To run Aidetour in CLI mode, use the --cli
flag:
python Aidetour.py --cli
The application will start the API server and listen for incoming requests.
If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more information.