Get started with the Lyzr Agent Development Kit (ADK) for building AI agents
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.
from lyzr import Studio# Initialize the SDKstudio = Studio(api_key="your-api-key")# Create an agentagent = studio.create_agent( name="My Assistant", provider="gpt-4o", role="Helpful assistant", goal="Help users with their questions", instructions="Be concise and accurate")# Run the agentresponse = agent.run("What is machine learning?")print(response.response)
Agents are AI-powered entities that can understand and respond to messages. Each agent has a provider (LLM), role, goal, and instructions.
Copy
Ask AI
agent = studio.create_agent( name="Support Bot", provider="gpt-4o", role="Customer support agent", goal="Resolve customer issues", instructions="Be empathetic and solution-oriented")response = agent.run("I need help with my order")