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

# Basic Instructions

> Set the instructions parameter on an Agent to control its response style and tone.

Give the agent basic instructions to guide its response behavior and style.

## Code

```python instructions.py theme={null}
from agno.agent import Agent

agent = Agent(instructions="Share a 2 sentence story about")
agent.print_response("Love in the year 12000.")
```

## Usage

**1. Create a Python file**

Create `instructions.py` with the code above.

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

**2. Install dependencies**

```bash theme={null}
uv pip install -U agno openai
```

**3. Export your OpenAI API key**

```bash Mac/Linux theme={null}
export OPENAI_API_KEY="your_openai_api_key_here"
```

```bash Windows theme={null}
$Env:OPENAI_API_KEY="your_openai_api_key_here"
```

**4. Run Agent**

```bash theme={null}
python instructions.py
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.