Skip to main content

AI Hub Code

Assistente de IA no terminal do Termux (Android): converse com modelos gratuitos, rode tarefas de agentes, guarde memória e projetos, e abra um terminal remoto — tudo pelo seu servidor AI Hub, sem chave de API no celular.

✻ AI Hub Code  ·  streaming · avatar animado · /comandos

Instalação

Na primeira execução (aihub ou aihub setup) aparece a logo animada, a escolha de idioma, as etapas de instalação/configuração e a pergunta "Você confia nesta pasta?" (1 confiar e lembrar, 2 só desta vez, 3 sair). Idiomas: pt, en, es, fr, de, it, ru, zh, ja, ko, hi, tr (aihub lang, /lang); outros idiomas: crie ~/.config/aihub-code/lang/<código>.json com as chaves traduzidas (o que faltar cai para inglês). /model lista todos os modelos; escolha por número, nome ou auto.

pkg install -y python
pip install -q aihub-code
aihub setup && aihub login

Para atualizar: aihub update (confere a versão, instala em silêncio e mostra só as novidades). Da 0.2.2 ou anterior, rode uma vez pip install -q -U aihub-code.

Requisitos: Python 3.9+. Única dependência: websocket-client (terminal remoto).

Entrar

Como Comando
E-mail e senha aihub login
Link no e-mail (sem senha) aihub login --link (ou senha em branco)
Conta Google aihub login --google

A senha nunca é gravada. O cliente conversa apenas com o servidor do AI Hub: ele não guarda chaves de API nem endereços de provedores.

Uso

Digite aihub para abrir a interface interativa (resposta em streaming, /help lista os comandos).

Comando O que faz
aihub interface interativa com avatar animado
aihub chat [texto] conversa (--model, --project, --no-save)
aihub chat --web · /web on · /pesquisar <texto> responde pesquisando na web (mostra as fontes)
aihub tasks new/list/show/run/watch/cancel/pause/resume tarefas dos agentes (id aceita prefixo)
aihub notify avisa pelo Termux:API quando uma tarefa termina
aihub memory list/add/search/rm memória persistente
aihub projects list/add/rm projetos
aihub term terminal remoto (sair: Ctrl+])
aihub update [--check] atualiza ou só confere a versão
aihub status, models, history, whoami, logout utilitários

Dentro do aihub: /avatar think e /avatar run mostram a animação do avatar (anel laranja ao responder, arco-íris ao executar comandos).

Segurança

  • Só fala com o servidor do AI Hub, por HTTPS; qualquer outro endereço é recusado.
  • Sessão em ~/.config/aihub-code/session.json (modo 0600, pasta 0700).
  • Só modelos gratuitos aprovados no servidor; o cliente não escolhe provedores pagos.
  • Login com PKCE (link e Google): o código recebido só vale com um segredo que nunca sai do aparelho.

Licença: proprietária. Suporte: fale com o responsável pelo seu servidor AI Hub.

Metadata

Release files for aihub-code 0.2.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aihub-code 0.2.19
File Size Uploaded Provenance Actions
aihub_code-0.2.19.tar.gz 75.0 kB Without provenance Details for aihub_code-0.2.19.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aihub-code 0.2.19
File Interpreter ABI Platform Actions
aihub_code-0.2.19-py3-none-any.whl Python 3 none any Details for aihub_code-0.2.19-py3-none-any.whl

Total release size: 148.8 kB

Release files / aihub_code-0.2.19.tar.gz

Download URL aihub_code-0.2.19.tar.gz
Size 75.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ce6ad60c15f3e10465b5db958f0e2f19892d62b744b885992009cf0176ff1bda
BLAKE2b-256 checksum
How to use checksums
5b8fe50c0ae34ccf1a175a02d55490150c75be1b82d215ec8ba643e620b71e6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / aihub_code-0.2.19-py3-none-any.whl

Download URL aihub_code-0.2.19-py3-none-any.whl
Size 73.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
526831ee73fb5f9f2b2d6334456adf87c053392a893b9f1a3226a95e1d73f2da
BLAKE2b-256 checksum
How to use checksums
0c81cfbb94fe7e5a52895d67c4be6834346473380602aac6bc71eb6f4d90355f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for aihub-code 0.2.19

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.

Release history Release notifications | RSS feed

This release

0.2.19 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page