integrationPackage manifestv2.0.5

integration.communication-os-agent

Governed agent binding that drafts CommunicationOS replies via the ai-agent runtime, using the fail-closed command-inbox as the approval seam and a SovereigntyProfile-driven sovereign LLM (Mistral EU default, Claude alternative) — with no outbound send authority.

@lssm-tech/integration.communication-os-agent
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.0.5. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEintegration.communication-os-agentintegrations

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

8 déclarations · les 6 premières affichéesSELECT TO INSPECT

@lssm-tech/integration.communication-os-agent

Governed agent binding for CommunicationOS (plan P1-S2 + P1-S3, AC1.2, AC1.4).

It wires the @lssm-tech/lib.ai-agent runtime so it drafts replies and extracts decisions/risks/actions/summaries/intent for CommunicationOS — using the fail-closed governed command-inbox as the approval seam and a SovereigntyProfile-driven sovereign LLM (Mistral EU by default, Claude as a config-only alternative) — without ever giving the agent outbound send authority.

Why this is an integration package

This package binds three reusable libs (ai-agent, ai-providers, communication-runtime) plus the communication-spec contracts to a concrete runtime target (the governed agent). It introduces no new domain contracts and depends only downward (libs + spec), matching package-architecture.md for the integrations/ layer. It is the glue between the generic agent runtime and the CommunicationOS governance surface; it does not belong in a lib (it composes several libs) nor in a bundle/app (it is reusable across verticals).

Safety invariants (non-negotiable)

  1. Allowlist, not denylist (pre-mortem #3, R3). createCommunicationAgentOperationRegistry() builds the agent's operationRegistry from an explicit allowlist: reply.draft, summary.generate, intent.classify, action.extract, decision.extract, risk.extract. The outbound communication.reply.send operation is structurally absent — it is never registered, so the agent can never resolve it into a tool. A future send-like operation cannot leak in by omission.
  2. Inbox-backed approval seam (architect MUST-FIX 1). CommunicationInboxApprovalStore implements ApprovalStore. Every approval request is projected through createCommunicationCommandInboxItem, producing a fail-closed inbox item (canExecute: false). The agent can only create pending records; it cannot transition them to approved and holds no send tool. The store is wrapped as new ApprovalWorkflow(store) and passed as approvalWorkflow — the inbox object is never passed directly.
  3. Send is a separate port the agent cannot call. Outbound delivery is reachable only by an inbox approval transition driven by a human or an explicitly authorized policy — never by the agent.

Sovereign model binding (P1-S3, AC1.4)

resolveSovereignDefaultModel / createSovereignModelSelector resolve the LanguageModel from the tenant SovereigntyProfile.llmProviderId: Mistral (sovereign EU) by default, Claude (anthropic) as the alternative, switchable by config only. On-prem/self-host hosting routes through a provider-local-model OpenAI-compatible baseUrl.

Thread assist over the Vercel AI Gateway

./thread-assist-gateway exports createGatewayThreadAssistModels(). It returns a read/draft-only thread assist port for any entry of COMMUNICATION_OS_AI_MODEL_CATALOG (@lssm-tech/lib.communication-spec/contracts/ai-model-catalog), built on the shared createVercelGatewayModel adapter.

Every call carries the enforced Gateway policy: EU inference zone, zero data retention, no training, and only the catalog's inference providers. There is no direct-provider key and no automatic fallback model. Ports are cached per model id, so switching models per request does not rebuild clients.

Omit apiKey to let the Gateway SDK use AI_GATEWAY_API_KEY or Vercel OIDC. CommunicationOS API uses this binding for summaries, drafts and inbox triage. The port's triage() (./thread-triage) requests strict structured output (Output.object with the communicationThreadTriageJsonSchema() schema) and validates the label again, so invalid output always rejects. The sovereign binding below remains for the governed agent.

Usage

ts
import { createCommunicationOsAgent } from '@lssm-tech/integration.communication-os-agent';

const { factory, approvalStore, approvalWorkflow } = createCommunicationOsAgent({
  models: {
    sovereignty: { llmProviderId: 'mistral', hostingMode: 'saas' },
    providers: {
      mistral: { apiKey: process.env.MISTRAL_API_KEY },
      anthropic: { apiKey: process.env.ANTHROPIC_API_KEY },
    },
  },
  inbox: { log: { events: [], version: 0 } },
});

Declared capabilities.

Integration Communication Os Agent

Governed agent binding that drafts CommunicationOS replies via the ai-agent runtime, using the fail-closed command-inbox as the approval seam and a SovereigntyProfile-driven sovereign LLM (Mistral EU default, Claude alternative) — with no outbound send authority.

Use it to

  • Adopt governed agent binding that drafts communicationos replies via the ai-agent runtime, using the fail-closed command-inbox as the approval seam and a sovereigntyprofile-driven sovereign llm (mistral eu default, claude alternative) — with no outbound send authority

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/integration.communication-os-agent package constraints do not match the target runtime or platform.

@lssm-tech/integration.communication-os-agent

@lssm-tech/integration.communication-os-agent/agent

@lssm-tech/integration.communication-os-agent/agentic

@lssm-tech/integration.communication-os-agent/agentic/approval-policy

@lssm-tech/integration.communication-os-agent/agentic/mcp-skill-registry

@lssm-tech/integration.communication-os-agent/agentic/memory-binding

@lssm-tech/integration.communication-os-agent/agentic/parallel-subagents

@lssm-tech/integration.communication-os-agent/agentic/scheduler

@lssm-tech/integration.communication-os-agent/agentic/thread-search

@lssm-tech/integration.communication-os-agent/inbox-approval-store

@lssm-tech/integration.communication-os-agent/narrowed-registry

@lssm-tech/integration.communication-os-agent/sovereign-model

@lssm-tech/integration.communication-os-agent/thread-assist

@lssm-tech/integration.communication-os-agent/thread-assist-gateway

@lssm-tech/integration.communication-os-agent/thread-triage

Imports and export paths.

15 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

15 imports

@lssm-tech/integration.communication-os-agent/agent

Dependencies and related packages.

Runtime dependencies 8
ai
catalog:ai
Development dependencies 4
@types/bun
catalog:types
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
devcontractspec-bun-build dev
cleanrimraf dist .turbo
lint:checknode ../../../scripts/biome.cjs check .
lint:fixnode ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .
testbun test
prebuildcontractspec-bun-build prebuild
typechecktsgo --noEmit
Votre vue

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.