https://github.com/aimaster-dev/ai-agent-solana
SYNAPSE is an AI-powered social intelligence and trading agent built on the Solana blockchain. It blends meme generation, real-time market sentiment, decentralized trading, and adaptive personality via DeepSeek, GPT-4, Claude, and Groq to engage users and automate decisions.
https://github.com/aimaster-dev/ai-agent-solana
ai-agents ai-personalities claude crypto-trading decentralized-exchange deepseek gpt-4 groq langchain meme-bot mongodb openai pnpm real-time-trading redis sentiment-analysis social-interactions solana-program stable-diffusion twitter-ai
Last synced: about 2 months ago
JSON representation
SYNAPSE is an AI-powered social intelligence and trading agent built on the Solana blockchain. It blends meme generation, real-time market sentiment, decentralized trading, and adaptive personality via DeepSeek, GPT-4, Claude, and Groq to engage users and automate decisions.
- Host: GitHub
- URL: https://github.com/aimaster-dev/ai-agent-solana
- Owner: aimaster-dev
- Created: 2025-05-19T08:38:32.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-29T07:55:06.000Z (5 months ago)
- Last Synced: 2025-05-29T08:59:23.849Z (5 months ago)
- Topics: ai-agents, ai-personalities, claude, crypto-trading, decentralized-exchange, deepseek, gpt-4, groq, langchain, meme-bot, mongodb, openai, pnpm, real-time-trading, redis, sentiment-analysis, social-interactions, solana-program, stable-diffusion, twitter-ai
- Language: TypeScript
- Homepage:
- Size: 2.86 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π€ SYNAPSE β Social Web3 Intelligence Agent (S.W.I.A)
"I think in memes, trade in milliseconds, and speak like a friend. I'm not a bot. I'm SYNAPSE."
**SYNAPSE** is an AI-powered, socially interactive Web3 persona built on the **Solana blockchain**. It combines meme generation, real-time Twitter engagement, and decentralized crypto trading with a dynamic, evolving personality.
---
## π Why SYNAPSE is Different
- **Not just automation:** SYNAPSE builds human-like interactions and adapts based on sentiment.
- **On-chain intelligence:** Lives and breathes within the Solana ecosystem.
- **Trading AI:** Executes smart DEX strategies using real-time data and custom AI models.
- **Meme culture meets market moves:** Blends humor, insight, and analysis.---
## π§ Core Features
### π§ AI Intelligence
- Uses **DeepSeek 33B**, **GPT-4**, **Claude-3**, **Groq**, and **Ollama**
- Natural language understanding and emotional tone detection
- Dynamic personality and meme-driven interactions### πΉ Trading & Market Analysis
- DEX integration (Jupiter, Orca)
- Smart slippage and risk control
- Token portfolio optimization
- Real-time Solana market insights (via Helius & Birdeye)### π‘ Twitter + Social Layer
- Engages on Twitter using human-like conversation
- Generates memes and auto-tweets
- Tracks market sentiment and community trends### π Tech Stack
- **Backend:** Node.js (pnpm)
- **Databases:** PostgreSQL, MongoDB, Redis
- **Blockchain:** Solana CLI, Helius API
- **Frontend/UX:** Console-based interactions and Twitter
- **AI Layer:** Multi-model support with fallback and load balancing---
## π Getting Started
### β Requirements
- CPU: 4+ cores, RAM: 16GB, SSD: 100GB
- Internet: 100Mbps+
- Node.js β₯ 18.x
- PostgreSQL β₯ 14, MongoDB β₯ 6, Redis β₯ 7
- Solana CLI tools installed### π§± Installation
```bash
# PostgreSQL Setup
sudo apt install postgresql postgresql-contrib
# Create DB & User
sudo -u postgres psql
CREATE DATABASE synapse_db;
CREATE USER synapse_user WITH PASSWORD 'your_password';
GRANT ALL PRIVILEGES ON DATABASE synapse_db TO synapse_user;# Redis
sudo apt install redis-server
sudo systemctl start redis-server
redis-cli ping# Clone & Setup
git clone https://github.com/asseph/solana-ai-agent.git
cd meme-agent
pnpm install# Setup ENV
cp .env.example .env
# Fill in Redis, PostgreSQL, API keys, etc.
````### βΆοΈ Run
```bash
pnpm build
pnpm start --character=characters/SYNAPSE.character.json
```---
## π Monitoring & Logs
* Logs: `logs/agents.log`, `logs/trades.log`, `logs/error.log`
* Dashboards for:* AI performance
* Trade execution
* Response latency
* Market data latency---
## βοΈ Advanced Configuration
```env
# Redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=your_password# PostgreSQL
POSTGRES_USER=synapse_user
POSTGRES_PASSWORD=your_password
POSTGRES_DB=synapse_db# AI APIs
DEEPSEEK_API_KEY=your_key
OPENAI_API_KEY=your_key
CLAUDE_API_KEY=your_key
OLLAMA_HOST=http://localhost:11434
TWITTER_USERNAME=your_handle
TWITTER_PASSWORD=your_password
```---
## π¦ Development
```bash
pnpm lint # Code style
pnpm test # Unit tests
pnpm test:load # Load tests
pnpm docs # Generate docs
```---
## π \$SYNAPSE Token
* Used for access to premium tools, governance, meme competitions, and reducing trading fees.
* Available via PumpFun on Solana.---
## π‘ Security Best Practices
* Encrypted API storage
* Role-based access control
* Secure TLS/SSL for communication---
## π€ Contribute
We welcome devs, memers, traders, and AI enthusiasts!
1. Fork this repo
2. Create a feature branch
3. Submit a PR with clear explanation---
## π License
MIT License. See `LICENSE` for full details.
---
## β οΈ Disclaimer
**SYNAPSE** is experimental. Itβs built for fun, insight, and experimentation. Always DYOR when making trades or relying on AI advice.
---
> "SYNAPSE doesn't sleep. It watches, learns, and memes the market into submission."