# Quick Start Guide

### Overview

Transform your applications with KidJig's intelligent AI agents - powerful, context-aware assistants that combine advanced language models with specialized tools to deliver dynamic, purpose-driven interactions.

For more example you can check out github repository&#x20;

* Python - [<mark style="color:orange;">Github Repo</mark>](https://github.com/Kidjig/kidjig-api-examples-python/tree/main/src/agents)
* Javascript - [<mark style="color:orange;">Github Repo</mark>](https://github.com/Kidjig/kidjig-api-example-javascript/blob/main/src/agents/agent.js)

### Authentication

All API requests require an API key for authentication. Include it in your request headers:

```bash
X-Api-Key: your_api_key_here
```

### Quick Start Guide

#### 1. Create Your First Agent

```bash
curl -X POST https://api.kidjig.com/agents/api/v1/ \
  -H "X-Api-Key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Research Assistant",
    "description": "Helps with research tasks",
    "agent_role": "Research Assistant",
    "agent_instructions": "Help users find and analyze information",
    "tools": ["Search", "Media"],
    "provider_id": "openai",
    "model": "gpt-4o",
    "temperature": 0.7
  }'
```

#### 2. Chat with Your Agent

```bash
curl -X POST https://api.kidjig.com/agents/api/v1/chat/{agent_id} \
  -H "X-Api-Key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "What can you help me with?",
    "stream": false
  }'
```


---

# 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://kidjig.gitbook.io/kidjig-docs/agents-api/quick-start-guide.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.
