Create a new agent using XanoScript
Create a new agent using XanoScript
Authentication: required
POST
Create a new agent using XanoScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
text/x-xanoscript
The body is of type string.
Example:
"agent foo {\n canonical = \"custom\"\n llm = {\n type : \"anthropic\"\n system_prompt: \"You are a helpful AI Agent.\"\n max_steps : 5\n prompt : \"\"\n model : \"claude-4-sonnet-20250514\"\n temperature : 1\n reasoning : true\n baseURL : \"\"\n headers : \"\"\n }\n}\n"
Response
Success!
Retrieve all agents in a workspace
Previous
Generate OpenAPI specification for a specific API endpoint
Next
Create a new agent using XanoScript