Skip to content

SuperInstance/openconstruct-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenConstruct TypeScript — Node.js Agent Onboarding

TypeScript client for OpenConstruct. Onboard agents into the SuperInstance ecosystem from any Node.js or edge runtime.

What This Gives You

  • 5-phase onboardingstart()declareAgent()selectModules()chooseInterface()generateConfig()
  • Full type safetyAgentIdentity, ModuleInfo, OnboardingConfig, InterfaceChoice interfaces
  • Module registry — domain-filtered catalog
  • Dual interface selection — choose one or multiple interface types with custom configs

Quick Start

import { OpenConstructClient, AgentIdentity } from 'openconstruct';

const client = new OpenConstructClient();
client.start();

const identity: AgentIdentity = {
  name: 'my-agent',
  model: 'claude-4',
  capabilities: ['code_generation', 'web_search'],
  tools: ['exec', 'read', 'write']
};
client.declareAgent(identity);

const modules = client.listModules({ domain: 'math' });
client.selectModules(['spectral-graph-core', 'plato-room']);
client.chooseInterface(['cli', 'api']);

const config = client.generateConfig();
console.log(config);

Installation

npm install openconstruct

Testing

npm test

License

MIT

About

TypeScript SDK for OpenConstruct — agent onboarding for the SuperInstance ecosystem

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors