An open API service indexing awesome lists of open source software.

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.

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
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."