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.1.0.tar.gz (53.8 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.1.0-py3-none-any.whl (67.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drip_duke_ai-1.1.0.tar.gz
  • Upload date:
  • Size: 53.8 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.1.0.tar.gz
Algorithm Hash digest
SHA256 f630c037da5a468d7b0408ed7b0240e7d41cba366fec4c0d14bffcb4b3696a7f
MD5 560177cf053190e6a383f9e6aa7226ab
BLAKE2b-256 8702930b506ec6b90c2b68976a524769e02de000f1b43d0b331ec3ba8070804f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drip_duke_ai-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 67.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f96261046ee942a6d2b72fdcceb871d17b338c5ed54815181b55183bf536953c
MD5 7df228cba322a5e1d4a6367daf3bc14f
BLAKE2b-256 28e5cafc3e2179d84734e076fdaedb8c55ffdf9f3a52b02288e306ab6bdf8b96

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