- Step1: Install via npm with `npm install js-agent`
- Step2: Import and configure your OpenAI API key
- Step3: Define tools or functions the agent can call
- Step4: Initialize an Agent instance with memory and planner
- Step5: Call `agent.run(prompt)` to execute autonomous tasks
- Step6: Handle responses, inspect memory, and iterate as needed