cURL
curl --request POST \ --url http://localhost:3000/api/agents \ --header 'Content-Type: application/json' \ --data ' { "characterPath": "<string>", "characterJson": {} } '
{ "success": true, "data": { "character": { "name": "<string>", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "bio": "<string>", "settings": {}, "system": "<string>", "style": {}, "lore": [ "<string>" ], "messageExamples": [ "<string>" ], "topics": [ "<string>" ], "plugins": [ "<string>" ] } } }
Create a new AI agent with custom configuration and capabilities
Path to a character file
Character configuration in JSON format
Agent created successfully
true
Show child attributes
Was this page helpful?