@monodox/agentverse
v0.1.0
Published
AgentVerse TypeScript SDK — haptics-first agentic simulation by Haptis.
Maintainers
Readme
@monodox/agentverse
TypeScript SDK for AgentVerse — haptics-first agentic simulation by Haptis.
This package mirrors the public API of the AgentVerse Python package for use in Node.js tooling, web dashboards, and JavaScript-based agent orchestration.
Install
npm install @monodox/agentverseQuick Start
import { BaseAgent, BaseEnv, Trainer } from "@monodox/agentverse";
const env = new BaseEnv();
const agent = new BaseAgent("learner");
const trainer = new Trainer(env, agent);
console.log(trainer.trainStep());API
Agents
BaseAgent— base interface for agentsHapticAgent— agent with haptic feedback handlingTeacherAgent— agent that provides demonstration actions
Environments
BaseEnv— base simulation environmentHapticEnv— environment with haptic feedback hooksRobotEnv— environment for robot control tasks
Haptics
ForceSimulator— force computationSensorSimulator— haptic sensor readingsTouchSimulator— contact detection
Models
EmbeddingModel— embedding placeholderMotokoModel— Motoko integration pointSpatialModel— spatial distance computation
Training
Trainer— environment-agent training loopCurriculum— curriculum difficulty trackingRewardFunction— reward computation
Development
npm run build # compile TypeScript
npm test # run tests
npm run lint # lint sourceLicense
Apache License 2.0
