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

# Agno

> Agno 에이전트에서 TokenLab 모델 사용하기

## 개요

Agno는 에이전트 및 워크플로우를 위한 OpenAI 호환 모델 제공자로 TokenLab을 사용할 수 있습니다.

<Note>
  **유형**: 에이전트 프레임워크

  **기본 경로**: OpenAI 호환 채팅 완성(Chat Completions)

  **지원 신뢰도**: 지원되는 경로
</Note>

## 환경 설정

```bash theme={null}
export TOKENLAB_API_KEY="sk-your-tokenlab-key"
```

## TokenLab 모델 래퍼

사용 중인 Agno 버전에 TokenLab 모델 래퍼가 포함되어 있는 경우:

```python theme={null}
from agno.agent import Agent
from agno.models.tokenlab import TokenLab

agent = Agent(model=TokenLab(id="gpt-5.4-mini"))
agent.print_response("Give me a concise project risk checklist.")
```

일부 Agno 빌드는 모델 문자열도 지원합니다:

```python theme={null}
agent = Agent(model="tokenlab:gpt-5.4-mini")
```

## OpenAI 호환 대체 방법

사용 중인 버전에 아직 TokenLab이 포함되어 있지 않은 경우, Agno의 OpenAI 호환 모델 경로를 다음과 같이 사용하세요:

* Base URL: `https://api.tokenlab.sh/v1`
* API key: `TOKENLAB_API_KEY`
* Model: `gpt-5.4-mini`

## 모델 제안

기본 에이전트에는 `gpt-5.4-mini`를, 더 깊은 추론이 필요한 경우에는 `gpt-5.4` 또는 `claude-sonnet-5`를, 더 빠른 루프가 필요한 경우에는 `deepseek-v4-flash`를 사용하세요.
