Getting Started#

These pages take you from a fresh machine to a working agent on a simulated accelerator, and then to a production-style deployment. Follow steps 1 to 3 in order; each one ends with something you can run. Step 4 is optional reading.

Before you start: you need a terminal and a text editor. Installation covers everything else, in order: Node.js, Claude Code, uv (which manages Python for you), an API key for your AI provider, and the osprey CLI.

Tip

To set up OSPREY for your own facility right away, use the guided setup: Guided Facility Setup. It is a conversation with your coding agent. The agent takes stock of what you have and builds the project with you. The step-by-step tutorials cover the same ground and teach the concepts.

Your path#

1. Install OSPREY

Install the osprey CLI and configure a provider. A container runtime (Docker or Podman) is the optional last step, needed for osprey up.

Installation
2. Hello World

Build your first agent: one MCP server and the simulator, served in process. You read channels, enable writes, and see the three safety guards at work.

Hello World Tutorial
3. The Demo

Build the demo preset. It adds natural-language channel finding, a seeded logbook and an archive, on the same safety model. The last step points it at real hardware.

The Demo Deployment
4. How OSPREY works

Learn what the agent, its tools, the safety guards and the connectors do, and why. You can read this page at any point; no tutorial needs it.

How OSPREY works

Next#

Guided facility setup

Set OSPREY up for your own detector, beamline or accelerator subsystem through a guided conversation.

Guided Facility Setup
How-to guides

Task-oriented guides for connectors, MCP servers, providers and more.

How-To Guides
Architecture

The OSPREY agent and MCP architecture, data flow and key concepts.

Architecture