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

# Instructions

> Manage agent instructions and context.

Instructions.

```python theme={null}
"""
Instructions
=============================

Instructions.
"""

from agno.agent import Agent
from agno.models.openai import OpenAIResponses

# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------
agent = Agent(
    model=OpenAIResponses(id="gpt-5.2"),
    add_datetime_to_context=True,
    timezone_identifier="Etc/UTC",
)

# ---------------------------------------------------------------------------
# Run Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
    agent.print_response(
        "What is the current date and time? What is the current time in NYC?"
    )
```

## Run the Example

```bash theme={null}
# Clone and setup repo
git clone https://github.com/agno-agi/agno.git
cd agno/cookbook/02_agents/03_context_management

# Create and activate virtual environment
./scripts/demo_setup.sh
source .venvs/demo/bin/activate

python instructions.py
```
