01 Hello Agent#
Script: example/01_hello_agent.py.
This is the smallest OpenRath program: build a flow.Agent, pass it a Session, and receive an updated session.
python example/01_hello_agent.py
Concept |
API |
|---|---|
Agent as module |
|
Session as runtime value |
|
Streaming callback |
|
Usage accounting |
|
Needs an OpenAI-compatible key or llm.default_provider config.