Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Agent Infra SDK
Rust SDK for Agent Infra APIs. Applications configure one Gateway URL and one
credential provider, then use typed clients for Agent Registry, context,
workspace, trace, runtime identity, model, deployment, and evaluation APIs.
Platform consoles and operations tools use the typed AdminClient, whose
resource methods all stay inside the Gateway-owned /admin/api namespace.
Workspace file operations go through Environment Space APIs. Other APIs remain
Gateway-backed.
use InfraClient;
let client = new?;
let agents = client.agents;
let context = client.context;
let admin = client.admin;
# Ok::
Feature flags can be used to include only the required typed clients.
The unified administrator facade covers Agent IDs, managed Workspaces, Context search, Runtime IDs, built-in model configuration, and usage accounting:
use ListAgentsRequest;
let agents = client.admin.list_agents.await?;
let workspaces = client.admin.list_workspaces.await?;
let runtimes = client.admin.list_runtime_identities.await?;
Model streaming returns raw SSE bytes as soon as they arrive. The streaming
methods set stream=true; chunks preserve wire order but are not guaranteed to
align with SSE event boundaries:
use CallOptions;
use json;
let mut stream = client
.model
.responses_stream
.await?;
while let Some = stream.next_chunk.await