用于构建自主 AI 队友的 Python SDK
发布: (2026年2月24日 GMT+8 06:55)
1 分钟阅读
原文: Dev.to
Source: Dev.to
概览
- 支持 150 多个最流行的 SaaS 应用中的操作和知识
- 可安排运行以实现自动化
- 向代理发送电子邮件以委派任务
- 通过 webhook 事件触发任务
- 代理能够记住之前的运行记录
- 人机交互(Human‑in‑the‑loop)具备权限、规划和提问功能
- 文件处理用于共享输出
用几行代码部署代理
# 1. Create a task
task = client.tasks.create(
teammate_id=bot.id,
instructions="Send weekly ticket summary to team@acme.com"
)
# 2. Attach a schedule — every Monday at 9 am Eastern
trigger = client.tasks.triggers.create(
task.id,
type="schedule",
cron="0 9 * * 1",
timezone="America/New_York"
)
请告诉我你的想法——欢迎任何反馈或建议!