Create a reusable Agent: a set of datasets, published Rules, capabilities and chart types. Use it with any agent through AIPrompt ( agent_id ) or the MCP server ( agentId ).
If you omit allowed_chart_types , the Agent can create the 20 recommended chart types. Pass your own list to choose them, or null to allow every chart type.
The authenticated user becomes the creator and initial owner. Creating Agents requires a Designer or Owner organization role. See Creating and using Agents through the API for an end-to-end example.
npm install @luzmo/nodejs-sdk{
"id": "4ae128cc-1376-4f3f-876d-09b2a841f906",
"name": {
"en": "Revenue assistant"
},
"description": {
"en": "Answers revenue questions and creates supporting charts."
},
"capabilities": [
"data_analysis",
"chart_creation"
],
"allowed_chart_types": [
"kpi",
"bar-chart",
"line-chart",
"regular-table"
],
"theme_id": "default",
"user_id": "444e2d0c-8dfb-45c1-bb97-52cb9264671f",
"shareable_id": "5a96ab29-86d7-4855-93ce-a9cfc9b138c5",
"created_at": "2026-09-29T08:48:21.140Z",
"updated_at": "2026-09-29T08:48:21.140Z"
}