The Agent

The agent is the AI assistant you interact with in Beaker. It can read and write code in your notebook, run that code in the subkernel, inspect the resulting state, and respond in natural language. You can talk to the agent from the chat interface or directly from a notebook cell.

The agent has full visibility into the notebook environment — every variable, every previous cell, every output — and uses that visibility to make informed decisions. When code fails, the agent can read the traceback and try to fix it. When a library it wants to use is not installed, it can install it on your behalf (subject to your configuration).

Each context shapes the agent for its kind of work:

  • Instructions — the prompt scaffolding that tells the agent how to think about your domain.
  • Tools — function-like capabilities the agent can invoke (run code, query an API, fetch a file, ask the user a clarifying question).
  • Integrations — see Integrations; the agent can use these to reach external data and services.
  • Workflows — see Workflows; structured procedures the agent can follow for common tasks in the context.

Beaker’s agent framework is Archytas, a ReAct-style agent runtime that supports custom toolsets. If you want to customize the agent for your own context, see Context Development.


This site uses Just the Docs, a documentation theme for Jekyll.