Triad Agent is an AI-powered analytical tool designed to provide balanced insights into prediction markets. It leverages dual perspectives through Agent Hype and Agent Flop to deliver comprehensive market analysis across various sectors including cryptocurrencies, sports, gaming, entertainment, and traditional markets.
- Dual Perspective Analysis: Get both optimistic and pessimistic market viewpoints
- Real-time Data: Utilizes Tavily Search for up-to-date market information
- REST API: Easy integration with frontend applications
- Multi-Market Support:
- Cryptocurrency markets
- Sports betting
- Gaming and esports
- Entertainment
- Web2 and Web3 projects
- Traditional markets
- Comprehensive Market Metrics:
- Market sentiment
- Price action
- Trading volumes
- User adoption rates
- Industry trends
- Regulatory updates
- Create Market: Implementation of market creation using Triad Protocol
- Resolve Market: Market resolution functionality
- Oracle Integration: Integration with Pyth Network for reliable price feeds
- Clone the repository
git clone [email protected]:triadxyz/triad-agent.git
cd triad-agent
- Install dependencies
npm install
-
Set up environment variables Create a
.env
file in the root directory and add your API keys. -
Build the project
npm run build
- Run the project
npm run start
Submit a question for market analysis.
{
"question": "What is the outlook for League of Legends World Championship viewership?",
"agent": "agent_generalist",
"ticker": "", //optional but usefull if you are using a cripto market
}
{
"response": "Detailed market analysis with dual perspectives..."
}
Alternative endpoint using query parameters.
arg1
: Main questionarg2
: Agent parameterarg3
: Tciekr
curl "http://localhost:3000/ask?arg1=Premier League prediction&arg2=Sports"
- Match outcome predictions
- Player performance analysis
- Tournament progression forecasts
- Game launch success predictions
- Tournament viewership forecasts
- Player base growth analysis
- Movie box office predictions
- Music chart performance
- Streaming platform competition
- Price movement analysis
- Protocol adoption rates
- Market sentiment tracking
- Stock market predictions
- Commodity price analysis
- Economic indicator forecasts
- Express Server: Handles HTTP requests and API endpoints
- LangChain Integration: Manages the AI model workflow
- Tavily Search: Provides real-time market data
- GPT-4 Model: Processes and analyzes market information