Close · Esc
Lyzr Agent Studio · Platform guide · November 2026

Everything you need to know about Lyzr Studio

A sequential walkthrough of the platform, starting with what agents are built from and ending with how Studio is deployed, isolated, secured and scaled in production.

Who it is forBuilders, architects, security and platform teams
How to read itTop to bottom, or jump by chapter
Referencedocs.lyzr.ai
Chapter 01 · Understand

What Lyzr Studio is

Lyzr is a full-stack agent infrastructure platform. Agent Studio is the visual layer where you build, test, deploy and monitor agents, and every agent you build is also an API.

Studio gives business users a no-code builder and gives engineers full programmatic control. Memory, knowledge bases and Responsible AI guardrails switch on per agent, and every published agent automatically exposes an OpenAPI 3.1 REST endpoint (plus gRPC stubs), so it can be dropped into existing services, multi-agent systems or protocols such as MCP and Google A2A.

The platform in five layers

The top three layers are where agents are built and run. The bottom two are the foundations every agent depends on.

Application

Architect

Text-to-app. Generates full-stack agentic applications (frontend, multi-agent backend, auth, database) from plain-English descriptions, using agents configured in Studio.
Builder

Agent Studio

Visual environment for single agents, multi-agent orchestration (Manager Agent and SuperFlow), knowledge bases, voice agents, evaluation, deployment and team governance.
Models

Model layer

Model-agnostic. Swap providers without changing your integration, or bring your own model.
Infrastructure

Secure runtime

Cloud-agnostic. Runs on Lyzr Cloud (SaaS), in your own cloud account, or on-premises, without code changes to your agents.

What happens on every agent call

Safety is part of the request path, not a separate service you call. Each request moves through the same pipeline:

01 · Input

Input checks

PII, prompt injection, toxicity and entitlement checks before the model sees anything.

02 · Agent CPU

Reason and act

LLM inference, RAG retrieval and tool calls, with a feedback loop to refine answers.

03 · Verify

Hallucination Manager

Reflection, groundedness and context relevance checks.

04 · Output

Output checks

Fairness and bias, human-in-the-loop gates where set, PII and toxicity re-checked.

05 · Record

Persist and return

Written to memory, logged to traces, scored by eval if configured, then returned.

Chapter 02 · Understand

Core building blocks

An agent is a role, a goal and instructions, plus the capabilities you switch on. Everything in Studio, including multi-agent systems, is assembled from these pieces.

Agents

The agent is the fundamental unit. Its role, goal and instructions are the source of truth for behaviour, and its core features (memory, knowledge base, Responsible AI and so on) add capability. Agents are tested in the Playground, which supports multiple sessions, file uploads (PDF, DOCX, PPTX, Excel, images) with table and image extraction, and side-by-side model comparison with tokens and timings shown under each answer. You can also describe an agent in plain English to the Conversational Builder.

Agent builder with role, goal and instructions on the left and model, knowledge, tools, skills, automation and features on the right
Fig 2.1The agent builder. Role, goal and instructions on the left; model, output format, knowledge, tools, skills, triggers and features on the right.

Models

Studio is model-agnostic, with ready-to-use models from OpenAI, Anthropic, Google, Amazon Bedrock, Groq, Perplexity, xAI, Mistral and Meta. Three capabilities matter most in production:

Resilience

Fallback models

Up to three backup models in priority order. If the primary fails from an outage, rate limit or regional issue, requests route to the next one automatically.

Cost

Auto-routing

Assign a model to Simple, Medium, Complex and Reasoning tiers. Each request is classified and served by the matching tier, typically cutting per-request cost 30 to 50 percent.

Control

Bring your own model

Add your own credentials (for example your OpenAI or Bedrock account) on enterprise plans. Locally running models are supported in VPC deployments.

Auto-route by complexity dialog with a model assigned to Simple, Medium, Complex and Reasoning tiers
Fig 2.2Auto-routing. One model per complexity tier, with relative cost and speed shown for each.
Playground comparing three model responses side by side with tokens and timings
Fig 2.3Playground comparison. One prompt to several models, with tokens and timings under each answer.

Memory

