Skip to main content

A desktop platform for executing LangGraph workflows with uv-managed sandboxes.

Project description

AlayaFlow

A desktop platform for executing LangGraph workflows with multiple executors.

简介

AlayaFlow 是一个桌面平台,用于执行 LangGraph 工作流。

安装

从 PyPI 安装(推荐)

pip install alayaflow

从源码安装

git clone git@github.com:AlayaDB-AI/AlayaFlow.git
cd alayaflow
pip install -e .

系统要求

  • Python >= 3.10
  • uv (Rust-based Python package installer)

使用示例

from alayaflow.workflow import WorkflowManager, WorkflowLoader

# 创建工作流管理器
manager = WorkflowManager()

# 加载工作流
manager.load_workflow(workflow_id="my-workflow", version="1.0.0")

# 执行工作流...

配置

项目支持通过 .env 文件进行配置。主要配置项包括:

  • dev_mode: 开发模式(dev/dev-uneditable/prod)
  • alayahub_url: AlayaHub API 地址
  • langfuse_enabled: 是否启用 Langfuse 追踪
  • 各种存储路径配置

开发

安装开发依赖

pip install -e ".[dev]"

运行测试

pytest

许可证

本项目采用 MIT License。详情请参阅 LICENSE 文件。

贡献

欢迎提交 Issue 和 Pull Request!

相关链接

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alayaflow-0.1.8.tar.gz (290.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alayaflow-0.1.8-py3-none-any.whl (60.3 kB view details)

Uploaded Python 3

File details

Details for the file alayaflow-0.1.8.tar.gz.

File metadata

  • Download URL: alayaflow-0.1.8.tar.gz
  • Upload date:
  • Size: 290.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for alayaflow-0.1.8.tar.gz
Algorithm Hash digest
SHA256 d8d2604eda5a47b6c4a063c06b4a1fababfd077a0b71bc6dc5473b15e1118bed
MD5 b4f397c6f3c94dcfe810322eea8d1c2d
BLAKE2b-256 a7a7c91cc30447a9bb2d26818d2e069e80a782c5195c621aaa18d00e34d411d7

See more details on using hashes here.

File details

Details for the file alayaflow-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: alayaflow-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 60.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for alayaflow-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 66604c66dbbaa1ea72363206ad6eff37a5d6801622a5a068ae4a4957fe6978b0
MD5 169a7f5d05befd5b703cd130d808dca0
BLAKE2b-256 611f57e7b285d6c7349e39b98888c05966ee1e9b524acaed05a62a6ae3d9fa9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page