Learn how to integrate the Orbofi Personality Engine with Solana Agent Kit
Solana Agent Kit provides integration with the Orbofi Personality Engine, allowing developers to create AI-powered personalities based on celebrities, historical figures, or fictional characters. This integration enables interactive chat experiences or autonomous agent behavior.
// Start interactive chat with the personalityconst chat = await agent.startOrbofiChat(personality);// Send a message and get a responseconst response = await chat.sendMessage('Tell me about yourself');
/** * Fetches personality data from the Orbofi database * @param name Name of the celebrity/character to fetch * @returns Personality object with description and properties */async function fetchOrbofiPersonality(name: string): Promise<Personality>
/** * Starts an interactive chat session with the personality * @param personality Personality object returned from fetchOrbofiPersonality * @returns Chat object with methods for interaction */async function startOrbofiChat(personality: Personality): Promise<OrbofiChat>