- An ``Agent`` pairs a model with a system prompt and optional tools. - ``agent.run_sync(prompt)`` returns a single ``AgentResult``. - ``agent.run(prompt)`` is an async generator that yields events. - ...
# Copyright (c) 2025, 2026 Oracle and/or its affiliates. # Licensed under the Universal Permissive License v1.0 as shown at # https://oss.oracle.com/licenses/upl ...