Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@kernel.chat/kbot-orchestrator

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kernel.chat/kbot-orchestrator

Reference implementation of orchestration engineering — the discipline of structuring how agents pass work to each other and to humans, with audit trails. Drives the outreach + content + maintenance loops behind kernel.chat.

latest
Source
npmnpm
Version
0.3.0-alpha.0
Version published
Maintainers
1
Created
Source

@kernel.chat/kbot-orchestrator

Reference implementation of orchestration engineering — the discipline of structuring how agents pass work to each other and to humans, with audit trails. MIT licensed. Part of the kernel.chat open-source stack.

See ROLE.md for the discipline definition.

What this is

A working pipeline runner for multi-step outcomes that mix agent work, deterministic engine calls, and human approval gates. Two pipelines as of v0.2:

  • outreach — read a briefing markdown of recipients, send via SMTP, append an audit table back into the briefing.
  • explore — read a candidate registry, filter by tag + recency, assemble a calibrated briefing in the format the outreach pipeline consumes. Discovery is registry-driven for now; v0.3+ adds real public-internet discovery (GitHub stargazers, npm dependents, web research).

Roadmap: reply tracking (v0.3), content pipeline (v0.4), code-maintenance pipeline (v0.5), multi-agent research pipeline (v0.6).

Install

npm install -g @kernel.chat/kbot-orchestrator

One-time setup (macOS, for the outreach pipeline)

The outreach pipeline sends via Gmail SMTP using an App Password stored in macOS Keychain. Never put the App Password in .env, in a config file, or in command-line arguments.

# Generate an App Password at https://myaccount.google.com/apppasswords
security add-generic-password -U \
  -a your-email@gmail.com \
  -s kbot-gmail-app-password \
  -w '<16-char-app-password>'

Usage

# Dry-run: lists who would be sent
kbot-orchestrator outreach --briefing .claude/OUTREACH.md

# Send Tier 1 only
kbot-orchestrator outreach --briefing .claude/OUTREACH.md --tier "Tier 1" --confirm

# Send a single named recipient
kbot-orchestrator outreach --briefing .claude/OUTREACH.md --name "Chase" --confirm

# Cap a batch
kbot-orchestrator outreach --briefing .claude/OUTREACH.md --confirm --limit 3

After a run, results are appended to the briefing as a ## Send log (machine-appended) table at the bottom of the file.

Explore (discovery) usage

# Assemble a briefing of candidates who care about a specific artifact.
# Filters by tag overlap; excludes anyone pitched within 14 days.
kbot-orchestrator explore \
  --corpus packages/kbot-orchestrator/data/candidates.json \
  --artifact docs/agentic-engineering.md \
  --link "https://github.com/isaacsight/kernel/blob/main/docs/agentic-engineering.md" \
  --subject "the agentic engineering field map" \
  --license "CC BY 4.0" \
  --tags "discipline-naming,agentic-engineering,orchestration" \
  --output .claude/OUTREACH_GENERATED.md

# Then pipe straight into the outreach pipeline:
kbot-orchestrator outreach --briefing .claude/OUTREACH_GENERATED.md --confirm

The corpus is a JSON file with two top-level keys: candidates (people + their tags + channels + pitch-template reference) and templates (named pitch templates with {name_first}, {artifact_path}, {artifact_link}, {artifact_subject}, {artifact_license}, {artifact_context}, {role} placeholders). A seed corpus ships in data/candidates.json with the ~20 practitioners kernel.chat has identified across its 2026-05 outreach push.

The intelligence lives in the corpus curation, not in the agent. v0.2 ships the assembler; v0.3+ adds real discovery via public-internet sources (GitHub stargazers, npm dependents, web research). v0.2 is honest about being a registry-driven briefing generator, not LLM-driven candidate research.

Briefing format

A briefing is a markdown document. Each recipient is a ### block with **To:**, **Subject:**, and a fenced body. Tier headers (##) are optional and used for filtering.

## TIER 1 — Send today

### 1 / Jane Researcher

**To:** `jane@example.edu`
**Subject:** Cold pitch about your work

\`\`\`
Hi Jane,

Specific body text here.

Isaac
\`\`\`

### 2 / Bob Practitioner
...

Recipients without **To:** (e.g. **Channel:** LinkedIn DM) are skipped by the outreach pipeline. The CLI's dry-run mode shows which recipients would be sent.

Programmatic API

import { runOutreach } from '@kernel.chat/kbot-orchestrator'

const result = await runOutreach({
  briefingPath: '.claude/OUTREACH.md',
  sender: {
    email: 'you@gmail.com',
    name: 'Your Name',
    keychainService: 'kbot-gmail-app-password',
  },
  tier: 'Tier 1',
  confirm: true,
  limit: 5,
})

console.log(`Sent ${result.sent.filter((s) => s.result.ok).length}`)

Safety defaults

  • Dry-run by default. Sends only with explicit --confirm.
  • Per-send delay (500ms default) to stay gentle with Gmail send limits.
  • Append-only logging. Briefing markdown is never destructively rewritten; the audit trail goes into a ## Send log table at the bottom.
  • No credentials on command line or in config files. Keychain-only.
  • Errors don't halt the loop. Partial-success is the realistic outcome of any outreach batch (~10-15% bounce rate on best-guess addresses); the loop continues, the log records every failure.

What this package does NOT do (yet)

  • Reply tracking. v0.2 will integrate Gmail IMAP / MCP to surface inbound replies. Today you check Gmail manually.
  • LinkedIn / Bluesky / X DM channels. Email-only. Other channels require your hands.
  • Pipeline shapes beyond outreach. Content production, code maintenance, and research pipelines are roadmap.
  • Multi-agent specialist nodes. v0.1 is a single-sender pipeline. The multi-agent version with handoff protocols comes after the v0.1 shape settles.
PackageDisciplineLicense
@kernel.chat/agent-osagent-OS — system primitivesApache-2.0
@kernel.chat/kbot-financeprovenance engineering — substrateApache-2.0
@kernel.chat/kbot-orchestrator (this)orchestration engineering — pipelinesMIT
@kernel.chat/kbotthe agent itselfMIT

Discipline context

Orchestration engineering is one of six disciplines mapped in the agentic engineering field reference. kernel.chat now holds three of those six: provenance engineering, agent-OS, and orchestration engineering. The other three (skill curation, evaluation, operations) are open to whoever names them first.

License

MIT. See LICENSE.

The accompanying ROLE.md is CC BY 4.0. Fork it, improve it, adopt it in your own JDs and onboarding docs.

Keywords

agentic-engineering

FAQs

Package last updated on 21 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts