How global context works
You can give the Omni Agent context in three places:- Global context — Markdown files that Organization Admins manage from AI Hub. The Omni Agent uses this context in every user’s conversations, for all connections and models the user can access.
- Personal context — A user’s own context, managed from account settings. See Saving information to memory.
- Model context — The
ai_contextparameter in a model file. The Omni Agent uses this context only for that model.
Global versus model context
Global context and model context differ in scope:
Use global context for information that is true across your business. Use model context for information about the data in one model. For example:
When the Omni Agent reads a context file
When you create or edit a context file, you’ll specify when the Omni Agent should read it:- Every message — The Omni Agent reads the file’s full content with every message, in every user’s conversations.
- When needed — The Omni Agent sees only the file’s name and size, not its content. It reads the full file when a question matches what the file’s name suggests it covers. Users can also ask the agent to list the files in context or to read a specific file by name. Use this option for a large reference file, such as a glossary or a runbook, that doesn’t need to be sent with every message.
Context and agent behavior
Omni assembles context from various places — global, model, and user levels — and passes it to the Omni Agent. The LLM that powers the Omni Agent makes its own decisions about which context to follow, how to weight it, and how to resolve apparent contradictions. This means:- Context is guidance, not strict instruction. The LLM may partially follow, fully follow, or in some cases not follow a given instruction, especially when instructions are complex or contradictory.
- Global context is not guaranteed to override model or user context. All context is passed together; the LLM decides what to prioritize.
- Behavior can be non-deterministic. Repeating a prompt or running the same query twice may result in different context being applied, particularly when context is large or contains conflicting signals.
Requirements
To create and manage global context files, you need:- Organization Admin permissions
- Omni AI enabled for your organization
Creating global context files
- AI Hub in the sidebar, then open Global context.
- Click New file.
- Enter a name for the file, up to 255 characters.
- Choose when the Omni Agent reads the context: Every message or When needed.
- Use the Markdown editor to write the file’s content.
- Click Save changes.
Editing global context files
- Click AI Hub in the sidebar, then open Global context.
- Click the file you want to edit.
- Update the file’s name, content, or when the agent reads it.
- Click Save changes.
Deleting global context files
- Click AI Hub in the sidebar, then open Global context.
- Click the icon next to the file you want to delete.
- Select Delete.
- When prompted, confirm the deletion.
Next steps
- Saving information to memory — Give the Omni Agent personal context
- AI settings — Turn AI features on and off for your organization
ai_context— Give the Omni Agent context for a single model