Memory lets agents stay coherent within and across conversations. Lyzr Cognis is the default production memory layer, with zero configuration, automatic updating of stale facts, and optional cross-session memory for the same user. The earlier Lyzr Memory keeps the last 10 messages verbatim and summarises older ones. You can also bring your own provider: Bedrock AgentCore Memory, Mem0, SuperMemory, Azure AI Foundry, or Vertex AI Memory Bank and Sessions.

Knowledge: three ways to ground an agent

TypeBest forHow it works
Knowledge BaseDocuments, text, websitesNo-code RAG. Configurable chunking, Basic, MMR or HyDE retrieval, and Basic, Agentic or One-Shot RAG across multiple KBs. Live sources (SharePoint folder-level, websites) re-sync deltas on a schedule, hourly at minimum.
Knowledge GraphRelationship-heavy data, multi-hop questionsEntities and relationships extracted into your Neo4j instance, queried through Cypher.
Semantic ModelStructured databases (Text-to-SQL)Adds table and column meaning to a selected subset of your schema so the agent converts natural language into SQL and answers in plain language.
Knowledge graph visualisation showing entities connected by labelled relationships
Fig 2.4A knowledge graph built automatically from uploaded documents. Entities become nodes and relationships become edges the agent can traverse.

Knowledge bases and graphs are also available as a service, so agents built on LangChain, Semantic Kernel or other frameworks can query the same knowledge without duplicating data.

Tools, Skills, Global Context and Structured Output

Act

Tools

Pre-built integrations, custom tools (API key, OAuth or no auth, with token refresh handled for you), and MCP servers. When an agent is shared, each tool either uses one shared credential or asks every end user to sign in with their own account.

Reuse

Skills

Modular, reusable capabilities (code, tool integrations, multi-step prompts) added from a zip or GitHub repo with a SKILL.md at its root, or picked from Lyzr's library, and shareable with teammates.

Consistency

Global Context

Shared instructions such as brand voice, product facts or policy, written once and attached to many agents. An agent can carry several contexts.

Integrate

Structured Output

Responses returned as JSON against a schema, so downstream systems, dashboards and APIs can parse them predictably.

Chapter 03 · Understand

Orchestration and automation

Two ways to make agents work together, a choice of triggers to run them without a human, and Git to manage them like software.

Non-deterministic

Manager Agent

A manager agent decides which worker agents to call and in what order, based on each request. Best when the path depends on the question. Add workers by typing @ in the instructions.

Deterministic and durable

SuperFlow

A visual workflow builder with 30+ node types (AI Agent, LLM, HTTP Request, Code, If, Loop, Wait for Approval, Parse, Extraction and more). Can also be built by describing the flow in chat.

Lyzr Manager canvas showing a manager agent delegating to several worker agents
Fig 3.1Manager Agent. A manager delegates to worker agents, drawn from the agent library on the left.
SuperFlow canvas with the node library on the left, a workflow in the centre and the Build with AI chat on the right
Fig 3.2SuperFlow. Node library on the left, the workflow on the canvas, and Build with AI on the right, where the flow was generated from a one-paragraph description.

Why SuperFlow is production infrastructure

  • Durable execution. Every step is journaled. If the service restarts mid-run, execution resumes from the point of failure.
  • Exactly-once side effects. A step that succeeded never runs again, so retries do not double-charge, double-email or re-fire API calls.
  • Per-node retries with exponential backoff, and opt-in error edges that route permanent failures to a fallback or a human.
  • Human-in-the-loop. Wait for Approval pauses a run durably, with typed approval forms validated server-side, so irreversible actions can be gated.
  • Enterprise HTTP auth built in: Bearer, Basic, API key, OAuth2 client credentials, AWS SigV4, JWT and mTLS.
  • Crash-safe schedules. Cron ticks are not missed and queued runs survive restarts. Flows are versioned.

Triggers

Agents and workflows can run on a schedule (minutes, hours, days, months or cron, with up to 10 retries and a configurable delay) or from a webhook (a dedicated endpoint secured by a regenerable secret key). Every run appears in an Executions dashboard with status and error reason.

Scheduler configuration with interval, minute, max retries and retry delay
Fig 3.3Scheduler configuration, with retry count and retry delay for unattended runs.

