Examples · learn/15-first-agent · 208 of 339
hello
tin run examples/learn/15-first-agent/hello.tinagent Echo {
model: "mock"
system: "You repeat what you are told."
}
fn main() {
let answer = Echo("hello, agent") // an agent is called like a function
print(answer)
}