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.
100 lines • 2.75 kB
TypeScript
/**
* HMS Integrated Client
*
* Unified client for HMS-NET and HMS-NFO integration
* Provides a single interface for all HMS operations including:
* - Agent orchestration via HMS-NET
* - Data processing and research via HMS-NFO
* - LLM capabilities through HMS APIs (no local keys needed)
*/
import HMSNetClient, { HMSNetConfig, Agent } from './hmsNetClient.js';
import HMSNfoClient, { HMSNfoConfig } from './hmsNfoClient.js';
export interface HMSConfig {
hmsNet: HMSNetConfig;
hmsNfo: HMSNfoConfig;
}
export interface ChatRequest {
prompt: string;
context?: Record<string, unknown>;
agentType?: string;
includeResearch?: boolean;
maxTokens?: number;
}
export interface ChatResponse {
response: string;
agentUsed: string;
researchContext?: any;
processingTime: number;
confidence: number;
}
export interface HMSAgentExecution {
executionId: string;
agentId: string;
status: 'running' | 'completed' | 'failed';
result?: any;
error?: string;
startedAt: string;
completedAt?: string;
}
export interface ResearchEnhancedResponse {
originalResponse: string;
researchFindings: string[];
agencyRecommendations?: string[];
complianceInfo?: string[];
sourceReferences: Array<{
title: string;
url: string;
relevance: number;
}>;
}
export declare class HMSIntegratedClient {
private netClient;
private nfoClient;
private config;
constructor(config: HMSConfig);
healthCheck(): Promise<{
hmsNet: {
status: string;
available: boolean;
};
hmsNfo: {
status: string;
available: boolean;
};
integrated: boolean;
}>;
chat(request: ChatRequest): Promise<ChatResponse>;
analyzeAgency(agencyName: string, issueTopic: string, options?: {
state?: string;
agencyType?: string;
createWorkflow?: boolean;
}): Promise<{
analysis: any;
workflowId?: string;
recommendations: string[];
hmsComponents: string[];
}>;
performDeepResearch(topic: string, options?: {
depth?: number;
breadth?: number;
createAgent?: boolean;
}): Promise<{
research: any;
agentId?: string;
insights: string[];
sources: number;
}>;
private enhanceWithResearch;
private getOrCreateChatAgent;
get net(): HMSNetClient;
get nfo(): HMSNfoClient;
listActiveAgents(): Promise<Agent[]>;
getSystemStatus(): Promise<{
agents: number;
workflows: number;
etlStatus: any;
health: any;
}>;
}
export default HMSIntegratedClient;
//# sourceMappingURL=hmsIntegratedClient.d.ts.map