Interoperability & Agent Handoff Center
Vyaxai ID SSO ActiveSafely integrate child repositories without code collisions. Generate copy-paste instructions for each app's dedicated agent.
Universal Vyaxai ID SSO Token Inspector
Live token generator with automated B2B TALP perk resolution and combo bundle decoding.
Target Agent Persona
ARMlytics Lead Fullstack Engineer
All changes are isolated to the ARMlytics codebase. No other folders are touched.
Agent Verification Checklist
Integration Instructions
Add the Vyaxai Telemetry & Admin Heartbeat integration into ARMlytics. 1. Create a lightweight utility in lib/vyaxai-telemetry.ts that pings the Vyaxai Admin Console on key events (e.g. Scrape Completed, Agency Registered, Error Occurred). 2. Read the VYAXAI_ADMIN_CONSOLE_URL and VYAXAI_APP_KEY from environment variables. 3. Expose an authenticated internal stats endpoint at /api/admin/metrics protected by the VYAXAI_APP_SECRET header.
TypeScript / JavaScript Connector
// lib/vyaxai-telemetry.ts
export async function emitVyaxaiEvent(eventType: string, metadata: Record<string, any>, severity: 'info'|'warning'|'error' = 'info') {
const consoleUrl = process.env.VYAXAI_ADMIN_CONSOLE_URL || 'https://console.vyaxai.com';
const apiKey = process.env.VYAXAI_APP_KEY;
if (!apiKey) return;
try {
await fetch(`${consoleUrl}/api/telemetry`, {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'x-vyaxai-api-key': apiKey },
body: JSON.stringify({ appId: 'armlytics', eventType, severity, metadata, timestamp: new Date().toISOString() })
});
} catch (err) {
console.error('Failed to emit Vyaxai telemetry', err);
}
}Environment Variables
VYAXAI_ADMIN_CONSOLE_URL=http://localhost:3005
VYAXAI_APP_KEY=vyx_arm_live_8f7b2c9a1d3e4f5
VYAXAI_APP_SECRET=vyx_sec_arm_901847192837461