tlnt
Version:
TLNT - HMS-Powered Multi-Agent Platform with Government Agency Analysis, Deep Research, and Enterprise-Ready Deployment. Self-optimizing multi-domain AI agent with continuous learning and enterprise-grade performance monitoring.
61 lines • 1.83 kB
TypeScript
/**
* HMS-Powered Agent Hub
*
* Enhanced AgentHub that uses HMS-NET and HMS-NFO APIs instead of local LLM keys
* Provides full agent orchestration, data processing, and research capabilities
*/
import { EventEmitter } from 'events';
import HMSIntegratedClient, { HMSConfig } from '../services/hmsIntegratedClient.js';
import type { Skill, Context, SkillResult } from '../types/index.js';
export interface HMSAgentHubConfig {
hms: HMSConfig;
fallbackToMock?: boolean;
enableTelemetry?: boolean;
}
export interface HMSSkillExecutionContext extends Context {
hmsClient: HMSIntegratedClient;
enableResearch?: boolean;
agencyContext?: {
agency?: string;
state?: string;
issueType?: string;
};
}
export interface HMSHealthStatus {
status: 'healthy' | 'degraded' | 'unhealthy';
hmsNet: boolean;
hmsNfo: boolean;
integrated: boolean;
details: {
skillCount: number;
uptime: number;
lastCheck: string;
agents: number;
workflows: number;
};
}
export declare class HMSAgentHub extends EventEmitter {
private skills;
private telemetrySpans;
private hmsClient;
private config;
private initialized;
private startTime;
constructor(config?: HMSAgentHubConfig);
initialize(): Promise<void>;
private registerHMSSkills;
private registerMockSkills;
register(skill: Skill): void;
execute(skillName: string, context: Context, args?: unknown): Promise<SkillResult>;
healthCheck(): Promise<HMSHealthStatus>;
listSkills(): Array<{
name: string;
description: string;
version: string;
}>;
private startTelemetrySpan;
private endTelemetrySpan;
get hms(): HMSIntegratedClient;
}
export default HMSAgentHub;
//# sourceMappingURL=hmsAgentHub.d.ts.map