What do you think?
Rate this book


391 pages, Paperback
Published July 14, 2026
It describes systems or behaviors that exhibit agency, the ability to perceive, decide, and act with some degree of autonomy in pursuit of a goal. (p. 2)
An agent is a system built around an LLM, combining the model with tools, memory, orchestration logic, and the ability to interact with an environment. The LLM is the reasoning component. Everything else turns that reasoning into work that affects the world. (p. 139)
research_agent = Agent(
name="Research Agent",
instructions="""
You are a research assistant.
Your role is to find research sources.
""",
)
goal = "..." # The prompt to the agent, what the user wants the agent to do
result = await Runner.run(research_agent, goal)
agent = Agent(
name="Support",
instructions=("Use ONLY retrieved context; cite chunk ids; if absent
say 'I don't know'."),
tools=[retrieve, remember],
)