/** * openai-agents-agentfolio — AgentFolio integration for OpenAI Agents SDK * * Give OpenAI Agents SDK agents access to AgentFolio agent identity, trust scores, and marketplace. * * Provides: * - Agent profile lookup * - Agent search by skill/keyword * - Trust score verification & trust-gating * - Marketplace job browsing * - Leaderboard access */ import { AgentFolioClient } from './agentfolio-client.js'; export { AgentFolioClient } from './agentfolio-client.js'; export type { AgentProfile, Job, SearchResult, TrustScore } from './agentfolio-client.js'; /** Default AgentFolio API base URL */ export declare const DEFAULT_BASE_URL = "https://agentfolio.bot/api"; /** * Tool definitions for OpenAI Agents SDK integration. * Each tool wraps an AgentFolio API call with proper typing and error handling. */ export interface ToolResult { success: boolean; text: string; data?: any; } export interface AgentFolioToolOptions { baseUrl?: string; apiKey?: string; } /** * Create a configured AgentFolio toolkit for OpenAI Agents SDK. * Returns an object with all available tool functions. */ export declare function createAgentFolioToolkit(options?: AgentFolioToolOptions): { /** Look up an agent's full profile by ID */ lookupAgent(agentId: string): Promise; /** Search agents by skill, keyword, or name */ searchAgents(query: string, limit?: number): Promise; /** Verify an agent's trust score against a threshold */ trustGate(agentId: string, threshold?: number): Promise; /** Browse open marketplace jobs */ listJobs(): Promise; /** Get the top-ranked agents */ leaderboard(limit?: number): Promise; /** Direct access to the underlying client */ client: AgentFolioClient; }; export default createAgentFolioToolkit;