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.0.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.0-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drip_duke_ai-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 755195989941dedc5c49392dc50fac4d87f4926ed6524c357f9d527f46971a4b
MD5 73d30c9ad50bf05f9ef7554298c004d7
BLAKE2b-256 8c9cfc31c32cb693273cda98f35c1ddb9a5c11b3a0b844b0c4929dd46d189f49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drip_duke_ai-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cdd5ca84987832c8ee087ff97bf3cb569f2bbb5a74a9cf1346ec81d9cc2c1fb
MD5 4654b8826d32e118bd1bcc8c92ab9e1b
BLAKE2b-256 de3fe4915b6fc381a81f53365b688ce5afd6f4030e3d28190118c972df42556e

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