diff --git a/server/packages/sandbox-agent/src/router.rs b/server/packages/sandbox-agent/src/router.rs index 1a0c96e..fa587c0 100644 --- a/server/packages/sandbox-agent/src/router.rs +++ b/server/packages/sandbox-agent/src/router.rs @@ -124,7 +124,9 @@ pub fn build_router_with_state(shared: Arc) -> (Router, Arc) )); } - let mut router = Router::new().nest("/v1", v1_router); + let mut router = Router::new() + .route("/", get(get_root)) + .nest("/v1", v1_router); if ui::is_enabled() { router = router.merge(ui::router()); @@ -3539,6 +3541,12 @@ async fn get_agent_modes( Ok(Json(AgentModesResponse { modes })) } +async fn get_root() -> &'static str { + "This is a Sandbox Agent server for orchestrating coding agents.\n\ + See https://sandboxagent.dev for more information.\n\ + Visit /ui/ for the inspector UI." +} + #[utoipa::path( get, path = "/v1/health",