ByteRun Docs
AI assistant

AI assistant

Ask AI on a cell or in the ByteRun Agent panel, using your own OpenAI or Anthropic key.

The AI assistant works inside the Studio, in two places:

  • Ask AI on a cell — opens a bar below the cell. Describe the change; review the result and accept it or reject it.
  • The ByteRun Agent panel — a side panel for questions about your notebook. Ask something and the answer streams in.

See using the agent for plans, error fixes, sharing table names and how changes are reviewed.

The assistant calls an AI provider with a key that your organization or you have connected. ByteRun resolves the credential for you, so a key is never typed into a notebook. If no provider is connected, the assistant asks you to set one up first.

Choosing an assistant for a project

Each project uses one of the providers connected on the AI page. To change it, open the ⋯ menu on the project's row in the workspace and choose AI assistant. It opens the same dialog Ask AI shows the first time, with your project's current choice selected, and a No assistant option.

  • You can change it whatever the project's status, running or stopped. It applies at once, because Ask AI looks up the project's choice on every request. Files and running kernels are not touched.
  • The one place that waits for a restart is the AI extension inside JupyterLab (Open in JupyterLab).
  • Pick a provider and a model. Saving needs a model, so Save stays disabled until you choose one.
  • If the organization has no key for that provider yet, the dialog lets an admin paste one. It is saved for the whole organization, not just this project. See connect a provider.

On this page