Key concepts

The words used across Liyagent: the Liya agents, engines, managed and self-managed agents, triggers, tenants and the gateway.

After reading this page you will be able to:
  • Tell the Liya built-in agents apart and say which ones call a model
  • Explain the three engine modes: rules, rules plus model, and model
  • Explain how tenants separate data on one instance

Liya: the orchestrator and its sub-agents

Liya is the name of Liyagent's agent family and of the agent people talk to. The user-facing agent (key copilot, shown as "Liya") answers in Teams and web chat, summarises a case, finds similar cases and drafts a reply. Behind it, specialised Liya agents each own one stage. Their keys are permanent, and their display names can be renamed per tenant with PUT /api/agents/{key}/display-name.

KeyNameStageUses a model
ingestionLiya IntakePipeline: inbound record to ticket draftNo
classifierLiya ClassifyPipeline: category and priority from a rule tableNo
enrichmentLiya TriagePipeline: rules first for category, priority and team, the model when they are unsure. It adds a triage noteYes
deduplicatorLiya CorrelatePipeline: duplicate and storm detection by similarityNo (embeddings)
strategistLiya ResolvePipeline: retrieves resolutions from the knowledge baseNo (retrieval)
routerLiya AssignPipeline: team and SLANo
notifierLiya NotifyPipeline: email, Teams, Slack and webhook noticesNo
copilotLiyaAssist: answers people, helps an agent on a caseYes
scribeLiya ScribeAssist: drafts KB articles from resolved ticketsYes
auditorLiya ReviewOversight: grades closed cases against a rubricNo
sentinelLiya SentinelOversight: trends and SLA breach riskNo
failure-analystLiya DiagnoseOversight: clusters recurring failures and names the likely causeYes
hr-assistLiya HRAssist: employee HR self-service, as the employee (off until turned on per tenant)Yes
hr-onboardingLiya OnboardingAssist: a new hire's checklist, first week and IT requests (off until turned on per tenant)Yes

Any managed agent can act as an orchestrator too: give it sub-agents and it can delegate work to them under its own budget. See Sub-agents.

Engines: rules, rules + model, model

Every decision in Liyagent is made by one of three kinds of engine. Knowing which one you are looking at tells you whether it is deterministic, what it costs and what a guardrail can see.

EngineHow it decidesExamplesCost
RulesDeterministic tables and thresholds. The same input always gives the same output.Liya Classify's rule table, the routing table, SLA hours, duplicate thresholdsNo model spend
Rules + modelRules decide first. A model pass refines the result off the critical path and can be switched off without breaking the pipeline.Liya Classify followed by Liya TriageOnly the refinement pass
ModelA language model decides, through the gateway, with guardrails, budgets and fallback.Liya, Liya Scribe, managed agents you createMetered per call
Note

The catalogue in ticketiq/agentconf.py marks each built-in agent with whether it calls a model. Agents that don't cannot overspend, and are unaffected when a provider is down.

Managed and self-managed agents

  • A managed agent runs inside Liyagent: its instructions, model binding, MCP tools, sub-agents and run limits live in the console, and it can be started and stopped there. It runs as the agent (its own permissions) or as the invoker (the agent's permissions and the signed-in person's, both checked). An agent that uses a per-user connector must run as the invoker. See Instructions and model.
  • A self-managed agent runs on your infrastructure. It gets a credential and points its OpenAI-compatible client at the gateway, so its model calls are still governed and metered.

Triggers

A trigger is an inbound channel bound to one agent: webhook, teams, slack, google_chat, email, cron (a schedule) or ticket (a ticket event). See Triggers.

Tenants

A tenant is a slice of one instance: its own sources, tickets, knowledge, budgets and settings. A ticket belongs to the tenant of the source it came in through. Users are granted specific tenants (or *), and owners see every tenant. Separation is enforced on the server over one shared database, and per-tenant encryption keys can be turned on so a retired tenant's data can be crypto-shredded. See Tenancy.

The gateway

Every governed model call passes Cedar authorization, rate limits and budgets, input guardrails, the model call itself (with fallback), output guardrails and the audit log, in that order. See AI Gateway.

Next steps