Skip to main content

SoloFlow

把 AI 工作方法存成文件(Skill),按步骤自动执行(Flow)。

CI PyPI Python License

当前稳定版本:v2.0.0。从 v1 升级请先查看 v2.0.0 变更与迁移说明

30 秒跑通

需要 Python 3.12+ 和 DeepSeek API Key。先配置密钥:

$env:DEEPSEEK_API_KEY = "你的密钥"

或者在当前目录创建 .env

DEEPSEEK_API_KEY=你的密钥

然后运行内置写作 Skill:

uvx soloflow run content-writer "为我的产品写一篇介绍"

不想产生 API 费用时,先预览最终 Prompt:

uvx soloflow run content-writer "为我的产品写一篇介绍" --dry-run

只需理解三个概念

  • Skill:一份可以重复执行的 AI 工作手册,例如 content-writer
  • Flow:把多个 Skill 按依赖顺序串起来,例如 blog-pipeline
  • Agent(可选):给 Skill 加上固定角色和行为规则,例如 content-editor

常用命令

命令 用途
sf run <skill> <task> 运行一个 Skill,推荐入口
sf skill list 查看可用 Skill
sf skill show <name> 查看 Skill 内容
sf skill init <name> 创建 Skill
sf flow run <name> -i key=value 运行 Flow
sf flow runs 查看 Flow 运行记录
sf flow watch <run-id> 实时查看 Flow 进度
sf flow resume <run-id> 从失败处恢复 Flow
sf agent run <name> <task> 用 Agent 执行任务

如果从源码开发,把 sf 换成 uv run sf。项目目录、~/.soloflow/、安装包内置资产按此顺序查找,同名文件以前者为准。

下一步

License

MIT License

Download files

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

Source Distribution

soloflow-2.0.0.tar.gz (130.8 kB view details)

Uploaded Source

Built Distribution

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

soloflow-2.0.0-py3-none-any.whl (71.8 kB view details)

Uploaded Python 3

File details

Details for the file soloflow-2.0.0.tar.gz.

File metadata

  • Download URL: soloflow-2.0.0.tar.gz
  • Upload date:
  • Size: 130.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for soloflow-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3af0a9dc5ef3567b15d477a6db5fd48da066a04507922d70a4532479c8759c5e
MD5 745bd81f3a99685e403d449edfcc98d3
BLAKE2b-256 0e40e3ee325f835bd4b1ab0cd9faf51dc50319b203832bbe729d264662090a11

See more details on using hashes here.

Provenance

The following attestation bundles were made for soloflow-2.0.0.tar.gz:

Publisher: release.yml on halexzd686-cloud/SoloFlow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file soloflow-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: soloflow-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 71.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for soloflow-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 148ef2ce3b90eaaad72b1d9751bc131395b27a7865fb8222005f2a2287466491
MD5 1514435ad2596001e52e748d355d6df0
BLAKE2b-256 afa2f041c3bf949cb9675182d8530fbdc2a3dccc15a5b1a0b3610a62007dd624

See more details on using hashes here.

Provenance

The following attestation bundles were made for soloflow-2.0.0-py3-none-any.whl:

Publisher: release.yml on halexzd686-cloud/SoloFlow

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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