This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+14 more
Summary
AI summaryUpdates telemetry, provider, and error across a mixed release.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Medium |
Added ITelemetryProvider BYOT abstraction for plugging any OpenTelemetry SDK or custom backend into Network-AI without code changes. Added ITelemetryProvider BYOT abstraction for plugging any OpenTelemetry SDK or custom backend into Network-AI without code changes. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: high |
— |
| Feature | Medium |
Created createOtelHooks factory to convert any ITelemetryProvider into ExecutionHook[] for AdapterHookManager registration. Created createOtelHooks factory to convert any ITelemetryProvider into ExecutionHook[] for AdapterHookManager registration. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: high |
— |
| Feature | Medium |
Implemented NullTelemetryProvider as no-op default with zero overhead and zero imports. Implemented NullTelemetryProvider as no-op default with zero overhead and zero imports. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: low |
— |
| Feature | Medium |
Provided CapturingTelemetryProvider for in-memory span storage used in tests and local development. Provided CapturingTelemetryProvider for in-memory span storage used in tests and local development. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: low |
— |
| Feature | Medium |
Demonstrated wiring a custom MyOtelProvider implementing ITelemetryProvider with existing OTel SDK. Demonstrated wiring a custom MyOtelProvider implementing ITelemetryProvider with existing OTel SDK. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: low |
— |
| Feature | Medium |
Added 16 new tests in test-phase11.ts to cover the telemetry BYOT implementation. Added 16 new tests in test-phase11.ts to cover the telemetry BYOT implementation. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: low |
— |
Full changelog
Network-AI v5.7.0 — OTel ITelemetryProvider BYOT Interface
All 3,136 tests pass. Zero TypeScript errors.
Features
ITelemetryProvider BYOT abstraction (lib/telemetry-provider.ts)
A zero-dependency telemetry interface that lets you plug any OpenTelemetry SDK — or any custom backend — into Network-AI without modifying a single adapter.
Interface
interface ITelemetryProvider {
startSpan(name: string, attributes?: SpanAttributes): unknown;
endSpan(span: unknown, attributes?: SpanAttributes): void;
recordError(span: unknown, error: Error): void;
}
Built-in implementations
| Class | Purpose |
|---|---|
| NullTelemetryProvider | No-op default — zero overhead, zero imports |
| CapturingTelemetryProvider | In-memory store for tests and local dev |
createOtelHooks(provider)
Factory that converts any ITelemetryProvider into three ExecutionHook[] ready to register with AdapterHookManager:
import { createOtelHooks, CapturingTelemetryProvider } from './lib/telemetry-provider.js';
import { AdapterHookManager } from './lib/adapter-hooks.js';
const telemetry = new CapturingTelemetryProvider();
const hookManager = new AdapterHookManager();
hookManager.registerHooks(createOtelHooks(telemetry));
// After execution:
const spans = telemetry.getSpans(); // CapturedSpan[]
Wiring your OTel SDK
class MyOtelProvider implements ITelemetryProvider {
startSpan(name: string, attrs?: SpanAttributes) {
return otel.tracer('network-ai').startSpan(name, { attributes: attrs });
}
endSpan(span: unknown) { (span as Span).end(); }
recordError(span: unknown, error: Error) {
(span as Span).recordException(error);
(span as Span).setStatus({ code: SpanStatusCode.ERROR });
}
}
hookManager.registerHooks(createOtelHooks(new MyOtelProvider()));
Zero new runtime dependencies — BYOT principle maintained throughout.
16 new tests added to test-phase11.ts.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Jovancoding/Network-AI
Multi-agent orchestration MCP server with race-condition-safe shared blackboard. 20+ MCP tools: blackboard read/write, agent spawn/stop, FSM transitions, budget tracking, token management, and audit log query. `npx network-ai-server --port 3001`.
Related context
Beta — feedback welcome: [email protected]