Agently Agent工作流 是 AI Skill Hub 本期精选Agent工作流之一。已获得 1.6k 颗 GitHub Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
Agently Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
Agently Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install agently
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install agently
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/AgentEra/Agently
cd Agently
pip install -e .
# 验证安装
python -c "import agently; print('安装成功')"
# 命令行使用
agently --help
# 基本用法
agently input_file -o output_file
# Python 代码中调用
import agently
# 示例
result = agently.process("input")
print(result)
# agently 配置文件示例(config.yml) app: name: "agently" debug: false log_level: "INFO" # 运行时指定配置文件 agently --config config.yml # 或通过环境变量配置 export AGENTLY_API_KEY="your-key" export AGENTLY_OUTPUT_DIR="./output"
<img width="640" alt="Agently" src="https://github.com/user-attachments/assets/c645d031-c8b0-4dba-a515-9d7a4b0a6881" />
Install:
pip install -U agently
Use DeepSeek or another OpenAI-compatible hosted endpoint:
from agently import Agently
Agently.set_settings(
"OpenAICompatible",
{
"base_url": "https://api.deepseek.com/v1",
"model": "deepseek-chat",
"auth": "DEEPSEEK_API_KEY",
"model_type": "chat",
"request_options": {"temperature": 0.2},
},
)
agent = Agently.create_agent()
result = (
agent
.input("Introduce Python in one sentence and list three strengths.")
.output({
"intro": (str, "one sentence", True),
"strengths": [(str, "one strength")],
})
.start(ensure_all_keys=True)
)
print(result)
Use local Ollama by changing provider settings:
ollama pull qwen2.5:7b
Agently.set_settings(
"OpenAICompatible",
{
"base_url": "http://127.0.0.1:11434/v1",
"model": "qwen2.5:7b",
"api_key": "ollama",
"model_type": "chat",
},
)
For file-backed settings, prefer:
from agently import Agently
Agently.load_settings("yaml_file", "settings.yaml", auto_load_env=True)
Recommended model-app examples call a real model through DeepSeek or local Ollama and include an Expected key output source comment with stable key values from one real run.
Useful entry points:
| Directory | Use it for |
|---|---|
examples/cookbook/ | model-backed application patterns |
examples/action_runtime/ | function, MCP, sandbox, and plugin action examples |
examples/execution_environment/ | managed Python, shell, Node, SQLite, Browser, and provider lifecycle examples |
examples/dynamic_task/ | validated Dynamic Task DAG planning and execution examples |
examples/trigger_flow/ | focused TriggerFlow mechanics |
examples/builtin_actions/ | Search/Browse package examples |
examples/fastapi/ | service exposure examples |
examples/devtools/ | optional DevTools observation examples |
Archived examples live under examples/archived/ and are compatibility references, not the recommended starting point for new apps.
| Integration | What it enables |
|---|---|
agently.integrations.chromadb | ChromaCollection knowledge-base workflows |
agently.integrations.fastapi | POST, SSE, and WebSocket service exposure |
| OpenAI-compatible requester | OpenAI, DeepSeek, Qwen, Ollama, Kimi, GLM, MiniMax, Doubao, SiliconFlow, Groq, ERNIE, Gemini-via-OpenAI |
| Anthropic-compatible requester | Claude through Anthropic's native API |
What makes Agently different from direct SDK calls?
Direct SDK calls are excellent when the app only needs a small number of prompts. Agently adds contracts around those calls: prompt slots, output parsing, validation, retries, response reuse, action logs, session memory, configuration, service helpers, and TriggerFlow.
How is Agently different from LangChain?
LangChain provides broad integrations, prebuilt agents, and flexible building blocks. Agently is narrower and more opinionated about the model request boundary: provider setup, prompt slots, structured output, parser feedback, retries, validation, response reuse, action execution, settings, and observability are designed to line up as one contract. The goal is to let teams change the underlying model or provider without forcing downstream business logic to relearn output or tool-call shape.
How is Agently different from LangGraph?
LangGraph is strong when the central problem is graph-based agent state and durable execution. TriggerFlow is designed as Agently's signal-driven workflow layer: model-side instant structured events, action results, external events, pause/resume, runtime stream items, execution state, and close snapshots can all participate in the same orchestration story.
How is Agently different from CrewAI or AutoGen?
CrewAI and AutoGen are strong choices when the primary design is collaboration among agents. Agently is a lower-level application framework: multi-agent collaboration can be built as one pattern on top of structured model requests, Actions, TriggerFlow signals, sub-flows, Session, runtime resources, and service-facing execution handles.
Do I need TriggerFlow for every multi-step task?
No. Use plain Python or async functions for simple linear work. Use TriggerFlow when you need branches, fan-out, external events, pause/resume, runtime stream, persistence, or restart-safe execution.
Can I keep using older tool APIs?
Yes. The old tool family remains a compatibility surface and maps into the current action runtime. New code should prefer @agent.action_func, agent.use_actions(...), and the enable_* helpers.
How do I deploy an Agently service?
Use the async request APIs directly or wrap agents, requests, generators, TriggerFlow definitions, or TriggerFlow executions with FastAPIHelper. See the FastAPI docs and examples/fastapi/.
成熟的GenAI框架,文档完善,社区活跃。模块化设计、多模型支持、工作流编排能力强,是企业级AI应用开发的理想选择。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
经综合评估,Agently Agent工作流 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | Agently |
| 原始描述 | 开源AI工作流:GenAI Application Development Framework 🚀 Build GenAI application quick and ea。⭐1.6k · Python |
| Topics | AI工作流智能体框架GenAI开发Python开源多模型支持 |
| GitHub | https://github.com/AgentEra/Agently |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端