# Create a new custom Agent `AddAgent` `PUT /api/agents/{scope}` - [OpenAPI fragment](https://www.lusid.com/docs/api/candela/endpoints/agents/AddAgent.json) - [Rendered page](https://www.lusid.com/docs/api/candela/endpoints/agents/AddAgent) ## Referenced schemas - [AddAgentRequest](https://www.lusid.com/docs/api/candela/schemas/AddAgentRequest.txt) - [AgentDefinition](https://www.lusid.com/docs/api/candela/schemas/AgentDefinition.txt) [< Agents](https://www.lusid.com/docs/api/candela/endpoints/agents/llms.txt)