Kuaray Contact
INSIDE KUARAY · IN DIALOGUE WITH THE MANIFESTO

The open mechanism

This page is the practical, visual counterpart to the Manifesto. Read it from start to finish or jump directly to the diagram showing how each thesis works in real operations.

We show where information flows, explain why we chose every piece of technology in plain language, and open real delivery examples — from anonymized legal and financial stress modeling to verifiable public reports.

950,092lines of original code
157active code repositories
74services in operation
Dedicateddedicated physical servers
01 · IN DIALOGUE WITH 04.1 OF THE MANIFESTO

Intellectual elasticity in practice

Scaling an AI team up or down under human direction takes more than a generic chat: it requires custom agent teams (specialized AI teams), tools with per-person access control, and independent review by a different AI vendor than the one that produced the work.

INTERACTIVE DIAGRAM · TEAMS ON DEMAND

How a custom team mobilizes specialists and passes cross-vendor review

CONTROLLED ENVIRONMENT · IDENTIFIED ACCESS · ACTIVITY TRAIL 01 · DIRECTION Person Defines the problem, criteria, and risk. Approves the final decision 02 · COORDINATION General Coordinator Splits the request across specialists. Never decides or acts alone 03A · SPECIALIST IBS / CBS & Rates Opens official statutes live 03B · SPECIALIST Regimes & Transition Models impact by sector & window 03C · DATA & MATH Litigation & Balance Sheet Database math + source docs 04 · CROSS-VENDOR REVIEW Different Vendor The author model never reviews its own family. Anthropic OpenAI Google xAI 18 roles · live statute lookup 05 · DELIVERY Verifiable Report PDF with page-level source citations ↺ Returns for review, challenge, and decision by the responsible person
MEASURED SCALE · 950,092 LINES OF ORIGINAL CODE BY LANGUAGE (SEP 22, 2026) 157 code repositories · 74 services
Python 813.246 Shell 52.957 TypeScript 34.123 Templates ~30,000 Rust 5.622 SQL 5.338 Other ~8,806
Why custom agent teams instead of a single “do-it-all assistant”? Specialized teamsin use · pilot fronts

A single generic assistant mixes up rules, cites deadlines from memory, and dilutes accountability. In custom agent teams, each role has a narrow mandate and version history — such as the 18 Tax Reform specialists, required to open official legislation before stating tax rates. The General Coordinator only routes complex requests without power to act or decide alone, reducing the risk of a misinterpretation turning into an automated action.

Why independent review by another AI vendor? Anthropic · OpenAI · Google · xAIin use

Models trained by the same lab can share blind spots. By separating who produces from who reviews — using a different vendor model to audit code, rules, and deliverables — we reduce errors that would otherwise slip through before reaching the responsible person.

Why identified tools and automatic resumption? MCP · Temporalin use

Each assistant has its own identity and can only call tools authorized via MCP (open standard for securely connecting tools). Long-running investigations across hundreds of documents run on Temporal (durable execution that resumes interrupted workflows): if an external source stalls, work resumes from the last checkpoint without losing progress.

02 · IN DIALOGUE WITH 04.2 OF THE MANIFESTO

Living memory and disciplined search

An organization’s real knowledge does not live only in neat folders: it emerges in emails, WhatsApp threads, meetings, contracts, lawsuits, and internal systems. The platform brings connected, authorized sources together, preserves originals with a SHA-256 fingerprint, and prioritizes what actually answers the question — respecting every individual’s permissions.

ANIMATED DIAGRAM · INSTITUTIONAL MEMORY PIPELINE

From daily capture to semantic search, exact lookup, and reranking

