@agentskit/os-core
Pure foundation — contracts, event bus, workspace model, config schema. Zero runtime deps.
What it does
The mandatory dependency. Every other package builds on it.
- Config schema (
ConfigRoot,WorkspaceConfig,AgentConfig,FlowConfig, …) - Event bus interface (CloudEvents-shaped) and built-in in-memory implementation
- Principal & capability primitives
- Structured
OsErrorbase + code namespaces - Plugin manifest schema
Constraints
- Zero runtime deps. Zod is a peer dep (ADR-0004).
- <15 KB gzipped, enforced via
size-limitin CI. - Strict TS, no
any, named exports only.
Use it directly when
- You're building your own OS surface (custom CLI, IDE plugin, web UI).
- You need to validate configs in CI before publish.
- You're authoring a plugin and need
PluginConfigfor manifest validation.
Status: shipping in M1. 600+ tests.