@theaiinc/realm-core
v0.1.0
Published
Core abstractions, types, and API facade for the Realm platform — the universal interface for isolated AI execution environments
Readme
@theaiinc/realm-core
Core abstractions, types, and API facade for the Realm platform.
@theaiinc/realm-core defines the universal interface that all Realm engines implement. Agents interact with this API and never know which engine is executing their task.
Features
RealmEngineinterface — Contract for execution engines (lifecycle, interaction, filesystem, network, snapshots)RealmAPIfacade — Entry point that routes calls to registered enginesEngineTypeenum — Identifies engine implementations (Container,Browser,Ubuntu,VM)- Core types —
RealmConfig,RealmSession,EngineStatus,NetworkMode,Interactioninterfaces - Audit logging — Built-in audit trail for all realm operations
Installation
pnpm add @theaiinc/realm-coreUsage
import { RealmAPI, EngineType } from '@theaiinc/realm-core';
const api = new RealmAPI();
api.registerEngine(myEngine);
const session = await api.create({ type: EngineType.Container });License
MIT
