What is an agent?
The agent is the smallest delivery unit of ZGI and is the AI application that users ultimately publish, call and integrate. An agent is composed of workflow + model + knowledge base + prompt words, and provides conversational or workflow-style AI capabilities to the outside world.Two types of agents
Agent life cycle
Create
Select the agent type and configure basic information: name, icon, description, permission scope (visible only to yourself/visible to the team/visible to the organization). The system automatically generates a unique identifier and initializes the workflow draft.Arrangement
Drag and drop nodes on the visual canvas to build a business process. Supports multiple node types such as model nodes, knowledge base nodes, database nodes, HTTP nodes, code nodes, conditional branches, loops, iterations, etc.Debugging
Enter test data in the debugging area, and the system displays the execution status and results of each node in real time through SSE. Drafts are automatically saved every 30 seconds to avoid losing edits.Publish
Publish it as an accessible web application (agent landing page) with one click, or generate an API Key for external system calls. A version number is automatically generated for each release, which can be traced and rolled back.Operation and maintenance
View running logs, token consumption, number of calls, exception rate and other running data. Supports configuring API Key’s quota limit, expiration time, and IP whitelist.Workflow node type
ZGI provides a wealth of built-in nodes to cover most business process orchestration needs:Trigger method
Variables and context
Variables are the core mechanism for transferring data between nodes. ZGI supports a three-layer variable system:Core Features
- SSE streaming execution — push the execution status and results of each node in real time, and the front end can display the progress
- Draft AutoSave — Automatically saves workflow drafts every 30 seconds to prevent lost edits
- Version Management — Automatically generate a version number for each release, traceable and rollable
- YAML template — Agent configuration can be exported to YAML for reuse across teams and environments
- API Key Quota — Generate a dedicated API Key for each agent, supporting daily/monthly quota, expiration time, and IP whitelist
- Asset prevention from accidental deletion — Checking mechanism prevents accidental deletion of running agents; employees can be handed over with one click when they leave.