Skip to main content
The Studio class is the main entry point for the Lyzr ADK. It manages authentication, connections, and provides methods to create and manage all resources.

Quick Start

Initialization

Parameters

Example


Agent Methods

create_agent()

Create a new agent.

get_agent()

Get an agent by ID.

list_agents()

List all agents.

delete_agent()

Delete an agent by ID.

bulk_delete_agents()

Delete multiple agents.

Knowledge Base Methods

create_knowledge_base()

Create a new knowledge base for RAG.

get_knowledge_base()

Get a knowledge base by ID.

list_knowledge_bases()

List all knowledge bases.

delete_knowledge_base()

Delete a knowledge base.

Context Methods

create_context()

Create a context (key-value background information).

get_context()

Get a context by ID.

list_contexts()

List all contexts.

RAI Policy Methods

create_rai_policy()

Create a Responsible AI policy.

get_rai_policy()

Get a RAI policy by ID.

list_rai_policies()

List all RAI policies.

Memory Methods

create_memory_credential()

Create a memory credential for Lyzr memory.

Module Access

You can also access methods through dedicated modules:

Context Manager

Use Studio as a context manager for automatic cleanup:

Logging

Control ADK logging verbosity: