Skip to main content

Assistente desktop com suporte a multiplos provedores de IA

Project description

Duke AI Chatbot

Assistente desktop com interface moderna, suporte a multiplos provedores de IA e modo automatico com ferramentas.

Funcionalidades

  • Provedores ilimitados: OpenAI, Anthropic (Claude), Google Gemini, Ollama (local), OpenRouter + qualquer API compativel com OpenAI (DeepSeek, Mistral, Groq, Together AI, Perplexity, xAI/Grok, etc.)
  • Streaming em tempo real: Respostas aparecem caractere por caractere
  • Modo Auto: Duke AI pode executar ferramentas (arquivos, comandos, web, sistema)
  • Historico SQLite: Busca rapida com FTS5, exportacao (txt, md, json, pdf)
  • 9 temas visuais: Duke Dark/Light, Nord, Dracula, Matrix, Cyberpunk, Solarized, Tokyo Night, Catppuccin
  • Auto-tema Windows: Segue o tema claro/escuro do sistema
  • TTS: Leitura em voz alta das respostas
  • Plugins customizados: Extensivel via JSON
  • API keys criptografadas: Armazenamento seguro com Windows Credential Manager

Requisitos

  • Python 3.10+
  • Windows (usa pywin32, winsound, winreg)

Instalacao

git clone https://github.com/SEU_USUARIO/duke-ai.git
cd duke-ai
pip install -r requirements.txt
python main.py

Ou use start.bat ou start.ps1.

Atalhos

Atalho Acao
Ctrl+N Nova conversa
Ctrl+W Deletar conversa
Ctrl+E Exportar conversa
Ctrl+T Toggle TTS
Ctrl+L Limpar chat
Ctrl+M Minimizar para bandeja
Ctrl+, Abrir configuracoes
Enter Enviar mensagem
Shift+Enter Nova linha

Testes

python -m pytest tests/ -v

Estrutura

duke-ai/
├── main.py                 # Ponto de entrada
├── core/                   # Nucleo
│   ├── ai_manager.py       # Gerenciador de provedores
│   ├── conversation.py     # Gerenciador de conversas (SQLite + FTS5)
│   ├── plugin_manager.py   # Plugins customizados
│   ├── secure_config.py    # Criptografia de API keys
│   ├── logging_setup.py    # Configuracao de logging
│   └── providers/          # Provedores de IA
├── agents/                 # Agentes
│   ├── base_agent.py       # Classe base
│   ├── chat_agent.py       # Modo chat
│   ├── auto_agent.py       # Modo automatico
│   └── tools/              # Ferramentas
├── ui/                     # Interface grafica
│   ├── app.py              # Janela principal
│   ├── theme_manager.py    # Gerenciador de temas
│   └── components/         # Widgets
├── data/                   # Dados locais
│   ├── config.json         # Config (keys criptografadas)
│   ├── conversations.db    # Historico SQLite
│   └── plugins/            # Plugins .json
├── tests/                  # Testes
└── requirements.txt        # Dependencias

Licenca

MIT - Baseado em JARVIS AI Chatbot

Autor

Drip Duke

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drip_duke_ai-1.0.2.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drip_duke_ai-1.0.2-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

Details for the file drip_duke_ai-1.0.2.tar.gz.

File metadata

  • Download URL: drip_duke_ai-1.0.2.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for drip_duke_ai-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9578f9d74ac51ad47f3979290883c01f0b29d0976530813f2bfb8ba5216c6662
MD5 e1af73237a67be4b93f415cb3f2f2605
BLAKE2b-256 dfc014fbd2136e134d8b87b33fd4451aa412d3d61e1cdb851e6b169d7446b63b

See more details on using hashes here.

File details

Details for the file drip_duke_ai-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: drip_duke_ai-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for drip_duke_ai-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d212088089fc0c9efc52ad669f07c0a8a2c8c42cc878d6d4d69b3a5f8a979ac4
MD5 8185ef3bc09a3517f1b83586f397c799
BLAKE2b-256 8a1203344488efa7d396298b26db05224722d4dbbf40cdcf3d7b4d181492f101

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page