Git for Agents

Connect any agent to GitHub or GitHub Enterprise and its configuration lives in a repository. Use branches for dev, staging and production (each with its own API key), promote through pull requests, enforce branch protection, and restore any commit in one click. Edits sync both ways between Studio and Git, giving you an audit trail for regulated change control.

Promote Branch dialog from non-prod to main with pull request or direct merge options
Fig 3.4Promoting a change from non-prod to main, through a reviewable pull request or a direct merge.
Chapter 04 · Understand

Voice agents

Low-latency conversational agents you can put on a phone number, with the same knowledge and guardrail features as text agents.

EngineHow it worksChoose it when
RealtimeOne audio-to-audio model, sub-500ms latency, natural interruption handlingUsers interrupt often and latency matters most
PipelineSeparate STT, LLM and TTS providers you chooseYou need control over each stage, cost or voice
Voice agent engine mode selector with Pipeline chosen and STT, LLM and TTS components configured
Fig 4.1Choosing the engine. Here the Pipeline engine combines a streaming STT, a lightweight LLM and a TTS voice.

Voice agents connect to Telnyx, Twilio or Plivo using your own accounts, support knowledge base retrieval, dynamic variables, pronunciation rules, Krisp noise cancellation and call recording. Every call produces a transcript with interruption tracking, handoffs and a technical event log.

Chapter 05 · Understand

Integrations and APIs

Studio connects to your data and tools, and every agent can be called from your own applications.

Data and vector stores

Data connectors

SQL and NoSQL

Amazon Redshift, PostgreSQL, MySQL, Google BigQuery, MongoDB, Azure SQL, Microsoft SQL Server, Databricks, Snowflake, plus CSV, Excel and JSON upload.

Vector stores

Choose your backend

Weaviate, Qdrant, Milvus, PGVector, SingleStore, Neo4j and Amazon Neptune. Lyzr provides managed defaults for Qdrant and Weaviate; others use your credentials.

Interoperability

  • MCP. Connect any MCP server by URL (API key or OAuth) and choose which actions each agent may use.
  • A2A. Call agents built on other platforms (LangChain, CrewAI and others) from Lyzr agents and workflows by their A2A server URL.

Calling agents from your applications

Every agent is instantly deployable. Publish it in Studio with Private, Organization or Public visibility, and call it through its REST endpoint or the Python ADK.

POST https://agent-prod.studio.lyzr.ai/v3/inference/chat/
x-api-key: <YOUR_API_KEY>      # always server-side, never in frontend code
Content-Type: application/json

{
  "agent_id":   "<AGENT_ID>",
  "user_id":    "user@company.com",
  "session_id": "conv_abc123",
  "message":    "..."
}

The Deploy tab of every agent shows this request ready to copy, alongside the agent's A2A endpoint and its Agent JSON. How you set session_id and user_id decides what the agent remembers:

Patternsession_iduser_id
Single conversation (support chat)New per conversation, reused each turnThe end user's ID
Returning user with memory (SaaS app)New per conversationStable per user, enables cross-session memory
Stateless lookup (FAQ)New per requestA generic ID
Shared team threadShared across usersDifferent per user
Chapter 06 · Under the hood

Platform architecture

Studio is a set of containerised microservices on Kubernetes. The service topology is the same everywhere it runs; only the substrate underneath changes.

Deployment models

Lyzr Cloud

Managed SaaS

Shared multi-tenant platform on AWS EKS with logical tenant isolation. Fastest to start; nothing to operate.

Your cloud

Private VPC

The full platform deployed into your AWS, Azure or GCP account, behind your network controls, identity and keys.

Your datacenter

On-premises

Bare-metal Kubernetes with self-hosted equivalents for every managed cloud service.

Service topology

The sizing baseline is 16 services in two tiers. The current service catalogue is broader (20+ services, including Skills, the Simulation Engine, Agent Builder and background workers), so confirm the exact list for your version with Lyzr.

