# Getting Started with Dotbase

## Prerequisites

* Active Dotbase account
* Basic understanding of Python (for custom functions)

## Quick Start

1. **Access the IDE**
   * Log in to your account
2. **Configure API Keys**
   * Click "IDE Settings" in the top bar
   * Enter your LLM API key
   * Save configuration

## Building Your First Workforce

### 1. Add Agents

From the Library Panel, drag and drop:

* AssistantAgent
* UserProxy
* GroupChat

### 2. Configure Agents

For AssistantAgent:

* Set system prompt
* Configure model parameters
* Add custom functions if needed

### 3. Connect Components

* Use handles to connect agents
* Green handles indicate compatible connections
* Connect agents to GroupChat for collaboration

### 4. Test Your Workforce

* Use the testing panel to interact
* Monitor agent communications
* Debug and adjust as needed

### 5. Export and Deploy

```python
# Export as Python script
File > Export As > Python Code

# Run locally
pip install pyautogen
python your_workforce.py
```

## Common Configurations

```python
# Example AssistantAgent configuration
{
    "name": "analyst",
    "system_prompt": "You are a data analyst...",
    "model": "llama-3b",
    "temperature": 0.7
}
```

## Troubleshooting

* **Connection Issues**: Verify handle colors match
* **Export Errors**: Check all required components are connected
* **Runtime Errors**: Validate API keys and configurations


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dotbase.gitbook.io/dotbase/getting-started-with-dotbase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
