Building a chat app — bRRAIn Docs

Create a workspace, set its instructions and context, add seeds and check it against the chat standard.

Building a chat app

Open the UI Builder from your Console. The navigation groups its pages under Build, Govern and Observe. A header search finds workspaces and tools.

Create a workspace

A workspace is one chat app. Choose Workspaces and create one. A workspace name becomes its address, and names are unique across bRRAIn. Each workspace has tabs for identity and branding, models, context, access, appearance, conformance and preview.

Appearance

Set brand colours by role. The Appearance tab checks contrast for you. Chat apps are light by default and aim for WCAG 2.2 AA accessibility.

Instructions and context

  • Workspace instructions are free text, up to 16 KB. They are given to the model at the start of every conversation.
  • Context policy decides which of your bRRAIn files the assistant can read. The allow-list takes files or folders. A folder entry includes the Markdown files below it. Context is capped so it fits the model's window.
  • Internal decision records are included only when you turn on master context.

The assistant can also search the allowed files during a conversation. A search never returns anything outside the allow-list.

Seeds

A seed is a named set of instructions a visitor can pick to scope a new chat, similar to a custom assistant. Visitors manage seeds from the sidebar. The prompt is built in this order: workspace instructions, then the visitor's seed, then your bRRAIn context. Seeds are kept per workspace.

Chat profile and conformance

Each workspace declares a chat profile: tier, profile packs, persona, scope, a "never" list, owners and kill switches. The configurator checks it against the bRRAIn chat standard and offers a conformance statement you can export as JSON or Markdown, with sign-offs. Changes can only make a workspace stricter than the standard, and a deviation needs an approved reason.

Profile packs add rules for particular uses, including service, finance and commerce. See Safe actions, handoff and service profiles.

Tools and kill switches

The Tools page registers the tools a workspace may use. Tools have input and output schemas. You can switch off chat, a model or a tool instantly with a kill switch.

Evaluations

The Evaluations page shows repeated-run test results for a workspace. Feedback from visitors (thumbs and a reason) is collected on the Feedback page.

Privacy

A nightly job deletes conversations after the retention period you set. A privacy notice template and data map are provided. Every chat shows an AI disclosure and a privacy link.