rFabric

SDK

Robot Agent SDK

The Robot Agent SDK is the edge-side control surface for robot participation in the platform. It lets robots register sessions, upload data, stream telemetry, receive artifacts, and coordinate updates through the same lifecycle model as the cloud and developer tooling.

What The Robot Agent SDK Should Cover

Session and data handling

  • register collection sessions with robot and environment identity
  • upload data reliably under constrained networks
  • preserve buffering and resumable behavior on the edge

Telemetry and runtime status

  • stream health, state, and task metrics
  • attach runtime signals to the exact deployed artifact and robot identity
  • support adaptive sampling or prioritization when the network is constrained

Artifact and update coordination

  • receive deployment and update intent
  • download artifacts with integrity checks
  • stage activation and rollback according to platform policy

Operational resilience

  • continue functioning during partial connectivity
  • preserve queued uploads and update state
  • expose enough local state for safe recovery and auditability

Example (Rust)

use rfabric_core::Agent;

fn main() {
    let agent = Agent::new_from_env().unwrap();

    agent.session("cloth-folding-lab")
        .ingest_on_complete(true)
        .telemetry_stream("joint_state", 250)
        .telemetry_stream("gripper_force", 1000)
        .updates()
        .allow_staged_rollout(true);

    agent.run_forever();
}

Why Teams Care

Edge fit

The same platform model reaches the robot without requiring fragile custom glue.

Operational safety

Delivery, rollout, and update behavior remain policy-aware on the device side.

Better field learning

Upload, telemetry, and intervention context stay attached to the same lifecycle chain from the moment they are created.