AI Skill Hub 推荐使用:mirascope Agent工作流 是一款优质的Agent工作流。已获得 1.5k 颗 GitHub Star,AI 综合评分 7.8 分,在同类工具中表现稳健。如果你正在寻找可靠的Agent工作流解决方案,这是一个值得深入了解的选择。
mirascope Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
mirascope Agent工作流 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install mirascope
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install mirascope
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Mirascope/mirascope
cd mirascope
pip install -e .
# 验证安装
python -c "import mirascope; print('安装成功')"
# 命令行使用
mirascope --help
# 基本用法
mirascope input_file -o output_file
# Python 代码中调用
import mirascope
# 示例
result = mirascope.process("input")
print(result)
# mirascope 配置文件示例(config.yml) app: name: "mirascope" debug: false log_level: "INFO" # 运行时指定配置文件 mirascope --config config.yml # 或通过环境变量配置 export MIRASCOPE_API_KEY="your-key" export MIRASCOPE_OUTPUT_DIR="./output"
<p align="center"> <a href="https://mirascope.com/#mirascope"> <img src="https://mirascope.com/icons/logo-with-text.png" /> </a> </p>
<p align="center"> <a href="https://github.com/Mirascope/mirascope/actions/workflows/ci.yml" target="_blank"><img src="https://github.com/Mirascope/mirascope/actions/workflows/ci.yml/badge.svg?branch=main" alt="Tests"/></a> <a href="https://app.codecov.io/github/Mirascope/mirascope" target="_blank"><img src="https://codecov.io/github/Mirascope/mirascope/graph/badge.svg?token=HAEAWT3KC9" alt="Coverage"/></a> <a href="https://pypi.org/project/mirascope/" target="_blank"><img src="https://img.shields.io/pypi/v/mirascope.svg" alt="PyPI Version"/></a> <a href="https://pypi.org/project/mirascope/" target="_blank"><img src="https://img.shields.io/pypi/pyversions/mirascope.svg" alt="Python Versions"/></a> <a href="https://github.com/Mirascope/mirascope/blob/main/python/LICENSE" target="_blank"><img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License"/></a> </p>
---
from pydantic import BaseModel
from mirascope import llm
class Book(BaseModel):
title: str
author: str
@llm.tool
def get_available_books(genre: str) -> list[Book]:
"""Get available books in the library by genre."""
return [Book(title="The Name of the Wind", author="Patrick Rothfuss")]
@llm.call("anthropic/claude-sonnet-4-5", tools=[get_available_books], format=Book)
def librarian(request: str):
return f"You are a librarian. Help the user: {request}"
response = librarian("I want a fantasy book")
while response.tool_calls:
response = response.resume(response.execute_tools())
book = response.parse()
print(f"Recommending: {book.title} by {book.author}")
For streaming, async, multi-turn conversations, and more, see the full documentation.
Install Mirascope:
uv add "mirascope[all]"
创新的反框架理念降低复杂度,API设计简洁优雅。1.5k stars表明认可度中等,适合追求轻量化LLM应用的团队。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,mirascope Agent工作流 是一款质量良好的Agent工作流,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | mirascope |
| 原始描述 | 开源AI工作流:The LLM Anti-Framework。⭐1.5k · Python |
| Topics | LLM工作流AI Agent开源框架Python工具链反框架设计 |
| GitHub | https://github.com/Mirascope/mirascope |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端