| Crates.io | operai-runtime |
| lib.rs | operai-runtime |
| version | |
| created_at | 2026-01-13 17:17:26.437346+00 |
| updated_at | 2026-01-14 19:57:35.596117+00 |
| description | Operai gRPC server |
| homepage | |
| repository | https://github.com/brwse/operai |
| max_upload_size | |
| id | 2040714 |
| size | 0 |
Operai runtime library.
This crate provides:
ToolboxService)mcp)use operai_runtime::RuntimeBuilder;
let runtime = RuntimeBuilder::new()
.with_manifest_path("operai.toml")
.build_local()
.await?;
use operai_runtime::{RuntimeBuilder, transports::grpc::ToolboxService};
let runtime = RuntimeBuilder::new().build_local().await?;
let service = ToolboxService::from_runtime(runtime);
use operai_runtime::McpService;
let runtime = RuntimeBuilder::new().build_local().await?;
let service = McpService::from_runtime(runtime).searchable(true);
When calling tools programmatically, you can supply request/session/user IDs
and credentials via CallMetadata.