# Non-Reasoning Model Agent (/reasoning/usage/agents/non-reasoning-model-cot)



Use explicit tools to add planning notes to a model without native reasoning.

GPT-4.1 is not a supported separate `reasoning_model`. Use `ReasoningTools` as below, or configure a supported native model for a [separate reasoning stage](/reasoning/reasoning-agents).

<Steps>
  <Step title="Add the following code to your Python file">
    ```python title="non-reasoning-model-cot.py"
    from agno.agent import Agent
    from agno.models.openai import OpenAIChat
    from agno.tools.reasoning import ReasoningTools

    agent = Agent(
        model=OpenAIChat(id="gpt-4.1"),
        tools=[ReasoningTools(add_instructions=True)],
        markdown=True,
    )
    agent.print_response(
        "Plan a Python function for the Fibonacci sequence and check its base cases.",
        stream=True,
        show_full_reasoning=True,
    )
    ```
  </Step>

    <Step title="Set up your virtual environment">
      <CodeBlockTabs defaultValue="Mac">
        <CodeBlockTabsList>
          <CodeBlockTabsTrigger value="Mac">
            Mac
          </CodeBlockTabsTrigger>

          <CodeBlockTabsTrigger value="Windows">
            Windows
          </CodeBlockTabsTrigger>
        </CodeBlockTabsList>

        <CodeBlockTab value="Mac">
          ```bash
          uv venv --python 3.12
          source .venv/bin/activate
          ```
        </CodeBlockTab>

        <CodeBlockTab value="Windows">
          ```bash
          uv venv --python 3.12
          .venv\Scripts\activate
          ```
        </CodeBlockTab>
      </CodeBlockTabs>
    </Step>

  <Step title="Install dependencies">
    ```bash
    uv pip install -U openai agno
    ```
  </Step>

  <Step title="Export your OpenAI API key">
    <CodeBlockTabs defaultValue="Mac/Linux">
      <CodeBlockTabsList>
        <CodeBlockTabsTrigger value="Mac/Linux">
          Mac/Linux
        </CodeBlockTabsTrigger>

        <CodeBlockTabsTrigger value="Windows">
          Windows
        </CodeBlockTabsTrigger>
      </CodeBlockTabsList>

      <CodeBlockTab value="Mac/Linux">
        ```bash
          export OPENAI_API_KEY="your_openai_api_key_here"
        ```
      </CodeBlockTab>

      <CodeBlockTab value="Windows">
        ```bash
          $Env:OPENAI_API_KEY="your_openai_api_key_here"
        ```
      </CodeBlockTab>
    </CodeBlockTabs>
  </Step>

  <Step title="Run Agent">
    ```bash
    python non-reasoning-model-cot.py
    ```
  </Step>
</Steps>