TierServiceRole
HighAgent API / WebSocketReal-time agent execution and chat. The primary client-facing service.
HighRAGRetrieval-augmented generation; heaviest traffic to the vector store.
HighOrchestrationMulti-step workflow coordination across agents and tools.
HighCrawler and ParseWeb crawling and document parsing. Bursty, queue-driven workloads.
StandardMCP, Scheduler, Data Query, ACITool protocol handling, cron and jobs, the query engine, and the agent compute interface.
StandardMemory, Frontend, SRSState store, the Studio web app, and speech recognition.
StandardMetrics, OTelApplication telemetry and the OpenTelemetry trace and metric collector.
StandardMarketplace, Billing, URL shortenerAgent catalogue, payments and utility services.

Reference architectures

Every cloud follows the same three-zone pattern: a public edge (WAF and load balancer), a private application subnet running the Lyzr services, and a private data subnet reachable only from the application tier. Pick a cloud to see its diagram; click any diagram to enlarge it.

AWS reference architecture: WAF and ALB in public subnets, EKS cluster with Lyzr services in private app subnets, ElastiCache, Postgres RDS, OpenSearch and DocumentDB in private DB subnets, Bedrock for models
Fig 6.1 · AWSTraffic enters through WAF and an ALB, reaches the EKS cluster running all services plus Keycloak in private app subnets across availability zones, and the data tier sits in private DB subnets. Bedrock is called from the app tier; egress leaves through a NAT Gateway. VPC endpoints are recommended for ECR, STS, Secrets Manager, SQS, S3, Bedrock and KMS.
Azure reference architecture: Front Door and Application Gateway, Lyzr services as Container Apps, Cosmos DB, Postgres, Redis and VMs for ClickHouse, Keycloak and Qdrant, Azure AI Foundry for models
Fig 6.2 · AzureFront Door provides global routing and WAF; Application Gateway terminates TLS with mTLS to the backend. Services run as Container Apps, with high-tier services on a dedicated workload profile. Managed data services are reachable only through Private Endpoints; Managed Identity handles service auth and Key Vault holds all secrets.
GCP reference architecture: Cloud Armor and Cloud Load Balancing, Lyzr services on private GKE, Firestore, Cloud SQL, AlloyDB, Memorystore, BigQuery and VMs for Qdrant, Keycloak and ClickHouse, Vertex AI for models
Fig 6.3 · Google CloudCloud Armor and Cloud Load Balancing front a private, regional GKE Autopilot cluster with Workload Identity and default-deny network policy. Cloud CDN caches the Studio frontend. Secret Manager and Cloud KMS hold secrets and customer-managed keys.
Bare-metal Kubernetes reference architecture with ingress tier, control plane pool, app worker pool, data worker pool and ops worker pool
Fig 6.4 · On-premA 12-node cluster split into four tainted pools (control plane, app, data and ops), so one tier cannot consume another's resources. Every managed cloud service is replaced with a self-hosted equivalent, such as CloudNativePG, Vault, MinIO and Harbor.

Diagrams from Lyzr's Solutions Architecture reference designs. The diagrams show the full current service catalogue, which is wider than the 16-service sizing baseline above.

The same platform on every substrate

LayerAWSAzureGCPOn-prem
ComputeEKSContainer AppsGKE Autopilotkubeadm or RKE2, 4 tainted node pools
Workload identityEKS Pod IdentityManaged IdentityWorkload Identity FederationVault Kubernetes auth
EdgeWAF, ALBFront Door, App GatewayCloud Armor, Cloud LBMetalLB, NGINX, ModSecurity
DataRDS Postgres, DocumentDB, ElastiCachePostgres Flexible, Cosmos DB, RedisCloud SQL, AlloyDB, Firestore, MemorystoreCloudNativePG, MongoDB, Redis Sentinel
Vector, analyticsQdrant, ClickHouseQdrant, ClickHouseQdrantQdrant, ClickHouse
Secrets and keysSecrets Manager, KMSKey VaultSecret Manager, Cloud KMSHashiCorp Vault
Queues, storageSQS, S3Service Bus, StoragePub/Sub, Cloud StorageNATS or RabbitMQ, MinIO
ObservabilityCloudWatchAzure Monitor, App InsightsCloud MonitoringPrometheus, Grafana, Loki
DeliveryHelmBicepTerraformArgoCD, Helm, Kustomize
Chapter 07 · Under the hood

