> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokenfactory.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Camel AI

> Camel AI + Nebius Token Factory

**Camel AI** is an open source agentic framework.

[Camel AI docs](https://docs.camel-ai.org/get_started/introduction)

## Prerequisites

1. [Create an API key](https://tokenfactory.nebius.com/project/api-keys) to authorize requests to Nebius Token Factory.
2. Save the API key into a `NEBIUS_API_KEY` environment variable:

   ```shellscript theme={null}
   export NEBIUS_API_KEY="<API_key>"
   ```
3. Install the `camelai` package:

   ```shellscript theme={null}
   # core library
   pip install 'camel-ai'

   # all features and dependencies
   pip install 'camel-ai[all]'
   ```

## Quickstart

```python theme={null}
from camel.models import ModelFactory
from camel.types import ModelPlatformType, ModelType
from camel.configs import NebiusConfig
from camel.agents import ChatAgent

model = ModelFactory.create(
    model_platform=ModelPlatformType.NEBIUS,
    model_type=ModelType.NEBIUS_GPT_OSS_120B,
    model_config_dict=NebiusConfig(temperature=0.2).as_dict(),
)

agent = ChatAgent(
    system_message="You are a helpful assistant.",
    model=model
)

response = agent.step("Say hi to CAMEL AI community.")
print(response.msgs[0].content)
```

## More Examples

View [more examples](https://github.com/nebius/token-factory-cookbook/blob/main/agents/README.md#camel-ai) in our cookbook.
