Skip to main content

stepflow-py

The official Python SDK for Stepflow - an orchestration engine for AI workflows.

Installation

pip install stepflow-py

Features

  • gRPC Client: Type-safe client for the Stepflow gRPC API
  • Worker Module: Build component servers that extend Stepflow functionality
  • Flow Builder: Programmatically create and manipulate workflows

Quick Start

Building a Worker (Component Server)

from stepflow_py.worker import StepflowServer, StepflowContext
import msgspec

class MyInput(msgspec.Struct):
    message: str

class MyOutput(msgspec.Struct):
    result: str

server = StepflowServer()

@server.component
async def my_component(input: MyInput, context: StepflowContext) -> MyOutput:
    return MyOutput(result=f"Processed: {input.message}")

if __name__ == "__main__":
    import asyncio
    asyncio.run(server.run())

Documentation

For full documentation, visit stepflow.org.

License

Apache License 2.0

Metadata

Release files for stepflow-py 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stepflow-py 0.13.0
File Size Uploaded
stepflow_py-0.13.0.tar.gz 158.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stepflow-py 0.13.0
File Interpreter ABI Platform
stepflow_py-0.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 348.0 kB

Release files / stepflow_py-0.13.0.tar.gz

Download URL stepflow_py-0.13.0.tar.gz
Size 158.3 kB
Tags Source
SHA-256 checksum
How to use checksums
31545dc8c53859a47af68da19bb7640fe09dafa06966c6fb08d6ecee4604edf6
BLAKE2b-256 checksum
How to use checksums
f0aff0310f2f35acf8debc76bbd27a3fcf59bb272c8b571af017c01c67789c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 8, 2026.

Transparency log

Release files / stepflow_py-0.13.0-py3-none-any.whl

Download URL stepflow_py-0.13.0-py3-none-any.whl
Size 189.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6321be278d5900f63c02b55bb316c2ffa1a1d105a4048991f94fd6f668550a78
BLAKE2b-256 checksum
How to use checksums
90791c40e8bbaf1f77c3b4cbdca2d470756acba61bba1f25e0514182e251d540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.13.0 This release

2 release files

0.12.0

2 release files

0.10.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page