First Python node
Upper-case a string. Synchronous handlers run in a worker thread; heartbeats keep going.
Capabilities
| Capability | Kind | Signature | Module | Summary |
|---|---|---|---|---|
greet | traversal | (name: str, punctuation: str = '!') -> Greeting | examples/python/first_node/agent.py | Greet by name, using the ``shout`` skill as a nested child step. |
shout | skill | (text: str) -> dict | examples/python/first_node/agent.py | Upper-case a string. Synchronous handlers run in a worker thread; heartbeats keep going. |
Commands
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__.pyexamples/python/first_node/agent.pyexamples/python/first_node/agentnode.yamlexamples/python/first_node/call.py