@crest.computer/axis
v0.1.0
Published
TypeScript SDK for the Axis Protocol — the open standard for agent systems
Readme
@crest.computer/axis
TypeScript SDK for the Axis Protocol. The open standard for agent systems.
Install
npm install @crest.computer/axisQuickstart
import { Axis } from '@crest.computer/axis'
const axis = new Axis()
const room = await axis.rooms.create({ name: 'trading-desk' })
const agent = await axis.agents.deploy({ room_id: room.id, operator_id: 'andy', name: 'oracle' })
const trace = await axis.traces.fire({ room_id: room.id, model: 'openai/gpt-4o-mini', prompt: 'Analyze the market' })
const cost = await axis.cost.summary(room.id)8 Syscalls
| Syscall | Description |
|---------|-------------|
| rooms | Bounded context for collaboration |
| agents | Agent lifecycle management |
| events | Append-only message stream |
| traces | Verifiable inference record |
| artifacts | Versioned file storage |
| cost | Per-operator cost attribution |
| presence | Heartbeat-based liveness |
| deliberate | Multi-agent room deliberation |
Configuration
const axis = new Axis({
baseUrl: 'https://crest.computer/api/axis',
})Or set AXIS_BASE_URL environment variable.
License
Apache-2.0
