A library for developing workflow graphs that run as MCP (Model Context Protocol) servers
Project description
artificer-workflows
A library for developing workflow graphs that run as MCP (Model Context Protocol) servers.
Alpha Release - APIs may change.
Installation
pip install artificer-workflows
Quick Start
from artificer_workflows import Workflow, MarkdownArtifact
from pydantic import BaseModel
# Define your step output schema
class GreetingOutput(BaseModel):
message: str
# Create a workflow
workflow = Workflow(name="HelloWorld", description="A simple greeting workflow")
@workflow.step(name="Greet", output_schema=GreetingOutput)
def greet_step():
"""Say hello."""
return {"message": "Hello, world!"}
# Run as MCP server
workflow.run()
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file artificer_workflows-0.1.0a1.tar.gz.
File metadata
- Download URL: artificer_workflows-0.1.0a1.tar.gz
- Upload date:
- Size: 92.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ba5999b5c79cce688b883636036423588913c984c760a2887ee453dc19994af
|
|
| MD5 |
d629a1a754d438ea93a6fb812e6f3a02
|
|
| BLAKE2b-256 |
f6ef7f6c94285eb4ebfc3f99d02c7d4031f39c19417c24cb2d4b783362d84d94
|
File details
Details for the file artificer_workflows-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: artificer_workflows-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e355d5ad97148baac9d06b3b7e2dd74ac3ef8054e2f73224c0739b516cc9953
|
|
| MD5 |
5f419fda486f61d4c3407ebc646b2a90
|
|
| BLAKE2b-256 |
c7d82cee10bf46f89258deebb70d9a002d1da366eb4e65191af0ab6215f7a607
|