GeekAI User ManualGeekAI User Manual
  • Guide

    • Introduction
    • Quick Deployment
    • Advanced Deployment
  • Configuration

    • AI Drawing Configuration
    • Music and Video
    • File Storage Configuration
  • Upgrade

    • Smooth Upgrade
  • Development

    • Development and Build
    • How to Skip License Verification
  • Guide

    • Introduction
    • Deployment
  • Configuration

    • Coze Agent
    • Dify Agent
    • Alibaba Cloud Bailian Agent
  • Upgrade

    • Geek-Agent v1.0.2
    • Geek-Agent v1.0.3
  • GeekAI-PLUS (With Admin Panel)
  • GeekAI-Agent (With Admin Panel)
  • AI Study Notes

    • 01-Basic Concepts of Stable Diffusion
    • 02-Core Technology Decryption of DeepSeek R1
    • 03-DeepSeek R1 User Guide (Continuously Updated)
    • 03-Some Personal Thoughts on AI Agent
    • 04-Understanding MCP and A2A Protocols
  • Tech Community
  • GitHub
  • Gitee
  • GitCode
  • 简体中文
  • en-US
GitHub
  • Guide

    • Introduction
    • Quick Deployment
    • Advanced Deployment
  • Configuration

    • AI Drawing Configuration
    • Music and Video
    • File Storage Configuration
  • Upgrade

    • Smooth Upgrade
  • Development

    • Development and Build
    • How to Skip License Verification
  • Guide

    • Introduction
    • Deployment
  • Configuration

    • Coze Agent
    • Dify Agent
    • Alibaba Cloud Bailian Agent
  • Upgrade

    • Geek-Agent v1.0.2
    • Geek-Agent v1.0.3
  • GeekAI-PLUS (With Admin Panel)
  • GeekAI-Agent (With Admin Panel)
  • AI Study Notes

    • 01-Basic Concepts of Stable Diffusion
    • 02-Core Technology Decryption of DeepSeek R1
    • 03-DeepSeek R1 User Guide (Continuously Updated)
    • 03-Some Personal Thoughts on AI Agent
    • 04-Understanding MCP and A2A Protocols
  • Tech Community
  • GitHub
  • Gitee
  • GitCode
  • 简体中文
  • en-US
GitHub
  • GeekAI-Agent

    • Introduction
    • Deployment
  • Configuration

    • Coze Agent
    • Dify Agent
    • Alibaba Cloud Bailian Agent
  • Upgrade

    • Geek-Agent v1.0.2
    • Geek-Agent v1.0.3

This article will introduce how to use the Coze Agent in GeekAI-Agent.

Agents greatly extend the capabilities of large models by orchestrating tasks and connecting them to knowledge bases, databases, and plugins. This helps users achieve more complex tasks and better conversational interactions.

Note

The free version of Coze has very limited API call functionality. It is recommended to directly activate the Coze Pro version, which is currently free to activate. After activation, log in to the Coze Pro Console to purchase the resource packages required for agent calls.

Coze Pro

1. Create an Agent Application

After purchasing the resources, log in to the Coze Workspace and click "Create Agent Application."

Create Agent Application

In the dialog that appears, select "Create Agent." Do not choose "Create Application," as applications are products with direct UI interfaces. GeekAI-Agent needs to call the agent via API to execute tasks and does not require a UI interface.

Select Application Type

In the dialog, enter the agent name, description, and icon, then click "Confirm." Alternatively, you can let AI generate these details for you and use the "One-Click Creation" feature.

Agent Configuration

Next comes task orchestration and workflow setup, which involves a lot to learn. Feel free to explore on your own. Remember to copy the Agent Bot ID for later use.

Bot ID

2. Publish the Agent

After setup, click the "Publish" button in the top-right corner. Only published agents can be used.

Publish Agent

Next, select the platforms to publish your agent to. Since we need to expose the API interface for GeekAI-Agent to call, "API" and "ChatSDK" must be selected. Others can be chosen based on your needs.

Select Publishing Platforms

3. Create an Authorized Application

Calling the Coze Agent API requires authentication, so we also need to create an authorized application. First, visit the OAuth Applications Page and click "Create New Application."

Create Authorized Application

Enter the application details and proceed to configure the keys and permissions. Click "Create Key" to download a private key file, which is crucial and must be stored securely. Then, copy the "Public Key Fingerprint."

Configure Keys

After configuration, click "Confirm," and an authorization dialog will appear. Click "Authorize."

Authorization Dialog

After authorization, the authorized application is generated. Copy the "Application ID" for later use.

Application ID

4. Batch Import Coze Agents

First, log in to the admin backend and navigate to "System Configuration" > "Coze Settings." Open the Coze Workspace and copy the SpaceID from the browser address bar to fill in.

Coze Settings

The API URL, Authorized Application ID, Authorized Public Key ID, and Authorized Private Key are explained above. Simply copy and fill them in.

Configuration Information

Next, go to the "Application Management" page and click the "Import Coze Agents" button. Select the agents you want to import and click the Start Import button.

Import Agents

5. Add a Single Coze Agent

Now we can create a Coze Agent application in the GeekAI-Agent admin backend. Log in to the admin backend, select the "Application Management" menu, and click the "Add" button. Fill in the corresponding information. The authorized private key is the content from the private key file downloaded in the previous step—copy and paste it here.

Add Agent

6. Use the Coze Agent

After adding, we can select the Coze Agent in the frontend conversation. Click the "Select Application" button below the input box, and an "Application List" dialog will appear.

Select Application

Select the Coze Agent application we just created for conversation to see its effects.

Conversation Effect

The Coze Agent supports multi-turn conversations and can call multiple tools in sequence to complete complex tasks.

Multi-Turn Conversation

Edit this page on GitHub
Next
Dify Agent
极客学长 © 2022-2025 版权所有 粤ICP备19122051号-1