Skip to content
JoseRFJuniorLLMsPublic

About

NeuralIA

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

NeuralIA

NeuralIA

The browser without the browser.

Search with AI. Read the Web. Open a full page only when you actually need it.

What NeuralIA is

NeuralIA v3.2.5 is an AI-first, reader-first, system-WebView information client written in Rust.

It deliberately refuses the usual browser arms race. It does not ship Chromium, does not implement its own JavaScript engine, does not carry a local LLM, and does not recreate a full browser tab strip just to prove that rectangles can multiply.

native Rust home
      │
      ├── question ─────────► Gemini + ChatGPT + Claude ─┐
      ├── ask:/? ───────────► Google AI Mode ────────────┤
      ├── URL ──────────────► Reader ────────────────────┼► lazy system WebView2
      └── web:<URL> ────────► full page ─────────────────┘

Uma pergunta normal abre o comparador de três IAs e é enviada de verdade às três superfícies: Gemini, ChatGPT e Claude. ask: ou ? limita a consulta ao Google AI Mode quando o utilizador quer um único fornecedor. A Home não dispara nenhuma consulta sozinha.

No comparador, links externos abrem em Split View ao lado da IA que gerou a fonte; fechar a gaveta devolve a comparação sem perder o contexto. O chrome nativo tem duas faixas: no topo, como Chrome/Edge, ficam as abas/fontes e os controles minimizar/maximizar/fechar; abaixo ficam Home, Gemini, ChatGPT, Claude, os botões +, Privado e controles de Split View. O + da faixa superior abre uma página Web independente na esquerda do comparador; essa página ainda não oferece abas Web simultâneas e persistentes. Os + das colunas de IA mantêm a seleção de provedor. A barra de endereço do topo continua abrindo URLs em abas de contexto, sem sair do comparador. O novo painel Áudio das IAs detecta leituras de ChatGPT, Gemini e Claude quando ativado e permite exportação MP3 sob ação do usuário. O clique direito numa aba abre um menu nativo com abrir, tela cheia, fechar, fechar outras e fechar todas do grupo.

NeuralIA 2.0: memória, pesquisa e agente controlado

A linha 2.0 acrescenta uma camada local de conhecimento sem transformar a Home num processo de inferência permanente.

  • Memória semântica local: conhecimento durável em arquivos, espelho SQLite/FTS5 derivado, entidades, relações, embeddings determinísticos offline e fusão de ranking. Conteúdo privado/incógnito é descartado antes da persistência e segredos conhecidos são redigidos.
  • Research Sessions: perguntas, respostas de Gemini/ChatGPT/Claude e fontes mantêm proveniência. research:compare, research:synthesize e research:export comparam, sintetizam e exportam a sessão em Markdown.
  • Inteligência local opcional: embeddings/classificação/entidades/resumos possuem fallback determinístico sem modelo. Model packs têm lifecycle lazy e explícito pela omnibox (model:status, model:install:<manifest>, model:deactivate, model:uninstall:<id>). Instalação não ativa sozinha e model:activate:<id> fica indisponível enquanto nenhum backend de inferência medido estiver ligado ao produto. O core preserva a infraestrutura de ativação, que exige benchmark com latência e residência medidas; corrupção volta ao fallback com diagnóstico. Nenhum backend de inferência é criado no startup ou recebe autoridade de navegador.
  • Timeline semântica: perguntas, respostas, títulos, código, tabelas, citações, fontes e conclusões viram âncoras navegáveis.
  • Agente Web limitado: agent:https://site | search=texto | click=botão | select=campo:valor | extract executa uma sequência estruturada com limite de passos/tempo. Não existe ferramenta de JavaScript arbitrário.
  • Human-in-the-loop: mudanças sensíveis de estado exigem confirmação e senha, cartão, OTP, CAPTCHA e pagamento permanecem sob controle humano.
  • ai-memory: ideias e trechos selecionados do projeto MIT são vendorizados com licença, SHA upstream e histórico de patches; NeuralIA não depende de um servidor ai-memory em runtime.

Ctrl+H abre a busca de memória via memory:. O índice pode ser reconstruído a partir do conhecimento durável, e o Memory Doctor verifica schema, documentos e estado do índice.

O Split View usa a mesma timeline vertical do NeuralIA: a scrollbar nativa da página lateral é escondida e a trilha tracejada centralizada assume a navegação. A rolagem automática percorre tanto a IA visível quanto a página lateral, detectando containers internos de scroll. Os controles Fonte / tela cheia / fechar vivem na barra nativa do NeuralIA, fora do conteúdo do site.

