Quickstart Guide
The CYNE AI repository will be made publicly accessible at the end of Q1. Once it's available, follow these steps to set up your development environment
Installation
Clone and Install
The Cyne AI repository will be made publicly accessible by the end of Q1. Once available, follow these steps to set up your development environment:
Clone the Repository
git clone https://github.com/cyne-app/cyne
Enter the Directory
cd cyne
Switch to the Latest Tagged Release
git checkout $(git describe --tags --abbrev=0)
Install Dependencies
pnpm install --no-frozen-lockfile
Important Note on pnpm Lockfile Management
By default, the pnpm
lockfile will not be updated during installations due to .npmrc
settings (frozen-lockfile=true
). To update the lockfile:
pnpm install --no-frozen-lockfile
Use this command only when initializing the repository, bumping package versions, or adding new packages.
Build the Local Libraries
pnpm build
Configure the Environment
Copy the Example Environment File
cp .env.example .env
Edit
.env
and Add Your Values Example variables to configure:DISCORD_APPLICATION_ID= # For Discord integration DISCORD_API_TOKEN= # Bot token OPENAI_API_KEY= # OpenAI API key SOLANA_RPC_URL= # RPC endpoint for Solana MAGICEDEN_API_KEY= # API key for NFT marketplace access JUPITER_API_KEY= # Jupiter integration for DEX aggregator
Choose Your AI Model
Cyne AI supports multiple AI model configurations:
OpenAI:
Set the model in
.env
:CYNE_MODEL=gpt-4o OR CYNE_MODEL=gpt-4
Custom Models:
Define model parameters in the
agent.json
file.
Create Your First Agent
Create a Character File
Navigate to the
characters
directory.Use the provided
default.character.json
as a template to customize your agent's personality and functionality. Example paths:
characters/whale_tracker.character.json characters/risk_manager.character.json
Start the Agent
pnpm start --character="characters/whale_tracker.character.json"
Run Multiple Agents
pnpm start --characters="characters/whale_tracker.character.json,characters/staking_agent.character.json"
Open the Chat Interface
Open your browser to:
http://localhost:5173/
Begin interacting with your agent.
Platform Integration
Discord Bot Setup
Create a bot in the Discord Developer Portal.
Add the bot to your server using the OAuth2 URL generator.
Add these values to
.env
:DISCORD_API_TOKEN=your_discord_bot_token DISCORD_APPLICATION_ID=your_discord_application_id
Additional Integrations
Magic Eden Integrate with the Magic Eden NFT marketplace:
MAGICEDEN_API_KEY=your_api_key
Jupiter DEX Aggregator For seamless token swaps and DeFi operations:
JUPITER_API_KEY=your_api_key
Optional: GPU Acceleration
If you have an NVIDIA GPU, follow these steps:
Install CUDA Support:
npx --no node-llama-cpp source download --gpu cuda
Ensure that CUDA Toolkit, cuDNN, and cuBLAS are installed.
Basic Usage Examples
Start the Chat Interface
pnpm start
Run Multiple Agents
pnpm start --characters="characters/whale_tracker.character.json,characters/liquidity_manager.character.json"
Common Issues & Solutions
Node.js Version
Ensure Node.js 23+ is installed.
Check your version:
node -v
Sharp Installation Errors
Install with:
pnpm install --include=optional sharp
CUDA Setup Issues
Verify your GPU compatibility with the CUDA Toolkit.
Next Steps
🤖 Create Your First Agent
📝 Customize Agent Personalities
⚡ Add Advanced Features
For detailed guides, troubleshooting, and more, visit our Full Documentation. Join our Discord Community for support and updates!
Last updated