Highlighted source
Search mode
01 · CONNECTED SOURCES 02 · CUSTODY & READING 03 · THREE QUERY MODES 04 · RANKING & ACCESS CLIENT PERIMETER · OUTBOUND EXTERNAL AI ONLY WHEN AUTHORIZED Emails & Attachments Kuaray Mail · searchable archive Corporate WhatsApp Kuaray Conversations · text & audio Screen & Meetings (opt-in) Panorama · encrypted on device Documents & Folders Kuaray Docs (pilot) Court Filings Kuaray Lawsuits (pilot) ERPs & Public Sources Structured · Discover · statutes ORIGINAL PRESERVED Vault + SHA-256 Cryptographic file fingerprint exposes any tampering. READING & TRANSCRIPTION Kuaray Processing Reads scanned PDFs, transcribes meetings & audio, and prepares passages for hybrid search. ATOMIC PUBLICATION Closed Snapshots Kuaray Projections: swaps the catalog only when complete and validated (no partial index). SEMANTIC SEARCH Milvus (Meaning) Finds related concepts & clauses even when phrased with different terminology. EXACT TERM SEARCH OpenSearch (Literal) Locates literal words, tax IDs, case numbers, statute articles, and exact dates. TABLE CALCULATIONS PostgreSQL + Citus Math executed in the database, never estimated by the AI. MERGES & PRIORITIZES Knowledge + Reranker Re-reads every passage against the full question and lifts what genuinely answers the case. Mode: Meaning + exact term + reranking ACCESS CONTROL Per-Document SpiceDB Checks person, team, and agent permission before use. VERIFIABLE DELIVERY Excerpt + Source Link Exact page + SHA-256 digest for human verification.
IN PRACTICE · HOW THE RERANKER DEMOTES NOISE AND LIFTS RELEVANT EVIDENCE Sample query: “environmental contingency clause discussed in the August meeting”

Toggle the search mode above — compare Hybrid + Reranker with Hybrid w/o Reranker to see the generic newsletter rise before reranking. Illustrative example; scores compare relative ordering only, not accuracy probability.

#1 Board Meeting Audio · Panorama (Aug 14) Meaning + Exact Term
0.96
#2 Contract Amendment §4.2 · Kuaray Docs (p. 11) By meaning (Milvus)
0.92
#3 Legal WhatsApp Thread · Conversations Exact term (OpenSearch)
0.88
#4 Generic ESG Newsletter · Email (noise) Demoted by Reranker
0.31
Why three query modes (Milvus + OpenSearch + PostgreSQL/Citus)? Meaning · Exact Term · Mathin use

Because they are three different questions. “What discusses this topic?”: Milvus searches by meaning and can connect “environmental risk” to an email about “plant licensing liability”. “Where is this exact identifier?”: OpenSearch pinpoints a tax ID, statute article, or court docket number. “What is the exact sum?”: PostgreSQL with Citus (distributed relational database) runs the arithmetic instead of asking the AI to guess. It is the difference between asking someone who knows the archive, checking the index, and reconciling the ledger — always keeping the source open for verification.

Why reorder results with a Reranker? Relevance prioritizationin use

Finding is not the same as choosing. Initial retrieval quickly gathers candidates like a stack of folders placed on a desk. The Reranker re-reads each passage against the complete question and surfaces the most pertinent ones: a newsletter that merely repeats keywords drops, while the meeting minutes addressing the case rise. It improves ordering, though it neither proves truth on its own nor recovers unindexed items — which is why the original source link travels with every excerpt.

Why file fingerprints (SHA-256) and closed index snapshots? SHA-256 · Closed snapshots: in use

O SHA-256 computes a unique digest from file bytes: if a single comma changes, the digest changes, revealing tampering and deduplicating identical copies without erasing folder hierarchy or permissions. It does not prove authorship nor replace a certified digital signature. Meanwhile, closed index snapshots (Kuaray Projections, in use) prevent reports from running on half-loaded archives without notice: the active catalog swaps only once the new snapshot is complete and validated.

Why include corporate WhatsApp, screen context, and meeting audio? Conversations · Panorama & Desktopin use

Because much of a company’s decision-making happens in meetings and quick messages — never becoming formal minutes. Kuaray Conversations syncs corporate WhatsApp and transcribes audio under encryption, while Kuaray Panorama & Desktop, enabled exclusively by the organization’s administrators on authorized workstations, captures screen context and meeting audio encrypting content on the workstation before transmission.

03 · IN DIALOGUE WITH 04.3 OF THE MANIFESTO

Sovereignty and access control

Enterprise AI earns trust only when the organization controls three things without relying on sales promises: where its data resides, who can open each document e which AI model is allowed to read them. Toggle the controls below to watch the flow react.

INTERACTIVE DIAGRAM · SOVEREIGNTY & ACCESS CONTROL

You decide where the environment runs and whether any text reaches external AI

