Skip to main content
Global Contexts in Lyzr Studio allow you to create and manage reusable context documents that can be injected into agent system prompts. This ensures consistency, reduces redundancy, and makes it easier to manage domain-specific knowledge across multiple agents.

πŸ”Ή What are Global Contexts?

A Global Context is a reusable block of information (such as company details, product data, or policies) that can be attached to different agents. Instead of rewriting the same instructions or knowledge for every agent, you can centralize it once and reuse it anywhere. For example:
  • Company Information – General details about your organization.
  • Product Catalog – List of products, features, or pricing details.
  • Support Guidelines – Standard protocols for handling customer queries.

πŸ”Ή Step 1: Accessing Global Contexts

Navigate to the Global Contexts section in Lyzr Studio.
Here you can view, create, and manage all context documents.
If no contexts are created yet, the panel will display:
0 contexts available

πŸ”Ή Step 2: Creating a New Context

To create a new context, click on New Context.
You’ll be prompted to provide two fields:
  1. Name – A short, descriptive identifier for your context.
    • Example: company_info, product_catalog, faq_reference
  2. Value – The actual content of the context. This is the reusable instructions you want to provide to the agent.
    • Example:
      Our company, Lyzr AI, was founded in 2021 with a mission to make AI-powered automation accessible to all businesses.
      

πŸ”Ή Step 3: Using it as part of an agent

Open any existing agent or create a new agent
  • Context Toggle – Enable the toggle to attach a relevant global context that you’ve created.
  • Context Configuration – Navigate to the context manager to create and manage reusable contexts.
  • Select a Context – Choose a specific context to provide additional background or information to your agent.
  • Update Values – Edit the context content as your business information, policies, or knowledge evolve.
  • Reuse Across Agents – Apply the same context to multiple agents without duplicating effort.

βœ… Benefits of Global Contexts

  • Reusability – Create once, use everywhere.
  • Consistency – Ensure all agents share the same baseline knowledge.
  • Scalability – Easily manage and update context for multiple agents.
  • Efficiency – Save time by avoiding repeated manual input.

πŸš€ Summary

The Global Contexts feature in Lyzr Studio streamlines knowledge management for your agents. By centralizing reusable content, you can maintain accuracy, reduce duplication, and ensure that your agents operate with the most up-to-date information. Whether it’s company details, product catalogs, or support protocols, Global Contexts make it easy to scale your AI solutions while keeping them consistent and reliable.
⌘I