Tenancy and data separation

On Lyzr Cloud, Studio runs on shared multi-tenant infrastructure with logical tenant isolation. Dedicated per-tenant infrastructure or databases are not created by default.

The isolation boundary is the organisation ID

Every organisation and every sub-account gets a unique org_id, and every resource, user assignment and permission is mapped to it. A resource belongs to exactly one org_id, and a user's access is evaluated against the org they are operating in. Two sub-accounts under one parent are as separated from each other as two different companies.

Where each kind of data lives

DataWhere it is storedHow it is separated
LLM credentials, MCP and enterprise connectionsThe shared platform's secret and configuration storesLogically scoped to your organisation. Each org can use its own credentials, including customer-provided OpenAI or Amazon Bedrock keys. Not a separate database or Secrets Manager instance per tenant.
Agents, workflows and sessionsThe shared Studio platformConfiguration and runtime or session data are logically associated with your tenant, not deployed on tenant-dedicated infrastructure.
Knowledge bases and context dataShared PostgreSQL and Qdrant data storesLogical tenant separation by organisation.
Tool credentials (OAuth tokens, API keys)Lyzr's secure credential storeScoped to your organisation; can use your own OAuth applications.

When you need a stronger data boundary

  • Bring your own data store. Connect your own vector database or PostgreSQL (or another supported vector-capable store) for knowledge base data, so that data stays in infrastructure you control.
  • Bring your own model credentials. Inference runs against your provider account, for example Bedrock in your own region.
  • Use your own OAuth apps for tools, so authentication and data access stay under your governance.
  • Deploy privately. A VPC or on-prem deployment gives you dedicated infrastructure, databases and secret stores (chapter 12).
  • Separate teams with sub-accounts inside your organisation (chapter 11).
Chapter 08 · Under the hood

Security and responsible AI

Guardrails run inside the inference loop on every turn. Policies are written once and attached to many agents, and changes apply from the next message.

Guardrail families

FamilyModules
Lyzr nativeToxicity detection, prompt injection protection, secrets detection (API keys, tokens, JWTs, private keys), allowed and banned topics, blocked keywords, NSFW, gibberish, valid OpenAPI spec, valid SQL
PII controlsDisable, block or redact nine categories: card numbers, emails, phone numbers, names, locations, IP addresses, SSNs, URLs, dates and times
ComplianceChecks input and output against 14 built-in frameworks and your own rules
Amazon BedrockSexual content, violence, hate speech, insults, misconduct, prompt attacks (uses your Bedrock credentials)
Hallucination ManagerReflection, groundedness, LLM as a judge (beta)

Prompt injection is scored before the question reaches the LLM (default threshold 0.3) and blocked above threshold. Toxicity is scored on the response (default 0.4); a toxic draft is sent back to the model for a safe alternative.

Playground showing a prompt injection attempt detected with 100 percent confidence above a 30 percent threshold
Fig 8.1A prompt injection attempt caught in the Playground before it reaches the model, with the confidence score and threshold shown.

Compliance guardrails

Switch on Compliance in a policy, pick frameworks, and add plain-English custom rules with a severity. Both checks run at temperature 0 for consistent verdicts, and an audit record with trace spans is written for every check, whether or not anything fails.

RegionFrameworks
InternationalISO 27001, SOC 2, PCI DSS
European UnionGDPR, EU AI Act
United StatesHIPAA, CCPA (with CPRA), FedRAMP
SingaporeMAS, PDPA
AustraliaISM, PSPF, Privacy Act, IRAP
  • Block mode (default): HIGH or CRITICAL failures withhold the reply; LOW and MEDIUM failures are flagged.
  • Flag mode: the reply is delivered and reviewers see the concerns with evidence quotes.
  • A blocked input never reaches the model; it sees only the block notice.
Compliance section of a Responsible AI policy with frameworks such as ISO 27001 and CCPA selected
Fig 8.2Turning on Compliance in a policy and ticking frameworks. Each comes with a readable rule set maintained by Lyzr.
An agent reply withheld for critical IRAP compliance failures, listing each failed rule with severity and evidence
Fig 8.3Block mode in action. A reply that fails CRITICAL IRAP rules is withheld, and Studio lists each failed rule with its evidence.
Note

