> For the complete documentation index, see [llms.txt](https://docs.gaming.skillfulai.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gaming.skillfulai.io/web-sdk/getting-started/quick-start.md).

# Quick Start

Get up and running with the Skillful Web SDK in minutes.

### `Basic Setup`

```javascript
const { SkillfulClient } = require('@skillfulai/agents');

// Initialize the client
const client = new SkillfulClient({
    apiKey: 'your-api-key'
});
```

### `Your First Conversation`

```javascript
async function startConversation() {
    try {
        // Get available agents created on the Skillful Dashboard
        const agents = await client.getAgents();
        
        // Select an agent by name
        await client.setAgent('Wojak');
        
        // Send a message and get a response from the agent
        const response = await client.sendMessage('Hello!');
        console.log(response.text);
        
    } catch (error) {
        console.error('Error:', error.message);
    }
}
```

### `Response Handling`

```javascript
// Response includes parsed text and metadata
const response = await client.sendMessage('Tell me about Web3');
console.log(response.text);       // The agent's response
console.log(response.events);     // Event metadata
console.log(response.tools);      // Tools used
console.log(response.sources);    // Source references
```

### `Next Steps`

* Explore agent capabilities using `agent.getSkills()`
* Manage conversation history with `client.getConversationHistory()`
* Implement error handling for robust applications
