hello.agent.json
{
"name": "Hello from the terminal",
"description": "A minimal agent: manual trigger, an AI step, and a recorded result.",
"graph": {
"nodes": [
{
"id": "trigger",
"kind": "trigger",
"name": "Manual trigger",
"config": {
"activation": {
"kind": "manual"
}
}
},
{
"id": "model",
"kind": "model",
"name": "Your model endpoint",
"config": {
"model": {
"modelId": "byo-endpoint",
"version": "1"
}
}
},
{
"id": "agent",
"kind": "agent",
"name": "AI step",
"config": {
"instructions": "Read the incoming data and reply with a short, useful result in plain language."
}
},
{
"id": "done",
"kind": "output",
"name": "Result",
"config": {
"outputKey": "result"
}
}
],
"edges": [
{
"id": "e-attach-model",
"class": "attachment",
"source": "model",
"target": "agent"
},
{
"id": "e-trigger-agent",
"class": "flow",
"source": "trigger",
"sourcePort": {
"port": "next"
},
"target": "agent",
"targetPort": {
"port": "input"
}
},
{
"id": "e-agent-done",
"class": "flow",
"source": "agent",
"sourcePort": {
"port": "next"
},
"target": "done",
"targetPort": {
"port": "input"
}
}
]
}
}