Skip to main content
Knowledge Hub is the context repository and prompting tool behind the Access Request Agent. It shapes how the agent behaves in the Employee AppStore, Slack and Jira. The agent matches what an employee types against your AppStore configuration and the context you write here. When an app, a rule or a fallback is missing from both, the agent has nothing to match against. Give Knowledge Hub relevant, direct context for every case where your setup differs from the defaults. This context lets employees find what they are looking for and lets the agent answer correctly.

Four situations need a Knowledge Hub entry

Each section below includes a prompt you can copy and an example of the conversation it produces. The apps, fields and channel names are placeholders. Replace them with your own.
The example conversations are illustrative. Wording varies by client (Employee AppStore, Slack or Jira), but the app, permission and questions the agent selects follow the entry.

Custom apps: describe what each one is, what it is for and how people ask for it

The agent can only recommend an app it can describe. A custom or internally built app with a name like “Northwind Deploy” tells the agent nothing about when to offer it. Add one context document per custom app with three things:
  1. What it is. One or two sentences on what the app does at your organization, not the vendor description.
  2. What it is used for. Who requests it and for what work.
  3. Common request phrases. The words employees use, each mapped to a permission.
Prompt preview: app context document
What the employee sees
Write the “what it is used for” section from how people actually use the app. A copy of the vendor description gives the agent no more than the app name already did.

Conditional fields: state the trigger and the field, or the agent cannot know when to ask

Custom intake fields define what the request form can collect. A Knowledge Hub rule decides when the agent asks for each one. Write a rule when a field applies to only one permission, or only after the employee gives a particular answer. Name each field by the label employees see, and name the permission or answer that triggers it. Prompt preview: conditional field rule
What the employee sees
An employee who requests Read-only access to the same app is never asked for a change ticket.

Substitutions: name the requested app, the replacement and the reason

If you want the agent to steer employees away from an app you do not license, or toward a cheaper or approved equivalent, say so. Without a rule, the agent requests the app the employee named. Include the requested app, the replacement, why, and what the agent does if the employee still wants the original. Prompt preview: substitution rule
What the employee sees
The employee still reviews and submits the request, and your approval workflows still apply.

No match: tell the agent what to suggest and when to send people to IT

When an employee asks for software that is not in your AppStore, the agent needs two instructions: which alternatives to offer, and when to stop and point to a person. Write this as a tenant-wide entry, with no app tag, so it applies to every conversation. Prompt preview: no-match rule
What the employee sees

Entries do not update themselves: know what the daily job creates and what you maintain

Lumos creates starter context for your apps automatically. It does not keep that context current, and it does not touch entries you wrote. The job runs once a day on a schedule. It never overwrites a document that a person has edited. Only documents that Lumos generated count as existing. An entry you wrote yourself does not stop the job, so an app with only your entry still gets a generated document. Review your entries when you change an app’s permissions, rename a permission, or retire an app. A rule that names a permission that no longer exists points the agent at an option employees cannot select.

Keep entries current: have an agent update them over MCP on a schedule, or script updates with the API

Because the daily job never refreshes existing documents, you own their upkeep. You can do that by hand in Knowledge Hub, or automate it two ways.

Admin MCP: an agent reads your outside context and updates Lumos

The knowledge-hub toolset in the Lumos Admin MCP lets an AI client list, read, create, update and archive Knowledge Hub entries. The client can also reach context Lumos does not hold, such as your IT service catalog, an internal wiki or an access policy page. The agent reads that source, compares it with your entries, and writes the differences back to Lumos. Run the agent on a schedule so entries stay in sync as your apps and permissions change. The schedule comes from your AI client. The Admin MCP server provides the tools, not a scheduler. To connect with write access, use the knowledge-hub toolset, which needs the lumos:admin:knowledge-hub:write scope:
Prompt preview: scheduled sync
Ask the agent to report what it changed, as in step 5, so you can review each run.
Entries created through the Admin MCP or the API have no app tag, so the agent reads them in every conversation. Tag each new entry to its app in Knowledge Hub after you create it. This is why the prompt above reports missing apps instead of creating entries.
See the Lumos Admin MCP guide for setup, toolsets and permissions.

API: update entries programmatically

Use the Knowledge Context endpoints when you want to update entries from your own scripts, CI jobs or internal tools. They are part of the Lumos v1 API. Create an API token in Lumos under Settings → API Tokens. Your role needs the permission to manage API tokens. Three behaviors affect how you write the script:
  • Send create and update requests as multipart/form-data.
  • An entry title must be unique within your domain.
  • An update changes only the fields you send, but tag and scope lists replace the existing values entirely. Send the full list.
Set product_scopes to appstore (lowercase) so the Access Request Agent can use the entry. The API rejects uppercase values with a 400. The API sets no app tag on a new entry, so tag it to its app in Knowledge Hub afterward.

Write entries the agent can follow exactly

  • One entry per scenario. A single long entry that mixes app context, field rules and fallbacks is harder to test and harder to fix.
  • Use the exact names from your AppStore. Write the app and permission names as employees see them. “Deployer” matches the permission. “The deploy role” does not.
  • State the trigger and the action. “Ask for a change ticket only when the permission is Write or Admin” is a rule. “Collect change tickets where needed” is not.
  • Scope entries to the AppStore. Scoping keeps your rules from affecting other Lumos AI products. Tag the app the entry applies to in Knowledge Hub. An entry with no app tag applies to every conversation.
  • Attach context at the right level. Per app is the most common. Per permission works for apps with many entitlements. Per tenant works for org-wide rules such as the no-match fallback or “all time-based apps require a justification”. Grouping by risk, such as all apps where security approves, also works.

Other context the agent uses

  • Duration and access level options. List every requestable duration (for example 90 days or Unlimited) and permission level so the agent offers only real choices.
  • Catalog discovery. Map vague requests such as “I need something for design” to the right app, especially when app names are ambiguous or several apps overlap.
  • Policy at the point of request. For example, “PII access requires HR approval evidence”.

Test each entry with the phrase an employee would use

After you add or change an entry, run these checks in the client your employees use (Employee AppStore, Slack or Jira):
  • Custom app. Ask for the app using one of your listed phrases. Does the agent offer the right app and permission?
  • Custom app, vague. Describe the work without naming the app. Does it still match?
  • Conditional field. Request a permission that triggers the field, then one that does not. Is the field asked only in the first case?
  • Substitution. Ask for the replaced app. Does the agent name the replacement and wait for confirmation?
  • No match. Ask for an app you do not offer. Does the agent suggest an alternative or send you to IT, without inventing an app?
  • Ambiguous names. Ask for an app whose name overlaps another. Does the agent ask which one?