run creates a task, runs it, and returns its result. The default result type is str.
agents=[agent] to choose an agent, tools=[function] to expose tools, and thread=thread to select conversation history. Other task options are forwarded to Task.
Run existing tasks
run_tasks returns the task objects. Read each task’s result and state after execution.
In async code, use await marvin.run_async(...) or await marvin.run_tasks_async(...). See running tasks for failures and the API reference for signatures.