Compliance guardrails check what agents say against the rules behind each framework. They help you operate in line with those standards; they are not a certification of the platform. Ask Lyzr for its current certifications and security documentation as part of your review.

Access, credentials and API security

  • Role-based access with Owner, Admin and Member roles. Only Owners and Admins manage models and data connectors.
  • Audit log of every platform action, filterable by date, user, action (read, delete, access denied, export), resource type and result.
  • Tool credentials are held in Lyzr's secure store on SaaS, or in your own infrastructure for private deployments. Custom OAuth apps keep authentication under your governance.
  • API keys must be sent server-side only, never from frontend code. Webhook endpoints are protected by regenerable secret keys.
  • Memory scope. Per-conversation memory is the default and the more privacy-friendly option; enable cross-session memory deliberately.

In a private deployment

Secrets live in your cloud's secret manager or HashiCorp Vault and are mounted through the Secrets Store CSI driver with rotation enabled on AWS. Services authenticate to cloud resources with workload identity (Pod Identity, Managed Identity, Workload Identity Federation) instead of long-lived keys. Data stores are reachable only on private endpoints, ingress is TLS-terminated behind a WAF, and customer-managed encryption keys are supported on AWS, Azure and GCP. On GKE and bare-metal, namespaces run with default-deny network policy and restricted Pod Security Standards.

Chapter 09 · Under the hood

Scaling and availability

Studio scales in two layers on EKS. KEDA adds and removes pods per service based on load, and the Cluster Autoscaler adds nodes when new pods cannot be scheduled.

Layer 1 · Pod autoscaling · KEDA

Each HTTP service in production runs 3 to 10 pods (the UI up to 50) and scales out at 70 percent CPU or memory.

Layer 2 · Node autoscaling · Cluster Autoscaler
APP
APP
+ NODE
+ NODE

The app node group runs 2 to 20 m5.large nodes, beside a system group of 2. Pending pods trigger new nodes.

Pod autoscaling

Every enabled HTTP service gets a KEDA ScaledObject, and KEDA creates and manages the HPA behind it (a plain HPA is used only when a service opts out; the two are never combined on one Deployment). When several triggers are active, the one asking for the most pods wins.

TriggerWhen activeDefault
CPU utilisationAlways70 percent, customisable
Memory utilisationWhen a memory threshold is set70 percent, customisable
HTTP requests per secondWhen Prometheus scaling is enabled (via SigNoz)Customisable

KEDA's cooldown is 60 seconds for services. ArgoCD ignores replica counts on Deployments, so a GitOps sync never resets what the autoscaler has set.

Node autoscaling

Node capacity comes from the EKS Cluster Autoscaler on managed node groups. When a new pod does not fit on any node it waits as Pending until a node is added. Pods can run on any node unless a node selector is configured.

Availability guards

Rollouts

Rolling updates

maxSurge 0 and maxUnavailable 1: a pod is removed before its replacement starts, so a rollout needs no extra node capacity.

Disruption

PodDisruptionBudgets

At most one pod per HTTP service is evicted at a time during node drains and scale-downs.

Resources

Guaranteed QoS

Requests equal limits for most services, so CPU and memory are measured against the full limit and pods are not starved by neighbours.

Traffic

Probes and graceful shutdown

Liveness and readiness probes on every HTTP service; pods get traffic only when ready. Termination grace of 30s for services and 60s for workers lets in-flight work finish.

Resilience above the infrastructure

  • Model fallback across up to three providers keeps agents answering through a provider outage or rate limit.
  • Durable SuperFlow execution resumes after restarts without re-running completed steps.
  • Queue-driven workers for parsing, crawling and knowledge base sync absorb bursts without slowing the chat path.
  • Rate limits protect shared capacity from spikes and abuse (chapter 11).
For private deployments

Qdrant, ClickHouse and Keycloak have no first-party managed equivalent on any cloud, so they run as VMs or StatefulSets. For production, size them as clusters rather than single nodes from day one. On Azure and GCP, managed services bill per vCPU-second, so cost grows with traffic.

Chapter 10 · Under the hood

Observability and lifecycle