Where the environment runs
Which AI model reads the data
01 · PERSON Workspace Requests, checks sources & decides PERIMETER · DEDICATED KUARAY SERVERS 02 · IDENTITY Keycloak Single sign-on & strict tenant isolation 03 · ACCESS & VAULT SpiceDB + Vault 3 keys per doc · encrypted secrets 04 · YOUR DATA Internal Datastores Tables, originals and search in perimeter 05 · AI SELECTION Policy Routing Decides which model may read the request LOCAL AI Ollama · dedicated GPU Encrypted disks · Encrypted backups · Service-to-service identity · End-to-end audit trace AUTHORIZED EGRESS External Models Outside perimeter, only if authorized: Anthropic · OpenAI · Google · DeepSeek · xAI ↺ Verifiable answer + source links return for human approval
Why three access keys per document (SpiceDB)? Fine-grained access controlin use

Think of a vault that only opens when every required key agrees. Before using any document, SpiceDB checks authorization for the person, da team e do agent. If any of those three permissions is missing, the document stays out of that query — ensuring an assistant never expands what someone is allowed to see.

Why dedicated servers and a local AI option (Ollama)? Kuaray servers · Your cloud/environment by contractin use

So the organization decides where text is processed without being locked into opaque shared clouds. With Ollama running on dedicated GPU inside the chosen perimeter, the model works like a specialist inside your room without taking the folder out: in Local onlymode, no text is sent to external AI. Access and integrations still require governance, and local models can differ in capability from external frontier models.

Why an encrypted secrets vault (Vault) and trace IDs? Keycloak · Vault · Auditin use

O HashiCorp Vault stores encrypted credentials and keys and issues them only to authorized services, never leaving them exposed in config files. Across covered services, workloads verify one another’s identity, and every request receives a trace ID linking prompt, consulted documents, model used, and output — allowing complete post-hoc auditability.

04 · IN DIALOGUE WITH 03 AND 05 OF THE MANIFESTO

From request to decision

When an organization conducts a complex investigation — such as reconciling millions of docket entries against balance sheet figures — work passes through five verifiable stages, clearly separating real measurements, public examples, and pilot fronts.

REAL MEASUREMENT · PUBLIC LITIGATION PORTFOLIO OF A LISTED COMPANY (SEP 2026)

Four milestones: from raw volume to verifiable reconciliation between lawsuits and balance sheet

REAL MEASUREMENT · PUBLIC DATA
6.551.460court docket movements analyzed
Database queries (Citus)
15,169 pagesacross 1,930 filings read and preserved
PDF OCR + SHA-256
Meaning + Termindexes cross-checked against public financial filings
Knowledge + Reranker
Human decisionlegal × accounting discrepancies surfaced
Source & calculation method
  1. 01
    Human question and access scope

    Everything starts with the objective, criteria, and risk tolerance set by a person. Corporate SSO (Keycloak) and per-document access control (SpiceDB) immediately scope what may enter the analysis and open the request trace ID.

  2. 02
    Connected archive search and prioritization

    The platform queries connected, authorized sources for the case, combines semantic search (Milvus), exact search (OpenSearch), and database arithmetic (Citus), and uses the Reranker to demote noise and place relevant evidence on top.

  3. 03
    Specialized teams and cross-vendor review

    The custom agent team splits the analysis — cross-checking documents, filings, and numbers — and submits the output to independent review by another AI vendor before consolidating the deliverable.

  4. 04
    Human verification and explicit disclosure of gaps

    Every excerpt and calculation arrives with its source and derivation, explicitly flagging any source that could not be retrieved. Provisioning, appealing, negotiating, or contracting remains an entirely human decision.

  5. 05
    Recorded for future cycles

    Approved criteria and reports can be incorporated into the organization’s authorized archive so the next engagement builds on past decisions.

05 · ANONYMIZED CASES & PUBLIC REPORTS

Examples of real outputs

Six concrete examples of how Kuaray operates in practice. We open with a flagship anonymized real case of legal and financial stress modeling — featuring over 6 million simulations and formal mathematical proof — followed by five verifiable public reports at kuaray.ai/en/deliveries/.

Example 01 describes methodology and scale measured in a real engagement, with parties, amounts, and identifiers 100% anonymized for confidentiality. Examples 02 through 06 rely strictly on official public sources; cited companies are not Kuaray clients. In a client environment, the platform combines external sources with authorized internal memory.

02 · Which revenue enters the calculation?

CBS and IBS in merchandise retail

Lojas Renner S.A. · 7 official sources · Nov 6, 2026

