Skip to main content

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


Download files

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

Source Distribution

artificer_workflows-0.1.0a1.tar.gz (92.9 kB view details)

Uploaded Source

Built Distribution

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

artificer_workflows-0.1.0a1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file artificer_workflows-0.1.0a1.tar.gz.

File metadata

File hashes

Hashes for artificer_workflows-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 1ba5999b5c79cce688b883636036423588913c984c760a2887ee453dc19994af
MD5 d629a1a754d438ea93a6fb812e6f3a02
BLAKE2b-256 f6ef7f6c94285eb4ebfc3f99d02c7d4031f39c19417c24cb2d4b783362d84d94

See more details on using hashes here.

File details

Details for the file artificer_workflows-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for artificer_workflows-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e355d5ad97148baac9d06b3b7e2dd74ac3ef8054e2f73224c0739b516cc9953
MD5 5f419fda486f61d4c3407ebc646b2a90
BLAKE2b-256 c7d82cee10bf46f89258deebb70d9a002d1da366eb4e65191af0ab6215f7a607

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