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

# Basic

````markdown theme={null}
---
title: 基础 Agent
---

## 代码

```python cookbook/models/meta/basic.py
from agno.agent import Agent
from agno.models.meta import Llama

agent = Agent(
    model=Llama(id="Llama-4-Maverick-17B-128E-Instruct-FP8"),
    markdown=True,
)

agent.print_response("Share a 2 sentence horror story.")
````

## 使用

<Steps>
  <Snippet file="create-venv-step.mdx" />

  <Step title="设置您的 LLAMA API 密钥">
    ```bash theme={null}
    export LLAMA_API_KEY=YOUR_API_KEY
    ```
  </Step>

  <Step title="安装库">
    ```bash theme={null}
    pip install llama-api-client agno
    ```
  </Step>

  <Step title="运行 Agent">
    <CodeGroup>
      ```bash Mac theme={null}
      python cookbook/models/meta/basic.py
      ```

      ```bash Windows theme={null}
      python cookbook/models/meta/basic.py
      ```
    </CodeGroup>
  </Step>
</Steps>

```
```