Separates net merchandise revenue (BRL 13.81B) from financial services (BRL 2.02B) in 2025 CVM financial statements. As an exercise on 2025 revenue, applies the 1% 2026 test rate (BRL 138.10M), notes conditional exemption under LC 214/2025, and runs a 28% sensitivity while declaring what public disclosures cannot prove about input credits.

Where shortcuts fail

Adding retail sales and financial services contaminates the model on line one — and quoting tax rates from memory mixes rules from different years.

What backed this result

Official CVM filings were preserved with SHA-256 digests, line items were separated and summed in the database (never estimated by AI), rules were checked directly in Complementary Law 214/2025, and independent review blocked unsupported claims.

Public filings (CVM)Database calculationOfficial statute checkIndependent review
03 · Did it count everything, and count each item once?

Public contracts and attention points

Serpro · 7 official sources · Nov 6, 2026

Collects 1,658 records from PNCP (official public procurement portal), applies explicit rules to isolate 456 valid initial contracts in 2026 across 328 agencies (totaling BRL 2.23B), shows three ministries account for 68.97% of value, and flags 32 expired end-date contracts for amendment/payment review — not as irregularities.

Where shortcuts fail

A partial list looks complete, and a canceled or duplicate record counted as an active contract distorts totals by billions.

What backed this result

Complete capture of all 1,658 records with durable resumption on transient failures, auditable filtering down to 456 initial contracts, database aggregation, and direct links to each cited contract source.

Automated capture (PNCP)Explicit filter rulesDatabase calculationIndependent review
04 · Does “not found” mean “does not exist”?

Supplier documentary due diligence

Serpro · 12 official sources · Nov 6, 2026

Confirms institutional identity across official records, lists specific contracts in the Chamber of Deputies and TCE-PR, and logs a final STF civil ruling (archived in 2020) — while opening the summary by flagging prominently that CEIS/CNEP sanctions registries and the live Federal Revenue certificate could not be retrieved on that date due to portal blocks.

Where shortcuts fail

When a government portal blocks a lookup, the dangerous shortcut is writing “clean record” and inducing blind compliance sign-off.

What backed this result

The report leads with what is missing: classifies due diligence as partial, preserves every retrieved document, and logs exactly which portal failed on that date. Missing data never turns into a clean bill of health.

Refusal of false completenessPreserved official sourcesDocument readingIndependent review
05 · Who is actually the defendant?

Overview of public judicial and regulatory proceedings

Petrobras · 11 official sources · Nov 6, 2026

Cross-references open CVM registries, CNJ’s public judicial database (DataJud), federal appeals court records (TRF2), and CVM enforcement proceedings (PAS). Shows how to bridge missing party names in public DataJud via rulings and official bulletins, clearly separating proceedings against officers from charges against the company.

Where shortcuts fail

A company’s name appearing near a charge does not mean it is the defendant — and a single wrong digit in a docket number points to a completely different lawsuit.

What backed this result

Exact search verifies complete docket numbers and regulatory codes, semantic search locates settlements and acquittals inside lengthy rulings, and legal review bounds the illustrative scope without extrapolating to the full docket.

Exact + semantic searchRelevance rerankingJudicial cross-check (pilot)Independent review
06 · What was decided, and what was merely proposed?

Parliamentary positioning on Brazil AI Bill PL 2338/2023

AI legislation bill · 14 official sources · Nov 6, 2026

Reconstructs official legislative progression between Senate and Chamber of Deputies: authorship, rapporteurs, Senate substitute approval, and floor amendments on copyright (Art. 65), high-risk classification, and child protection — recording that it remains under review (not enacted law) and refusing to fabricate vote tallies or passage odds.

Where shortcuts fail

In long legislative debates, a request for a public hearing gets misreported as a “decision” and a proposed amendment as “enacted text”.

What backed this result

Direct capture from official Chamber and Senate open-data APIs, structured reading of amendments and opinions, and verification of each act’s formal stage. Where sources do not support vote forecasts, the report refuses to invent them.

Official Congress open dataSemantic + article searchFormal-act trackingIndependent review
06 · TRANSPARENT CATALOG

Platform building blocks

Every proprietary component and open technology behind Kuaray, organized by role, with its real maturity state and a straightforward explanation of what it does.

Kuaray Mail Ingestion & Custody in use

Turns corporate emails and attachments into a searchable archive by topic, counterparty, and date range, logging every access.

Kuaray Conversations Ingestion & Custody in use

