Create an agent with a display name, voice, and language:
Copy
import { Configuration, AtomsClient } from 'smallestai';const config = new Configuration({ accessToken: 'your-api-key'});const atomsClient = new AtomsClient(config);// Create your first agentconst agent = await atomsClient.createAgent({ displayName: "My First Agent", voiceId: "emily", // or any available voice language: "en"});console.log("Created agent:", agent);