- Step1: Install the package via npm or yarn (npm install tongui-agent).
- Step2: Import Tongui Agent in your project (import { Agent } from 'tongui-agent').
- Step3: Configure your LLM backend (e.g., OpenAI API key).
- Step4: Define memory modules and custom tools or actions.
- Step5: Instantiate the Agent with configuration and plugins.
- Step6: Call agent.run(input) to execute tasks or conversations.
- Step7: Monitor logs and state via built-in observability hooks.
- Step8: Deploy in Node.js, web, or serverless environments.