Syncs and preserves corporate WhatsApp conversations on an isolated connection, transcribes voice notes, and encrypts content to organize pending items and service history.

Kuaray Docs & Userspace Ingestion & Custody pilot

Continuously mirrors enterprise folders and documents — reflecting source edits and deletions — without creating uncontrolled shadow copies.

Kuaray Panorama & Desktop Ingestion & Custody in use

App installed on workstations authorized by company IT to capture screen context and meeting audio when activated, encrypting content on the device before transmission.

Kuaray Lawsuits Ingestion & Custody pilot

First-party collection and custody of court cases and filings, treating courts and commercial providers as swappable connectors.

Kuaray Structured Ingestion & Custody in use

Direct, permissioned connection to enterprise databases, ERPs, spreadsheets, and large public datasets (~376 GB DataJud), executing calculations in the database without AI guesswork.

Kuaray Discover Ingestion & Custody in use

Provenance-tracked collection from official public sources (CVM, Federal Revenue, SEC, legislative portals, and official gazettes), storing every original file with a SHA-256 digest.

Kuaray Corpora Ingestion & Custody in use

Curated, versioned collections of legislation, regulatory standards, and case law for direct lookup by specialist agents.

Kuaray Processing Reading & Search in use

Reads scanned documents and complex PDFs, transcribes audio recordings, and prepares every passage for semantic and exact-term search.

Kuaray Projections Reading & Search in use

Updates search catalogs in closed, complete snapshots, refusing to publish partial indexes that would silently hide documents.

Kuaray Knowledge Reading & Search in use

Combines semantic search and exact-term lookup, applies the relevance Reranker, and returns every excerpt linked to its original page.

Milvus Reading & Search in use

Vector index comparing meaning inside our own perimeter: finds related theses, concepts, and clauses even when phrased differently.

OpenSearch Reading & Search in use

Exact-term search engine: locates literal keywords, tax IDs, docket numbers, statute articles, and exact date or amount filters.

Custom agent teams Models & Agents in use

Versioned specialized AI teams (General Coordinator without unilateral authority, Service, and domain packs such as Tax Reform), backed by cross-vendor independent review.

Kuaray Agents & MCP Models & Agents in use

Controlled execution of identified assistants that can only invoke tools explicitly authorized via MCP (open standard for secure tool connectivity).

Kuaray Research & Chat Models & Agents in use

Multi-round research producing verifiable PDF reports and direct chat responses always accompanied by clickable source links.

AI model selection & execution Models & Agents in use

Routes each task to the appropriate model and supports running local GPU models inside the organization’s chosen perimeter.

Kuaray Workspace Coordination & Interfaces in use

Unified workspace where human teams collaborate with agents, manage documents, review deliverables, and operate under the organization’s brand identity.

Kuaray Automation & Temporal Coordination & Interfaces in use

Orchestrates long-running workflows and syncs via Temporal: if an outage or upstream timeout occurs, execution resumes from the last checkpoint without data loss.

Kuaray Messaging & Intercomm Coordination & Interfaces in use

Permanent conversation history across the platform and structured messaging channel between human teams and agents.

Kuaray Clients & Projects Coordination & Interfaces in use

Central registry of client organizations, contract-level feature policies, and organization of each project or investigation.

Kuaray Authz & SpiceDB Identity & Security in use

Fine-grained per-document access control: verifies simultaneous person, team, and agent authorization before including any excerpt in a response.

Keycloak Identity & Security in use

Enterprise single sign-on with strict tenant isolation, preventing accidental cross-organization identity leakage.

HashiCorp Vault & Certificates Identity & Security in use

Encrypted vault that stores credentials and keys and delivers them only to authorized services, never leaving secrets exposed in config files.

Dedicated Servers & Networking Infrastructure & Operations in use

Dedicated physical servers with encrypted disks, perimeter network protection, and regular encrypted backups.

PostgreSQL 17 & Citus · MinIO · Pulsar Infrastructure & Operations in use

Core data trio inside the same perimeter: horizontally scalable relational DB (PostgreSQL/Citus), SHA-256 object vault for originals (MinIO), and isolated event transport (Pulsar).

Nomad · Consul · Monitoring Infrastructure & Operations in use

Schedules all 74 services across machines, maintains a live service health catalog, and monitors performance, errors, and operational health.

KUARAY · INSIDE KUARAY