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#
Install the osprey CLI and configure a provider. A container runtime (Docker or Podman) is the optional last step, needed for osprey up.
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.
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.
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.
Next#
Set OSPREY up for your own detector, beamline or accelerator subsystem through a guided conversation.
Task-oriented guides for connectors, MCP servers, providers and more.
The OSPREY agent and MCP architecture, data flow and key concepts.