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.
68 lines • 1.95 kB
TypeScript
import type { AgentStatus, Deal } from '../types/index.js';
export interface BlaxApiResponse<T = unknown> {
success: boolean;
data?: T;
error?: string;
meta?: {
timestamp: number;
requestId: string;
version: string;
};
}
export interface BlaxAgent extends AgentStatus {
capabilities: string[];
domains: string[];
pricing?: {
tokensPerRequest: number;
costPerToken: number;
};
}
export interface BlaxDeal extends Deal {
billing: {
totalCost: number;
currency: string;
breakdown: Array<{
agent: string;
cost: number;
tokens: number;
}>;
};
}
export declare class BlaxApiClient {
private baseUrl;
private token?;
constructor(token?: string);
private request;
getAgents(): Promise<BlaxApiResponse<BlaxAgent[]>>;
getAgent(agentId: string): Promise<BlaxApiResponse<BlaxAgent>>;
getDeals(): Promise<BlaxApiResponse<BlaxDeal[]>>;
createDeal(deal: Partial<BlaxDeal>): Promise<BlaxApiResponse<BlaxDeal>>;
executeSkill(agentId: string, skillName: string, args: unknown): Promise<BlaxApiResponse<unknown>>;
getAgentLogs(agentId: string, options?: {
since?: string;
limit?: number;
}): Promise<BlaxApiResponse<string[]>>;
getSystemStatus(): Promise<BlaxApiResponse<{
status: 'healthy' | 'degraded' | 'down';
agents: {
active: number;
total: number;
};
deals: {
active: number;
total: number;
};
uptime: number;
}>>;
authenticate(credentials: {
username?: string;
password?: string;
apiKey?: string;
}): Promise<BlaxApiResponse<{
token: string;
expiresIn: number;
}>>;
setToken(token: string): void;
}
export declare const blaxApi: BlaxApiClient;
//# sourceMappingURL=blaxApiClient.d.ts.map