Catalog npm
Back to packageRELEASE DETAILS

2.1.1

npm

0n-spec

The .0n Standard v2.1 — Universal AI orchestration format. 9 file types, 7-layer semantic knowledge architecture (patent pending), secure vault containers, Smart Deploy, 3 execution patterns. Powers 0nMCP (1,598 tools across 106 services) including Go Hig

0n-standard0nmcp0norkai-orchestrationbrainbrandconfigurationcredential-managementdotfileencryptionknowledge-layersmcppatent-pendingseal-of-truthsmart-deploytask-management
All keywords (28)
template-enginevaultworkflow0naiautomationconfigjson-schemamodel-context-protocolorchestrationspecificationstandard
Published6 Aug 2026
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation
   ██████╗ ███╗   ██╗
  ██╔═████╗████╗  ██║
  ██║██╔██║██╔██╗ ██║
  ████╔╝██║██║╚██╗██║
  ╚██████╔╝██║ ╚████║
   ╚═════╝ ╚═╝  ╚═══╝

The .0n Standard

The universal configuration format for AI orchestration.

License: CC BY 4.0 Version Node.js PRs Welcome Spectra Assure Community Badge

Specification · Schemas · Examples · CLI · Library · 0nMCP


What is .0n?

Just as .git revolutionized version control and .env standardized environment configuration, .0n establishes the universal standard for AI orchestration configuration.

~/.0n/
├── config.json           # Global settings
├── connections/          # Service credentials
│   ├── stripe.0n
│   ├── slack.0n
│   └── openai.0n
├── workflows/            # Automation definitions
│   └── invoice-notify.0n
├── snapshots/            # System state captures
│   └── crm-setup.0n
├── history/              # Execution logs
└── cache/                # Response cache

Every .0n file has a standard header:

{
  "$0n": {
    "type": "connection",
    "version": "1.0.0",
    "name": "Production Stripe"
  },
  "service": "stripe",
  "auth": {
    "type": "api_key",
    "credentials": { "api_key": "{{env.STRIPE_SECRET_KEY}}" }
  }
}

The philosophy: "Turn it on. It just works."


Why .0n?

Problem.0n Solution
Every orchestrator invents its own config formatOne standard format for all
Credentials scattered across env files, JSON, YAML~/.0n/connections/ — one place
Workflows trapped in proprietary toolsPortable .0n workflow files
No execution history standard~/.0n/history/ — JSONL by date
System configs can't be sharedShareable snapshots with .0n format

File Types

TypePurposeExample
connectionService credentialsstripe.0n
workflowMulti-step automationsinvoice-notify.0n
snapshotSystem state capturecrm-setup.0n
executionTask run history2026-02-06.jsonl
configGlobal settingsconfig.json

Schemas

JSON Schemas for validation:


Examples

Working examples of each file type:


CLI

Initialize, validate, and test .0n files from the command line.

Install

npm install -g 0n-spec

Commands

# Initialize ~/.0n/ directory
0n init

# Validate a .0n file
0n validate my-workflow.0n

# Validate entire directory
0n validate ~/.0n/

# Run conformance tests against examples
0n test

Library

Use programmatically in Node.js:

const { validate, parse, create, init, list, save } = require('0n-spec');

// Validate a file
const result = validate('my-workflow.0n');
// { valid: true, type: 'workflow', version: '1.0.0', errors: [], warnings: [] }

// Parse a .0n file
const workflow = parse('~/.0n/workflows/invoice-notify.0n');
// { type: 'workflow', name: 'Invoice and Notify', data: {...} }

// Create a new .0n object
const connection = create('connection', {
  name: 'My Stripe',
  service: 'stripe',
  authType: 'api_key',
  credentials: { api_key: '{{env.STRIPE_KEY}}' },
});

// Initialize ~/.0n/ directory
init();

// List all connections
const connections = list('connection');

// Save to file
save(connection, '~/.0n/connections/stripe.0n');

Template Syntax

The .0n standard uses double-brace templates:

SyntaxDescription
{{inputs.name}}Reference input parameter
{{step_id.output.field}}Reference step output
{{env.VAR_NAME}}Reference environment variable
{{now}}Current ISO timestamp
{{uuid}}Generate UUID

Implementations

ProductDescriptionStatus
0nMCPUniversal AI API Orchestrator — 850 tools, 53 servicesProduction

Building a .0n Implementation

  1. Use ~/.0n/ as the config directory
  2. Support the $0n header in all files
  3. Validate against the JSON schemas
  4. Pass conformance tests: npx 0n-spec test

Community & Unlocks

The .0n Standard grows with the 0nMCP community. Every milestone unlocks new capabilities.

Current: Phase 0 — Foundation complete (850 tools, 53 services, 23 categories)


The 0n Network

The .0n Standard is part of the 0n Network — an open ecosystem of AI-native tools.

RocketOppThe agency behind the 0n Network. AI-powered systems that replace manual operations.
Rocket+MCPUniversal control layer connecting AI agents to business tools.
0n NetworkOpen-source AI orchestration infrastructure.

Contributing

We want the .0n standard to become the universal format for AI orchestration config.

Ways to contribute:

  • Propose schema improvements
  • Add example .0n files
  • Build a .0n-compliant implementation
  • Report issues or suggest features
  • Star the repo
git clone https://github.com/0nork/0n-spec.git
cd 0n-spec
npm test

License

The .0n Specification is licensed under CC BY 4.0.

The CLI and library code are licensed under MIT.


Turn it on. It just works.

Read the Spec · Star this repo · Use 0nMCP


Made with conviction by RocketOpp · Rocket+MCP · 0n Network

"The best automation is the one you don't have to configure."

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-4tsHwJqZ+0OK0G19SrMVwE32RUUvdiByN2+l05BIWVX/n8vNPsGt81ZWul0jVTrGlb1ROb46cOue3pdRH1oyiw==",
  "shasum": "4e0c42fc564c0f4748578a54268754328f3505de",
  "tarball": "https://registry.npmjs.org/0n-spec/-/0n-spec-2.1.1.tgz",
  "fileCount": 20,
  "unpackedSize": 158137,
  "signatures": [
    {
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
      "sig": "MEQCIFAeu1OB6IWnO6I7NZJ2YP08oY05Cus5WNonyPsJ6l5DAiBx5hcKNDRot+6Z60g0msYky8z/5F76YjLRoPFZgERfEg=="
    }
  ]
}

Repository

PENDING
0nork/0n-spec

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:44 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:71acba684f2c862cc0aa2d2dfcd317a47a6b73dcc1520292df734bf42d4a92db

Other collected versions

2.1.028 Apr2.0.04 Apr1.1.13 Apr1.1.015 Feb1.0.112 Feb1.0.06 FebView all collected versions →