Create Lyzr Agent
lyzr_create_agentCreate a Lyzr agent with name, role, goal, and instructions. Returns an agent_id for use with lyzr_chat.
Instructions
Create a new Lyzr agent. Returns the new agent_id to use with lyzr_chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | What the agent should accomplish | |
| name | Yes | Agent name | |
| role | Yes | The agent's role/persona | |
| model | No | Model name, e.g. gpt-4o-mini, gpt-4o, claude-sonnet-4-5 | gpt-4o-mini |
| provider | No | LLM provider. One of: openai, anthropic, google, gemini, groq, perplexity, aws-bedrock, bedrock, aws | openai |
| description | No | Optional agent description | |
| temperature | No | Sampling temperature (0-2, default 0.7) | |
| instructions | Yes | System instructions that steer the agent |