Straico Official icon

Straico Official

Get data from Straico API

Agent → Create

AI-generated

Overview

This node operation creates a new Agent in the Straico system via the Straico API. It is useful for users who want to programmatically add new agents with specific configurations such as name, custom prompt, default language model, description, and tags. For example, a user can automate the creation of AI agents tailored for different tasks or projects by specifying these properties.

Use Case Examples

  1. Creating a customer support agent with a custom prompt and default LLM.
  2. Adding a new assistant agent with descriptive tags for categorization.

Properties

Name Meaning
Name The name of the agent to be created.
Custom Prompt A custom prompt string that defines the agent's behavior or personality.
Default LLM The default large language model (LLM) to be used by the agent.
Description A textual description of the agent's purpose or characteristics.
Tags A JSON array of tags for categorizing or labeling the agent, e.g., ["assistant","rag","customer-support"].

Output

JSON

  • json - The JSON response from the Straico API after creating the agent, containing details of the newly created agent.

Dependencies

  • Straico API authentication credential required to authorize API requests.

Troubleshooting

  • Ensure all required fields (Name, Custom Prompt, Default LLM, Description) are provided; missing fields will cause errors.
  • Tags must be a valid JSON array string; invalid JSON will cause parsing errors.
  • API authentication must be correctly configured; authentication errors will prevent agent creation.
  • Network issues or API downtime can cause request failures; verify connectivity and API status.

Links

Discussion