The Lyzr ADK (Agent Development Kit) is a Python library for building, deploying, and managing AI agents. It provides a simple, intuitive interface to create agents with features like RAG, memory, tools, and responsible AI guardrails.Documentation Index
Fetch the complete documentation index at: https://docs.lyzr.ai/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Install the ADK using pip:Quick Start
Authentication
The ADK requires an API key for authentication.Getting Your API Key
- Sign in to Lyzr Studio
- Go to your Account page
- Copy your API key
Providing the API Key
You can provide the API key in three ways:Direct Parameter
Environment Variable
.env File
Create a.env file in your project root:
Key Concepts
Studio
TheStudio class is the main entry point. It manages connections and provides methods to create and manage all resources.
Agents
Agents are AI-powered entities that can understand and respond to messages. Each agent has a provider (LLM), role, goal, and instructions.Knowledge Bases
Knowledge bases enable RAG (Retrieval Augmented Generation) by storing and querying documents.Memory
Memory allows agents to maintain conversation context across sessions.Tools
Tools let agents execute Python functions to perform actions.Contexts
Contexts provide background information to agents as key-value pairs.RAI Guardrails
Responsible AI policies provide safety features like toxicity detection, PII handling, and content filtering.Supported Providers
The ADK supports multiple LLM providers:| Provider | Models |
|---|---|
| OpenAI | gpt-4o, gpt-4o-mini, gpt-5, o3, o4-mini |
| Anthropic | claude-sonnet-4.5, claude-opus-4.5, claude-3.7 |
| gemini-2.0-flash, gemini-2.5-pro, gemini-3.0-pro | |
| Groq | llama-3.3-70b, llama-4-maverick |
| Perplexity | sonar, sonar-pro |
| AWS Bedrock | nova-pro, claude-3.7-sonnet |
Context Manager
The ADK supports context manager pattern for automatic cleanup:Next Steps
Studio
Learn about the Studio class and initialization options
Agents
Create and manage AI agents
Knowledge Bases
Build RAG-powered agents with document retrieval
Providers
See all supported LLM providers and models