Skip to content

chainabit agents create ​

Published (2.2.0) ​

This command is not included in Published (2.2.0). It is available in Development (2.2.0).

Development (2.2.0) ​

Create a cloud agent

Synopsis ​

text
chainabit agents create <name> [options]

Arguments ​

ArgumentDescriptionDefault
<name>Required.—

Options ​

OptionDescriptionDefault
--description <text>About—
--system-prompt <text>Instructions—
--yesConfirm this change—

Options shared by every command are described in Global options and shared behavior.

Behavior ​

Creates a cloud agent named by the required <name> argument. --description sets its short description and --system-prompt sets its instructions; both are optional. It works in the selected cloud workspace; if none is selected, the command stops and asks you to choose one first (see chainabit workspace use).

This command changes data, so it asks you to confirm in an interactive terminal. Pass --yes to confirm without a prompt. With --json, or when input or output is redirected, there is no prompt: without --yes the command changes nothing, tells you to add --yes and exits with code 2.

Output ​

Prints the new agent: its ID, its name and the description and instructions you supplied. With --json, the output contains id, name, location (always cloud), description and systemPrompt.

Authentication and permissions ​

You must be signed in. The server decides whether your account may make this change; if it refuses, the command prints the error, exits with a non-zero code and changes nothing. If the connected API does not support the operation yet, the command stops before sending anything.

Examples ​

bash
chainabit agents create "Reading assistant" --yes
chainabit agents create "Notes assistant" --description "Keeps weekly notes" --system-prompt "Summarize the notes you are given." --yes

Built with purpose. chainabit.com