- Step1: Install TinyAgent with pip install tinyagent.
- Step2: Set your OpenAI API key as an environment variable or in code.
- Step3: Import TinyAgent, define any custom tools or memory stores.
- Step4: Initialize an Agent instance with model settings and tools.
- Step5: Call agent.run("Your task description") to execute.
- Step6: Retrieve and handle the agent’s response or logs.