| title | 快速开始 | ||
|---|---|---|---|
| description | 构建您的第一个智能体 | ||
| navigation |
|
我们提供了一个供您完整体验 VeADK 核心功能的教程(基于 Jupyter Notebook),或者您也可以直接在 Google Colab 中打开。
通过 VeADK,您可以构建一个简易智能体:
::steps
import asyncio
from veadk import Agent
agent = Agent()
asyncio.run(agent.run("Hello world!"))您需要通过环境变量方式,来设置能够调用大模型的 API Key 或者其它身份验证信息。
# 通过 API Key
MODEL_AGENT_API_KEY=... python agent.py
# 通过火山引擎 AK/SK
VOLCENGINE_ACCESS_KEY=... VOLCENGINE_SECRET_KEY=... python agent.py::