Skip to main content

Blueprint Catalog

The complete specification library — 38 cross-cutting patterns, 16 architecture components, 4 platform bindings, and project standards. Every blueprint is open source and ships with every Weblisk hub. Agents that implement these specifications are in the Agent Catalog.

Patterns — API & Communication

Declarative contracts for API surfaces, messaging, and inter-agent communication.

PatternPurposeTier
api-restREST API with CRUD, pagination, filtering, sortingFree
api-aiAI gateway — chat, completions, extraction, embeddings, multi-provider routingFree
realtime-chatWebSocket messaging with channels, presence, and historyFree
webhookWebhook processing — inbound validation and outbound delivery with retriesFree
commandAgent command interface — dispatch, routing, executionFree
messagingHTTP-based pub/sub — event envelopes, scoping, namespace ownershipFree
notificationMulti-channel delivery — email, webhook, Slack, SMS, pushFree

Patterns — Authentication & Security

PatternPurposeTier
auth-sessionSession-based auth with secure cookies, CSRF protectionFree
auth-tokenJWT and API key auth with refresh tokens, scoped permissionsFree
user-managementUser lifecycle — profiles, roles, password reset, OAuthFree
securityTransport security, input validation, zero-trust, threat eventsFree
secretsSecret lifecycle — storage, rotation, access controlFree

Patterns — Governance

PatternPurposeTier
scopeUniversal classification — 5-level scope, propagation, environment profilesFree
policyDeclarative rules engine — evaluation, composition, precedenceFree
safetyOperation classification — protection gates, kill-switch, quarantineFree
approvalIntent-based approval — authority routing, multi-party, emergency overrideFree
privacyConsent, masking, anonymization, minimization, erasure cascadeFree
contractCollaboration agreements — schemas, scope, permissions, versioningFree
governanceCompliance profiles, evidence collection, governance directivesFree

Patterns — Infrastructure

PatternPurposeTier
storageAgent-level persistence — schema, migration, backupFree
cachingIn-process caching — LRU, TTL, namespaces, AI response cacheFree
loggingStructured JSON logging — levels, correlation, rotationFree
observabilityHealth endpoints, metrics envelope, component state trackingFree
rate-limitingToken bucket, sliding window — gateway and agent rate limitsFree
retryRetry strategies, circuit breaker, timeout managementFree

Patterns — Workflows & Orchestration

PatternPurposeTier
workflowWorkflow declaration, event-driven DAG execution, approval gatesFree
state-machineDeclarative state machines — transitions, guards, side effectsFree
task-dispatchTask submission, priority queuing, dispatch protocol, dead-letterFree
schedulingCron expressions, overlap policy, missed-tick handling, distributed lockingFree
expressionExpression language — guards, conditions, constraints, policy rulesFree

Patterns — Operations

PatternPurposeTier
deploymentCI/CD pipelines, containerization, environment managementFree
file-uploadFile upload, processing, CDN delivery, signed URLsFree
alertingAlert rule evaluation, severity routing, dedup, escalation, mutingFree
incident-responseIncident lifecycle, runbook execution, correlation, post-mortemFree
offlineOffline operation — sync, client persistence, encryption, revocationFree
versioningSemantic versioning, compatibility rules, deprecationFree
domain-controllerDomain controller base — dispatch, aggregation, lifecycleFree
interopFramework adapters — LangChain, CrewAI, ADK, HTTP service wrappersFree

Protocol

The 4 foundational specs that define how every component communicates — the wire contract everything else depends on.

SpecPurpose
wire-formatHTTP + JSON transport rules, request/response envelopes, error categories, versioning
identityEd25519 cryptographic identity, WLT token format, signing, replay protection
canonical-typesShared data structures — AgentManifest, TaskRequest, TaskResult, ServiceDirectory, ChannelGrant
federationHub-to-hub collaboration — trust tiers, peering handshake, data boundary contracts

Architecture Components

System-level blueprints that define the structure of a Weblisk hub. Full architecture specifications →

ComponentPurpose
orchestratorTrust anchor — registration, namespaces, service directory, channel brokering
domainDomain controller — workflow declarations, event-driven triggering
agentAgent base — 5 endpoints, capabilities, pub/sub, retry/circuit breaker
gatewayApplication edge security — session auth, ABAC, rate limiting, route protection
adminPlatform admin — operator identity, roles, separate gateway, 4-eyes approval
clientClient architecture — taxonomy, trust levels, session contracts, data boundary
hubCollaborative hub — discovery, tiers, commerce, federation, registry
lifecycleContinuous optimization — strategies, observations, approvals, measurement
storageAbstract persistence interface
testingConformance test suite specification
observabilityStructured logging, distributed tracing, Prometheus metrics
cliCLI operations — interrogation, management commands, code generation
data-securityTransport security, scope-aware boundaries, opt-in data primitives
enforcementNon-bypassable boundary inspection, rogue agent detection
threat-model5-boundary attack surface analysis, OWASP mapping, residual risk
change-managementVersioning, migration, deprecation lifecycle

Infrastructure Agents

11 system-level agents power every hub — workflow execution, task dispatch, monitoring, and operations. Each agent implements the blueprints above as runtime services.

View the full Agent Catalog →


Platform Bindings

Implementation guidance for each supported runtime.

PlatformApproach
GoStandard library only. SQLite compiled into binary. Local processes.
CloudflareWorkers, Durable Objects, KV, Web Crypto. Zero runtime dependencies.
Node.jsFastify, Ed25519, SQLite. Recommended libraries, not requirements.
Rusttokio, hyper, serde, rusqlite. Single static binary per agent.

Blueprint Resolution

The CLI resolves blueprints from multiple sources in priority order:

Terminal
# Resolution priority:
# 1. Local project — ./patterns/ in your repo
# 2. Custom sources — additional repos via WL_BLUEPRINT_SOURCES
# 3. Core — avaropoint/weblisk-blueprints (always present)

# Add a custom blueprint source
export WL_BLUEPRINT_SOURCES="acme-corp/acme-blueprints"

# List all resolved blueprints
weblisk blueprints list

# Update cached blueprints from all sources
weblisk blueprints update

Multiple Distribution Models

Custom sources override core blueprints with the same path — a customer's patterns/api-rest.md takes precedence over the core version.

SourceRepositoryAccess
Core (open source)avaropoint/weblisk-blueprintsPublic, always available
Vertical/partneravaropoint/weblisk-blueprints-ecommerceGranted per-customer
Customer-ownedacme-corp/acme-blueprintsCustomer's own repo
Local project./patterns/Project-scoped, checked in

Access control is handled entirely by Git — private repos require the user's existing credentials (SSH key or GitHub CLI auth).

Want to create your own? See the Authoring Guide. Every blueprint follows a standard schema with required sections: metadata, overview, specification, types, implementation notes, and verification checklist.