Test before production, watch after, and keep every change reversible.

Before production

Simulation Engine

Generates scenarios, personas and test cases (single or multi-turn), scores agents on task completion, hallucination, bias, toxicity, faithfulness and more, and recommends fixes through Agent Hardening.

After production

Agent Improvement Engine

Evaluates live traffic on a schedule, detects drift, hallucinations and tool failures, logs each with root cause, emails alerts and can harden prompts automatically.

Every run

Traces and analytics

Each interaction records the query, reasoning, tool calls, responses, latency, tokens and model. Analytics shows traces, credits and latency trends; voice calls get full transcripts.

Every change

Versioning and Git

Every save creates a restorable version, available through the API. Git for Agents adds branches, pull requests and promotion between environments.

Trace view showing input, output, duration, tokens, credits and a timeline of each operation
Fig 10.1A single trace. Input, output, duration, tokens and credits at the top, and a timeline of every operation (memory lookups, model call) below.
Monitoring dashboard with credits consumed, average latency, error rate and token usage over time
Fig 10.2The monitoring dashboard: credits, latency, error rate and token usage over time.
Simulation Engine environment with generated scenarios and personas for an agent
Fig 10.3Simulation Engine. Scenarios and personas generated from the agent's configuration, ready to turn into test cases.
Version history panel listing saved versions of an agent with restore buttons
Fig 10.4Version history. Every save is a version that can be restored in one click.

Owners and Admins can download organisation-wide reports in Excel by agent (runs, credits, tokens, latency, error rate) or by user. In private deployments, logs, metrics and traces flow into your own stack through OpenTelemetry and the native monitoring service for your cloud, or Prometheus, Grafana and Loki on-prem.

Chapter 11 · Under the hood

Governance and cost control

Organise teams into isolated workspaces, give people the right roles in each, and cap spend at every level.

Roles

CapabilityOwner (one)AdminMember
Manage users and sub-organisationsYesNoNo
Billing and top-upsYesNoNo
Add models and data connectorsYesYesNo
Build agents, knowledge bases, RAI policiesYesYesYes
Share agentsYesYesYes
Audit log and org-wide reportsYesYesOwn usage only

Sub-accounts

Sub-accounts split one organisation into separate workspaces, typically one per team, department, client or project. Each has its own org_id, and its agents, knowledge bases, tools, skills, users, roles and usage stay inside it. A person can be an Admin in one sub-account and a Member in another, and a role in one confers no access in any other. Sub-accounts are enabled on request.

Rate limits

Set token or credit limits over any window (hourly, daily, weekly, monthly or custom) at four levels. Limits cascade, so a user cannot exceed their team's limit even if the organisation has quota left. When a limit is hit, requests fail cleanly with a quota-exceeded response.

Level 1

Organisation

Overall ceiling

Level 2

Team or sub-org

Allocation per team

Level 3

User

Fair use per person

Level 4

Agent

Protect heavy agents

How usage is metered

Usage is metered in credits, where one credit equals one dollar. Model usage is token count (prompt plus response, including instructions and retrieved context) multiplied by a per-model rate. Tool calls cost a fixed amount per invocation, memory is free, and guardrails and groundedness checks add cost based on the modules used. Auto-routing and lighter models are the main levers for keeping cost down.

Chapter 12 · Go live

Deploying in your VPC or on-prem

Installing the software is rarely the long pole. Network, identity and security approvals are, so they should start on day one, in parallel with provisioning.

What your teams will evaluate

AreaWhat Lyzr provides
DeploymentReference architectures and infrastructure-as-code for EKS (Helm), Azure Container Apps (Bicep), GKE Autopilot (Terraform) and bare-metal (ArgoCD GitOps)
SecurityPrivate subnets and endpoints, WAF at the edge, workload identity, your secret manager and KMS, CMK support
IdentityKeycloak in-cluster for SSO with your IdP over SAML, OAuth or OIDC
ModelsYour choice of provider, in-region options (Bedrock, Azure OpenAI, Vertex) or locally hosted models
NetworkingPrivate-subnet operation, NAT-based egress you can allowlist, VPC endpoints to avoid public paths
OperationsAutoscaling, PDBs, rolling upgrades, OpenTelemetry into your monitoring stack

