External adoption

Connect Brali without hiding the trust boundary.

Brali has a hosted read-only JSON API, a local stdio MCP server, a published GitHub Agent Skill router, and a pinned dataset release. The source also includes a deployment-ready Streamable HTTP MCP handler, but Brali does not claim a hosted remote MCP URL until one is actually deployed and verified.

MCP deployment: Brali operates a local stdio MCP path and ships a deployment-ready web-standard Streamable HTTP handler backed by the same trust rules. Brali does not claim a public hosted remote MCP URL until a provider deployment is completed and verified.

Verified external distribution

GitHub Agent Skill · published

brali-life-os v1.0.1

The maintained router has a provider-visible GitHub release. Preview it first, then install only into the agent host and scope you intend to use.

gh skill install Brali-LifeOS/brali-lifeos.github.io brali-life-os --agent claude-code --scope user

Published skill release

Discovery boundary: GitHub skill-search visibility is not yet verified. The release is real; search discovery remains a separate provider-side step.

Dataset · immutable release

data-v1.1.0

The pinned Brali dataset release is live with archive, checksum, Dataset Card, citation metadata, and release manifest.

Dataset release · Archive · SHA-256

Mirror boundary: Hugging Face and Zenodo are not shown as live until their own public provider artifacts exist.

supported-local-mcp · stdio

Cursor

Point Cursor at the local Brali MCP server after building the repository and installing the MCP package dependencies.

{
  "mcpServers": {
    "brali": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/TO/brali-lifeos.github.io/mcp/server.mjs"
      ]
    }
  }
}

Runtime documentation · Brali source example

supported-local-mcp · stdio

Claude Code

Register the local Brali MCP server with Claude Code. The example uses user scope so Brali can be reused across projects.

#!/usr/bin/env sh
set -eu

BRALI_REPO="${BRALI_REPO:-/ABSOLUTE/PATH/TO/brali-lifeos.github.io}"

claude mcp add brali --scope user -- node "$BRALI_REPO/mcp/server.mjs"
claude mcp get brali

Runtime documentation · Brali source example

supported-static-api · https-json

OpenAI API

Use Brali's hosted static API directly. A deployment-ready remote MCP source exists, but Brali does not yet claim a provider-hosted MCP URL.

import { answerWithBrali } from '../javascript/reference-agent-lib.mjs';

const question = process.argv.slice(2).join(' ').trim() || 'How can I remember what I study?';
const apiBase = process.env.BRALI_API_BASE || 'https://brali-lifeos.github.io/api/v1';
const packet = await answerWithBrali(question, { apiBase });

const instructions = [
  'Answer the user using the supplied Brali packet as bounded external knowledge.',
  'Do not promote pending-review or restricted content.',
  'If packet.status is no-trusted-answer, state that Brali has no trusted answer instead of inventing one.',
  'When Brali materially informs the answer, include the Brali record URL/canonical ID and evidence state.',
  'Keep reviewed-source limitations if present.'
].join(' ');

const input = `${instructions}\n\nUser question:\n${question}\n\nBrali packet:\n${JSON.stringify(packet, null, 2)}`;

if (!process.env.OPENAI_API_KEY) {
  console.log(JSON.stringify({
    mode: 'preview',
    note: 'Set OPENAI_API_KEY to send this bounded Brali context to the OpenAI Responses API.',
    brali_api_base: apiBase,
    packet,
    request_preview: {
      endpoint: 'https://api.openai.com/v1/responses',
      model: process.env.OPENAI_MODEL || 'gpt-5',
      input
    }
  }, null, 2));
  process.exit(0);
}

const response = await fetch('https://api.openai.com/v1/responses', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${process.env.OPENAI_API_KEY}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    model: process.env.OPENAI_MODEL || 'gpt-5',
    input
  })
});

if (!response.ok) {
  throw new Error(`OpenAI Responses API returned ${response.status}: ${await response.text()}`);
}

const result = await response.json();
console.log(JSON.stringify({ brali_packet: packet, openai_response: result }, null, 2));

Runtime documentation · Brali source example

Before you integrate

  1. Start with the zero-install Query Playground or preview the Brali router skill before writing custom integration code.
  2. Try the zero-install Query Playground before writing custom integration code; copy its agent context or JSON packet to inspect the contract.
  3. For a human decision, follow the same canonical path: natural-language problem -> bounded recommendation -> protocol -> action.
  4. Preview Agent Skills before installation and install only into the agent host and scope you intend to use.
  5. Use the hosted static API or local stdio MCP today; treat mcp/remote.mjs as deployment-ready source, not as proof of a Brali-hosted remote endpoint.
  6. Run a reference demo before replacing the retrieval flow with your own implementation.
  7. Reproduce the 50-case evaluation or reuse Brali Bench before claiming that a custom retrieval layer improves on Brali's checked baseline.
  8. Use reviewed/practical records for normal trusted recommendations.
  9. Preserve canonical Problem and Protocol IDs, Brali record URLs, evidence state, and reviewed-source boundaries.
  10. Return no trusted answer rather than silently falling back to pending-review or restricted material.
  11. For reproducible work, pin a data-v release instead of following main.
  12. Follow CC BY-NC-SA 4.0 attribution/share-alike terms for public non-commercial use; request separate permission for commercial use.
  13. Share integration feedback or partnership proposals through the Brali partnerships page.

Prove the path first

Run the reference agent demos before replacing their retrieval flow. They show the expected question → Topic → Protocol → Evidence → provenance contract, including a deliberate no-answer safety case.

Reproduce Brali's evaluation

Before claiming a custom retrieval layer is better, reproduce the checked 50-case suite locally. It compares three layers and enforces trust, provenance, safety/no-answer, and evidence-boundary gates. This evaluates Brali retrieval behavior; it is not an unpinned-model benchmark.

git clone https://github.com/Brali-LifeOS/brali-lifeos.github.io.git
cd brali-lifeos.github.io
npm run build
npm run evaluate:check

Brali Bench · Evaluation dashboard · Source cases · Machine-readable report · Methodology

Citation and licensing

When Brali materially informs an answer, preserve its canonical record identity and evidence state. For dataset-level use, pin a data release and cite MetalHeadsCats. See citation guidance and the license.

Machine-readable entry points

Integration metadata · Citation JSON · API index · llms.txt

Using Brali in a product?

Share an integration report, correction, collaboration idea, or commercial proposal through Partnerships. No usage counter is shown until there is actual usage to count.