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.2.3.tar.gz (51.0 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.2.3-py3-none-any.whl (65.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drip_duke_ai-1.2.3.tar.gz
  • Upload date:
  • Size: 51.0 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.2.3.tar.gz
Algorithm Hash digest
SHA256 cdc9467a04c82f3ba45bb3dbf6082a03e50a93f617cd00a8e3c89ad9f876e759
MD5 162b9a9acd5bbe630508b1046b0ad1cf
BLAKE2b-256 11e66130b985c1220dc4e841457a8dd9579e7085e9052efbe2ae4deeaa930d4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drip_duke_ai-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 65.9 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.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8c9d2b10580357f741643bdc9928ca6bb78177f8ad2a47d554cd695a955e13f0
MD5 b8a8185740718673ed749a1399ae1dc1
BLAKE2b-256 50d765608394518eef1e3a84eabca84a5ba6c8dc282b518e23c416eba15532ce

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