The deployment sequence

WeekFocusActivities
1Discovery and alignmentConfirm environment, IdP, model choice, data sources, network posture and compliance scope. Bring security and infrastructure stakeholders in. File network-change requests now.
2Network and platform bootstrapVPC or VNet and cluster provisioning; platform services in dependency order, keys and secrets first, ingress and WAF last.
3Data tier and identityManaged databases and vector and analytics stores provisioned; SSO validated with real accounts; first data connectors configured.
4Application, hardening, UATAll services deployed; outbound traffic checked against the allowlist; encryption confirmed; logs and metrics wired to your stack; pilot on real workloads.
5Go or no-go and handoffUpgrade, rollback, backup and restore runbooks delivered; production rollout plan and ownership agreed.

Indicative only. Adjust to your own change-control cadence, especially for network and identity approvals.

AWS prerequisites at a glance

  • EKS 1.35 with the OIDC provider and the EKS Pod Identity Agent add-on enabled (Pod Identity is used, not IRSA).
  • System nodes 2 × m5.large; app nodes 2 to 20 × m5.large with autoscaling.
  • Add-ons: AWS Load Balancer Controller, Secrets Store CSI Driver, AWS Secrets and Config Provider, KEDA, Metrics Server, Cluster Autoscaler.
  • Secrets Manager entries for shared and per-service secrets, ECR repositories, SQS queues, S3 buckets, an ACM wildcard certificate and wildcard DNS to the ALB.
helm install lyzr-studio ./chart/lyzr-studio \
  -f ./chart/lyzr-studio/values.yaml -f ./values-<env>.yaml \
  --namespace lyzr-studio --timeout 10m

On-premises sizing reference

PoolNodesPer nodeRuns
Control plane34 vCPU, 8 GiB, 100 GB SSDKubernetes control plane
App workers48 vCPU, 32 GiB, 200 GB SSDLyzr services, ingress
Data workers316 vCPU, 64 GiB, 2 TB NVMePostgreSQL, MongoDB, Qdrant, ClickHouse, Redis, Keycloak
Ops workers24 vCPU, 16 GiB, 500 GB SSDMonitoring, logging, secrets, registry, GitOps, object store

About 108 vCPU and 416 GiB in total, with roughly 2× headroom over steady state. On-prem LLM inference needs a separate GPU sizing exercise. See Fig 6.4 in chapter 06 for how the pools fit together.

Things to line up early

  • Firewall and proxy changes usually go through change control and can take weeks.
  • Secrets. Services need many per-service keys; have your secrets and IAM team ready to provision them before install.
  • Model access. Confirm whether outbound calls to public model APIs are allowed, and choose an in-region or self-hosted fallback if not.
  • Identity mapping of directory groups to roles often involves a separate IAM queue.
  • Written success criteria, agreed with security and architecture as well as the business sponsor.
Before you finalise scope

Exact service counts, versions and sizing evolve between releases. Lyzr's Solutions Architecture team will confirm the current bill of materials and an infrastructure cost estimate for your region and scale.

Chapter 13 · Go live

Getting started checklist

A suggested path through your first weeks. Tick items as you go; your progress is saved in this browser.

  • Sign in at studio.lyzr.ai and copy an API key from Account and API Keys
  • Build and test a first agent with a knowledge base in the Playground
  • Add your own model credentials and configure fallback models
  • Create a Responsible AI policy with PII, prompt injection and the compliance frameworks you need, and attach it
  • Call the agent from your backend over the REST API or ADK, with session_id and user_id
  • Set up roles, sub-accounts and rate limits for your teams
  • Run a Simulation Engine evaluation before going live
  • Connect the agent to Git and set up a non-prod branch
  • Decide on SaaS or private deployment, and if private, start the network and identity requests

Resources

Learn

Documentation

Concepts, guides and the full API reference.

Build

ADK and API

Manage agents programmatically from Python.

Watch

Tutorials

Video walkthroughs of features and use cases.

Ask

Support

Around the clock, at support@lyzr.ai

Join

Community

Builders, questions and announcements.

Track

Changelog

What has shipped in Agent Studio.