/\ ATFGraph /docs
README Downloads
Examples / ATFGraph
Framework reference

This article is retained from the existing framework docs. Self-hosting commands and server-admin access differ from the managed CLI workflow. Start with Get started for the installed product.

First Python node

Directory examples/python/first_node

Upper-case a string. Synchronous handlers run in a worker thread; heartbeats keep going.

Agent node label hello, version 1.0.0.

Capabilities

CapabilityKindSignatureModuleSummary
greettraversal(name: str, punctuation: str = '!') -> Greetingexamples/python/first_node/agent.pyGreet by name, using the ``shout`` skill as a nested child step.
shoutskill(text: str) -> dictexamples/python/first_node/agent.pyUpper-case a string. Synchronous handlers run in a worker thread; heartbeats keep going.

Commands

Taken from this example's own README and module docstrings.

python -m atfgraph.worker --module examples.python.first_node.agent:app --server http://127.0.0.1:18880
python -m examples.python.first_node.call "Ada"

Files

  • examples/python/first_node/__init__.py
  • examples/python/first_node/agent.py
  • examples/python/first_node/agentnode.yaml
  • examples/python/first_node/call.py
ATFGraph documentationHosted workflow · Framework reference