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
Metadata
Release files for drip-duke-ai 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| drip_duke_ai-1.2.3.tar.gz | 51.0 kB | Without provenance | Details for drip_duke_ai-1.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drip_duke_ai-1.2.3-py3-none-any.whl | Python 3 | none | any | Details for drip_duke_ai-1.2.3-py3-none-any.whl |
Total release size: 116.9 kB
Release files / drip_duke_ai-1.2.3.tar.gz
| Download URL | drip_duke_ai-1.2.3.tar.gz |
|---|---|
| Size | 51.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdc9467a04c82f3ba45bb3dbf6082a03e50a93f617cd00a8e3c89ad9f876e759
|
|
BLAKE2b-256 checksum How to use checksums |
11e66130b985c1220dc4e841457a8dd9579e7085e9052efbe2ae4deeaa930d4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / drip_duke_ai-1.2.3-py3-none-any.whl
| Download URL | drip_duke_ai-1.2.3-py3-none-any.whl |
|---|---|
| Size | 65.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c9d2b10580357f741643bdc9928ca6bb78177f8ad2a47d554cd695a955e13f0
|
|
BLAKE2b-256 checksum How to use checksums |
50d765608394518eef1e3a84eabca84a5ba6c8dc282b518e23c416eba15532ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Security for drip-duke-ai 1.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.