본문으로 건너뛰기
버전: v0.2.0

Agent

id object
anyOf
string
nameName (string)required
alias object
anyOf
string
categoryCategory (string)
Default value: agent
type object
anyOf
string
collection_id object
anyOf
string
tags object
anyOf
  • Array [
  • string
  • ]
  • descriptionDescription (string)required
    created_at object
    anyOf
    integer
    updated_at object
    anyOf
    integer
    input_modeInput Mode (string)

    Possible values: [chat, event]

    Default value: chat
    modeMode (string)

    Possible values: [react, workflow]

    Default value: react
    agent object
    anyOf
    instructionsInstructions (string)required
    model_providerModel Provider (string)required
    modelModel (string)required
    tools object[]
  • Array [
  • nameName (string)required
    descriptionDescription (string)
    Default value:
    typeType (string)

    Possible values: [python, agent, workflow]

    Default value: python
    function object
    anyOf
    sourceSource (string)required
    inputs object
    property name*any
    Default value: {}
    outputs object
    property name*any
    Default value: {}
    dependenciesstring[]
    Default value: []
    options object
    anyOf
    object
  • ]
  • actors object[]
  • Array [
  • nameName (string)required
    descriptionDescription (string)
    Default value:
    function object
    anyOf
    sourceSource (string)required
    inputs object
    property name*any
    Default value: {}
    outputs object
    property name*any
    Default value: {}
    dependenciesstring[]
    Default value: []
    confirmation_policyConfirmation Policy (string)

    Possible values: [auto, confirm, deny]

    Default value: confirm
    options object
    anyOf
    object
  • ]
  • rolesundefined[]
    Default value: []
    outputs object
    anyOf
    object
    temperatureTemperature (number)
    Default value: 0.7
    max_tokensMax Tokens (integer)
    Default value: 4096
    max_iterationsMax Iterations (integer)
    Default value: 10
    memory_enabledMemory Enabled (boolean)
    Default value: true
    streamingStreaming (boolean)
    Default value: true
    nodes object[]
  • Array [
  • idId (string)required
    typeType (string)required

    Possible values: [start, end, agent, llm, tool_call, actor_call, if_else, loop, parallel, human_input, error_handler, code, template, variable]

    config objectrequired
    anyOf
    variables object[]
  • Array [
  • nameName (string)required
    typeType (string)required

    Possible values: [string, number, boolean, object, array]

    requiredRequired (boolean)
    Default value: true
    defaultDefault
    descriptionDescription (string)
    Default value:
  • ]
  • metadata object
    property name*any
    Default value: {}
  • ]
  • edges object[]
  • Array [
  • sourceSource (string)required
    targetTarget (string)required
    condition object
    anyOf
    string
  • ]
  • conversations object[]
  • Array [
  • nameName (string)required
    typeType (string)required

    Possible values: [string, number, boolean, array, object]

    descriptionDescription (string)required
    defaultDefault
  • ]
  • options object
    anyOf
    object
    Agent
    {
    "id": "string",
    "name": "string",
    "alias": "string",
    "category": "agent",
    "type": "string",
    "collection_id": "string",
    "tags": [
    "string"
    ],
    "description": "string",
    "created_at": 0,
    "updated_at": 0,
    "input_mode": "chat",
    "mode": "react",
    "agent": {
    "instructions": "string",
    "model_provider": "string",
    "model": "string",
    "tools": [
    {
    "name": "string",
    "description": "",
    "type": "python",
    "function": {
    "source": "string",
    "inputs": {},
    "outputs": {},
    "dependencies": [
    "string"
    ]
    },
    "options": {}
    }
    ],
    "actors": [
    {
    "name": "string",
    "description": "",
    "function": {
    "source": "string",
    "inputs": {},
    "outputs": {},
    "dependencies": [
    "string"
    ]
    },
    "confirmation_policy": "confirm",
    "options": {}
    }
    ],
    "roles": [
    null
    ],
    "outputs": {},
    "temperature": 0.7,
    "max_tokens": 4096,
    "max_iterations": 10,
    "memory_enabled": true,
    "streaming": true
    },
    "nodes": [
    {
    "id": "string",
    "type": "start",
    "config": {
    "variables": [
    {
    "name": "string",
    "type": "string",
    "required": true,
    "description": ""
    }
    ]
    },
    "metadata": {}
    }
    ],
    "edges": [
    {
    "source": "string",
    "target": "string",
    "condition": "string"
    }
    ],
    "conversations": [
    {
    "name": "string",
    "type": "string",
    "description": "string"
    }
    ],
    "options": {}
    }