Os três painéis de IA podem ser redimensionados arrastando os divisores verticais com o mouse, maximizados ou minimizados. Eles nunca são fechados: minimizar só oculta a WebView e as demais ocupam o espaço liberado. As proporções ajustadas pelo usuário ficam preservadas enquanto a sessão do comparador estiver aberta.

Ctrl+K ou Ctrl+T abre a omnibox da IA ativa, Ctrl+H mostra o histórico local e Ctrl+N inicia uma nova aba no grupo da IA atual. O botão Privado no canto superior direito abre um Split View em modo incognito do WebView2; ele não reutiliza cookies e não adiciona a navegação à lista normal de fontes.

Quando já existe uma sessão Google autenticada no perfil WebView2, o NeuralIA pode observar o Gmail em background sem armazenar senha. Uma nova mensagem gera um aviso nativo discreto no canto inferior direito com remetente e assunto. O primeiro estado da caixa de entrada é apenas a linha de base e não dispara notificação retroativa. O monitor vive numa WebView escondida que continua viva mesmo na tela inicial — um notificador que morre ao voltar para casa não notifica —, só existe enquanto existir a sessão Google, e NEURALIA_NO_GMAIL=1 o desliga por completo.

On Windows, no WebView is created while the native home screen is idle (the hidden Gmail monitor above is the single intentional exception). The Home background is also native: a low-frequency GDI neural network animation flows toward the brand without video, Canvas, WebView or network access. Set NEURALIA_REDUCE_MOTION=1 to keep the background static. The omnibox is a native Windows edit control; WebView2 is instantiated only after the user asks, reads, or explicitly opens a page, and it is destroyed when the user returns home.

Design rules

  1. Native idle shell first; system WebView only on demand.
  2. One system WebView outside the comparator; the comparator has a hard ceiling of three.
  3. No local LLM in the default build.
  4. No custom JavaScript engine.
  5. No custom CSS compatibility project.
  6. URLs open in Reader by default.
  7. Full Web is an escape hatch, not the product center.
  8. Performance and security budgets are architecture requirements.

Workspace

NeuralIA/
├── crates/neural-core/     # intent, URL policy, Reader, search, history
├── crates/neural-app/      # native Windows shell + lazy WebView2
├── assets/neuralia-home.png # official NeuralIA brand art (transparent)
├── assets/logo.ico          # project icon, generated from the brand art
├── scripts/brand-assets/    # generator of logo.ico and the Reader brand
├── docs/specs/
└── .github/workflows/

Input grammar

