Agents Examples
A collection of autonomous AI agents built with OpenServ API and SDK framework. Each agent demonstrates different capabilities and use cases.
An agent that provides real-time token analytics using DexScreener's API. Filter and analyze tokens by various criteria like volume, market cap, liquidity, and age.
Getting Started
Clone the repository:
git clone https://github.com/openserv-labs/agent-examples.git
Navigate to the agent directory you want to try, ex:
cd dexscreener-analytics
Install dependencies:
npm install
Set up environment variables:
cp .env.example .env
# Edit .env and add your API keys
Run the agents:
npm run dev
Project Structure
/
├── dexscreener-analytics/ # DexScreener analytics agent
│ ├── index.ts # Agent implementation
│ ├── package.json # Agent dependencies
│ └── tsconfig.json # TypeScript config
│ └── .env.example # Example environment file
└── goat-agent/ # GOAT wallet agent
│ ├── index.ts # Agent implementation
│ ├── package.json # Agent dependencies
│ └── tsconfig.json # TypeScript config
│ └── .env.example # Example environment file
├── perplexity-sonar-pro/ # Perplexity search agent with the Sonar Pro API
│ ├── index.ts # Agent implementation
│ ├── client.ts # Perplexity API client
│ ├── package.json # Agent dependencies
│ └── tsconfig.json # TypeScript config
│ └── .env.example # Example environment file
└── README.md # Main documentation
Contributing
We welcome contributions! If you'd like to add a new agent example:
Create a new directory with a descriptive name
Include a comprehensive README.md in your agent's directory
Follow the existing code structure and documentation patterns
Submit a pull request with your changes
License
Last updated
Was this helpful?