Skip to content

cleesmith/Aidetour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aidetour

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.

Key Features

  • 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

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/Aidetour.git
    
  2. Navigate to the project directory:

    cd Aidetour
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    

Usage

GUI Mode

  • 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.

CLI Mode

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.

Configuration

Contributing

If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Acknowledgements

Releases

No releases published

Packages

No packages published

Languages