VOLANT
Volant SDK
TypeScript client for the Physical AI OS: connect a fleet, request skills, gate permissions, submit missions, and subscribe to a typed event stream — with a browser mock for demos.
In-repo package · packages/volant-sdk · import @volant/sdk
Install
Ship from the monorepo
The website imports @volant/sdk via workspace path. Build and test the package on its own when you need dist output or CI checks.
cd packages/volant-sdk
npm install
npm run build
npm testSurface
What the client exposes
- connect() / VolantClient — Mock mode for demos; live mode reserved for the future cloud runtime.
- skills — Registry of skill manifests with required capabilities.
- permissions — Mobile-OS style gate for physical actions — request, approve, deny.
- missions — Submit operator intent; phases advance perceive → plan → act → adapt.
- events — Typed stream for OS, fleet, permission, and mission updates.
Quickstart
Same flow as the live demo
This snippet matches the concept playground: connect mock OS, request a skill, approve permissions, submit a mission.
import { connect } from "@volant/sdk";
const client = await connect({ mode: "mock", scenario: "kitting" });
client.events.subscribe((event) => {
console.log(event.type, event);
});
const { skillId, robotId } = client.demo.defaults();
const skill = client.skills.get(skillId);
const request = client.permissions.request({
skillId,
robotId,
capabilities: skill.requiredCapabilities,
});
client.permissions.approve(request.id);
const mission = client.missions.submit({
skillId,
robotId,
intent: "Kit SKU-A for line 2",
});
// mission.phase: queued → perceive → plan → act → complete
// Consciousness layer — L1 propose → L2 structure → L3 gate → L4 release
client.consciousness.propose({ intent: "Kit SKU-A for line 2", robotId, skillId });
client.consciousness.approve();Roadmap
What a real cloud backend still needs
Live transport (auth, facility twin sync, robot adapters), durable mission queues, operator identity and audit logs, and hardware-side compile to maker stacks (ROS 2 / PX4-class). The mock client keeps the public API stable until those land.