Create a draft from flags (not publishable until it has a provider and model):
algolia agentstudio agents create --name "support-bot" --instructions "You are a helpful assistant."
Create from a JSON object:
algolia agentstudio agents create --json '{"name":"support-bot","instructions":"You are a helpful assistant."}'
Create with a provider and model so the agent can be published:
algolia agentstudio agents create --json '{"name":"support-bot","instructions":"You are a helpful assistant.","providerId":"22222222-2222-4222-8222-222222222222","model":"gpt-4o"}'
Flags
Agent prompt
Agent JSON object (include providerId and model to publish later)
Agent name
Output formatting flags
If true, ignore errors in templates due to missing fields or map keys. This only applies to golang and jsonpath output formats.
Output format. One of: (json, jsonl, ndjson, jsonpath, jsonpath-as-json, jsonpath-file).
Template string or path to a template file to use when —output=jsonpath, —output=jsonpath-file.