Input Result
como funciona Raft? Comparador: Gemini + ChatGPT + Claude
? MVCC vs OCC Google AI Mode
compare: MVCC vs OCC Comparador explícito: Gemini + ChatGPT + Claude
traduzir: Good morning Tradução nas 3 IAs (para o português do Brasil; um texto já em português vai para o inglês) — é o que o Histórico guarda de um Traduzir da barra de seleção
https://example.com/paper.pdf Visualizador de PDF embutido (o Reader só lê HTML)
https://example.com/article Reader
reader:https://example.com Reader
web:https://example.com Full WebView
memory: WebView2 prompt injection Busca semântica na memória local
research:compare Compara fontes/respostas da sessão ativa
research:synthesize Cria síntese local com proveniência
research:export Exporta a sessão ativa em Markdown
`agent:https://example.com search=rust
home: Native NeuralIA home

Build

Portable core:

cargo test --locked -p neural-core

Windows desktop:

cargo run --locked -p neural-app --release

The desktop app requires the Microsoft Edge WebView2 Runtime only for AI/Reader/Web surfaces.

Keyboard

The native omnibox inherits Windows text editing, selection, clipboard, IME and accessibility behavior.

Keyboard focus always lives inside a child window (the omnibox or a WebView2), so the shortcuts below are captured inside every page, in the capture phase, before the site sees the key. They work on every surface unless noted.

Keys Action
Enter submit the omnibox
Esc back one level: fullscreen → 3 columns → Home
Backspace · Alt+← · Alt+→ page history back / forward
Ctrl+L return to the omnibox with its text selected
Ctrl+T · Ctrl+W Home · back
Ctrl+Shift+R · F5 reload
Ctrl + / - / 0 zoom, on Chrome's ladder (25%–400%), inherited by new pages
Ctrl+F in-page find bar (Enter / Shift+Enter / Esc)
Ctrl+P print the page you are looking at
Ctrl+H semantic local memory search (memory:)
Ctrl+D add the page you are looking at (a comparator column, the side-by-side source, the full Web, Reader or PDF) to Favoritos -- a native shortcut, never sent through the page; on Home, in a side panel or in Livros it opens the Favoritos tab of the side panel
Ctrl+Shift+Z note from the selected text, with the page as its source, opened in the Notes tab of the side panel (inside a text field it stays redo; refused in the private split); on Home, a new blank note
Ctrl+Shift+Delete clear local history (the WebView2 profile is untouched)
Ctrl+J Downloads: the side panel's Downloads section (again, closes it); native, so it also works in Livros
F12 · Ctrl+Shift+I/J/C Chromium DevTools
Ctrl+U view page source
F11 fullscreen for the current comparator column
Ctrl+R · F8 auto-scroll on / off
1 2 3 · 0 expand a comparator column · restore three columns

Backspace and the digits are ignored while typing in a field; Ctrl combinations are not.

Exception: Livros (EPUB). The book library and the EPUB reader do not receive this keymap, so NeuralIA's own shortcuts (for example Ctrl+H, Ctrl+Shift+Z, Ctrl+Shift+Delete, Ctrl+L, Ctrl+T · Ctrl+W and F8) do nothing there; the native Ctrl+D opens Favoritos and the native Ctrl+J the Downloads section. Inside Livros, Ctrl+O adds books, Ctrl+F searches (the library, or the open book) and Esc goes back (reader → library → Home); leave with Esc to reach the other tools.

Comparator timelines

Each AI panel owns its own vertical response timeline. The compact rail on the right side of Gemini, ChatGPT and Claude has an up control, progress markers and a down control. It tracks the page as answers grow and scrolls only the panel where it lives; manual navigation in one provider never moves the other two.

Reading

Opening a document asks once per session whether to advance the page automatically (Sim / Não, bottom centre). With Sim, the page moves one screen every 30 seconds and stops at the end. HTML and comparator surfaces advance by script; PDFs use NeuralIA's bundled offline PDF.js viewer and advance page-by-page. F8 toggles it at any time. EPUB files do not open in WebView2; NeuralIA opens them in its own library and reader instead (livros: or epub:<path> in the omnibox, Ctrl+O on Home).

v1.0.1 hardening baseline

  • Reader enforces one deadline across the complete redirect chain.
  • Public Reader DNS resolution rejects loopback, private, link-local and reserved IP ranges before connecting.
  • Reader uses the operating-system TLS verifier.
  • Reader runs on one bounded worker; newer pending reads replace older pending reads.
  • Reader HTML executes no NeuralIA JavaScript and has script-src 'none'.
  • In the v1.0.1 baseline, external Web pages received no NeuralIA IPC; current releases use only the bounded authenticated WebView2 channel described above.
  • New-window requests are reused in the single WebView instead of multiplying WebViews.
  • Local history is bounded, written off the UI thread, and can be cleared.
  • Release dependencies are locked and CI uses --locked.
  • GitHub Actions are SHA-pinned.
  • Stable release assets are created once and never overwritten.
  • Release creation is gated on a successful main CI run.

Status

  • Rust workspace
  • native Windows idle shell
  • native accessible Windows omnibox
  • bounded lazy WebView lifecycle (one visible surface outside the comparator; three provider surfaces inside)
  • intent parser
  • Google AI Mode routing
  • bounded HTTP Reader
  • DNS/private-network Reader protection
  • semantic article extraction
  • safe script-free Reader HTML
  • bounded local history + native viewer + clear
  • AI comparator with system-themed top bar, independent response timelines and real fullscreen
  • Chrome-style keyboard, zoom, find bar and DevTools inside every page
  • opt-in auto-scroll for reading (HTML, text and PDF)
  • bounded authenticated WebView2 IPC with per-WebView capability
  • HTTP integration tests
  • CI Linux + Windows + RustSec
  • immutable release pipeline with CycloneDX SBOM + provenance attestation of the CI-tested binary
  • CI startup/RAM/thread regression gate (product targets still measured separately)
  • Authenticode-signed Windows installer
  • macOS shell
  • Linux shell

See CHANGELOG.md and the specification index.

Non-goals

NeuralIA is not building V8, Blink, an extension ecosystem, or another bundled Chromium distribution. Those are excellent ways to turn a small repository into a hereditary obligation.

License

MIT.

About

NeuralIA

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages