Skip to content

Advanced Learning and Facilitation for Robust Engineering and Development. An AI Assistant, to help with development and research.

License

Notifications You must be signed in to change notification settings

DigitalPhilosopher/Alfred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Assistant Application

A flexible AI chat application that integrates multiple language models with a user-friendly interface.

Overview

This application provides a desktop chat interface for interacting with AI language models, featuring:

  • Support for multiple AI providers (Anthropic Claude, OpenAI GPT)
  • User-friendly Tkinter-based interface
  • Automatic chat history saving
  • Real-time streaming responses
  • Extensible agent system

Installation

  1. Clone the repository:

  2. Install dependencies:

pip install -r requirements.txt
  1. Configure your environment variables: Create a .env file with your API keys:
ANTHROPIC_API_KEY=your_key_here
OPENAI_API_KEY=your_key_here

Usage

Run the application:

python assistant.pyw

Controls

  • Press Enter to send a message
  • Press Escape to exit
  • Use mouse wheel to scroll through chat history

Project Structure

├── agent/              # AI agent implementation
│   ├── agents/        # Agent classes
│   ├── strategies/    # AI provider strategies
│   └── functions/     # Tool functions
├── management/         # Application coordination
│   ├── ai_manager.py
│   └── chat_application.py
├── ui/                 # User interface components
├── assistant.pyw       # Main application entry
└── requirements.txt    # Project dependencies

Features

UI Components

  • Semi-transparent chat window
  • Message bubbles for user and AI responses
  • Auto-scrolling message view
  • Loading indicator
  • Automatic chat history saving

AI System

  • Multiple AI provider support
  • Hierarchical agent system
  • Real-time response streaming
  • Extensible tool functions
  • Comprehensive error handling

Management Layer

  • Seamless UI and AI integration
  • Centralized message processing
  • Flexible agent configuration

Dependencies

  • openai - OpenAI API integration
  • anthropic - Anthropic Claude API integration
  • python-dotenv - Environment configuration
  • tk - GUI framework

Contributing

[Add your contribution guidelines here]

License

[Add your license information here]

About

Advanced Learning and Facilitation for Robust Engineering and Development. An AI Assistant, to help with development and research.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages