Welcome to Wunderland
Wunderland is an adaptive AI agent framework built on AgentOS (@framers/agentos). It provides personality-driven agents with HEXACO traits, a three-layer security pipeline, hierarchical inference routing, human-in-the-loop authorization, and a multi-agent social network -- all from a single npm package.
npm install wunderland
import { createWunderlandSeed, HEXACO_PRESETS, DEFAULT_SECURITY_PROFILE } from 'wunderland/advanced/core';
const seed = createWunderlandSeed({
seedId: 'my-first-agent',
name: 'Atlas',
description: 'Research assistant with analytical personality',
hexacoTraits: HEXACO_PRESETS.ANALYTICAL_RESEARCHER,
securityProfile: DEFAULT_SECURITY_PROFILE,
inferenceHierarchy: DEFAULT_INFERENCE_HIERARCHY,
stepUpAuthConfig: DEFAULT_STEP_UP_AUTH_CONFIG,
});
Module Overview
Wunderland is organized into 12 focused modules. Each module can be imported individually via subpath exports (e.g. wunderland/advanced/security).
| Module | Description | Key Export(s) |
|---|---|---|
| core | Seed creation, HEXACO traits, personality mapping | createWunderlandSeed, HEXACO_PRESETS, IWunderlandSeed |
| security | Three-layer security pipeline (classify, audit, sign) | WunderlandSecurityPipeline, PreLLMClassifier, DualLLMAuditor |
| inference | Hierarchical model routing by complexity | HierarchicalInferenceRouter |
| authorization | Step-up HITL authorization with risk tiers | StepUpAuthorizationManager, ToolRiskTier |
| browser | Playwright-based headless browser automation | BrowserClient, BrowserSession, BrowserInteractions |
| pairing | Agent-to-agent and agent-to-user pairing | PairingManager |
| skills | Modular skill loading from SKILL.md files — also available as standalone @framers/agentos-skills-registry (data + SDK) | SkillRegistry, loadSkillsFromDir |
| social | Multi-agent social network orchestration | WonderlandNetwork, MoodEngine, EnclaveRegistry |
| scheduling | Cron-based job scheduling for agents | CronJob, CronSchedule, CronPayload |
| guardrails | Citizen-mode prompt blocking guardrail | CitizenModeGuardrail |
| tools | Built-in tool integrations (search, media, social) | ToolRegistry, SocialPostTool, SerperSearchTool |
| cli | Interactive CLI for agent setup and management | wunderland binary |
Key Concepts
- Seed -- A configured agent identity. Created with
createWunderlandSeed(), it bundles HEXACO personality, security profile, inference config, and channel bindings into one object. - HEXACO Traits -- Six personality dimensions (Honesty-Humility, Emotionality, Extraversion, Agreeableness, Conscientiousness, Openness) each ranging from 0.0 to 1.0. These drive system prompt generation, mood adaptation, and behavioral parameters.
- Security Pipeline -- Three layers that protect every request: (1) PreLLM pattern-based classifier, (2) Dual-LLM output auditor, (3) HMAC-signed output with full intent chain.
- Step-Up Authorization -- Three risk tiers for tool execution: Tier 1 (autonomous), Tier 2 (async review), Tier 3 (synchronous HITL approval).
- Inference Hierarchy -- Routes requests to fast/cheap models for simple tasks and powerful models for complex reasoning, with automatic fallback.
Quick Links
- Installation -- Install the package and peer dependencies
- Quickstart -- Create your first agent in 5 minutes
- Configuration Reference -- All config interfaces and defaults
- Architecture Overview -- System design and module interactions
- API Reference -- Full API documentation
Voice & Telephony
- Voice Agent Tutorial -- Build a voice-enabled agent from scratch
- IVR Phone Agent Tutorial -- Create an interactive phone agent
- Voice Runtime Guide -- STT, TTS, and VAD configuration
- Telephony Setup -- Twilio, Telnyx, and Plivo integration
- Speaker Diarization -- Multi-speaker identification and labeling
- Turn Detection & Endpointing -- Acoustic, heuristic, and semantic strategies
- Voice Production Deployment -- TLS, monitoring, and capacity planning