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

Uploaded Python 3

File details

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

File metadata

  • Download URL: drip_duke_ai-1.2.0.tar.gz
  • Upload date:
  • Size: 50.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.2.0.tar.gz
Algorithm Hash digest
SHA256 87ca36e39645dc320f25876cecf6b947a7bda7549252b818d6206a9393721a60
MD5 0640dec740d414662bec576c6187bce0
BLAKE2b-256 b6a1434b50744378058b2ff0d5b4b3aba7971b1602b495e9a46349f1f214c9f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drip_duke_ai-1.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a754fc703274e973dbc70546561ed40547d9d2c74fc3d72a54e193cfc00190b
MD5 302ea88ac2861cbd02773a8131d65246
BLAKE2b-256 e8c097de56be7cbea876d897d8a80e112e526780a0123c38f1f7233fcdc07927

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