An intelligent AI agent designed to serve as a comprehensive daily companion for active users of the SUI blockchain ecosystem.
SUI Daily Assistant is your intelligent blockchain companion that transforms raw blockchain and social media data into actionable insights. By leveraging advanced AI analysis and real-time data aggregation, it enables you to make informed decisions in the fast-paced crypto environment.
- π¦ Twitter Sentiment Analysis: Real-time SUI community sentiment tracking
- π Market Intelligence: AI-powered token analysis and recommendations
- π± Seamless Token Swapping: Execute trades directly through the interface
- π¨ Proactive Alerts: Real-time notifications for market opportunities
- π¬ Natural Language Chat: Interact with AI for market insights and analysis
This is a hackathon project with a structured implementation plan. The project is currently in the scaffolding phase with all files created and TODO comments in place for systematic implementation.
- Project structure created
- TODO comments added for all tasks
- Core foundation implementation (#TODO-1 to #TODO-5)
- UI components implementation (#TODO-6 to #TODO-10)
- API integration layer (#TODO-11 to #TODO-15)
- AI intelligence layer (#TODO-16 to #TODO-20)
- Blockchain integration (#TODO-21 to #TODO-25)
- Real-time features (#TODO-26 to #TODO-30)
- Integration & polish (#TODO-31 to #TODO-35)
sui-hackathon/
βββ src/
β βββ components/ # React components
β β βββ layout/ # Layout components
β β βββ dashboard/ # Dashboard components
β β βββ chat/ # Chat interface
β β βββ alerts/ # Alert system
β β βββ market/ # Market data display
β β βββ swap/ # Swap interface
β βββ lib/
β β βββ services/ # API service layers
β β βββ langchain/ # LangChain tools
β βββ hooks/ # Custom React hooks
β βββ store/ # Jotai atoms
β βββ types/ # TypeScript definitions
βββ app/
β βββ api/ # Next.js API routes
β β βββ chat/ # AI chat endpoint
β β βββ alerts/ # Real-time alerts
β β βββ market/ # Market data
β β βββ twitter/ # Twitter sentiment
β β βββ swap/ # Swap execution
β βββ page.tsx # Main page
βββ docs/ # Documentation
- Framework: Next.js 15.3.3 with App Router
- Language: TypeScript 5.0
- UI Components: shadcn/ui + Tailwind CSS 4.1.8
- State Management: Jotai 2.12.5
- Fonts: Space Grotesk, Inter, JetBrains Mono
- LLM: OpenAI GPT-4 + Grok AI (X.ai)
- Agent Framework: LangChain + LangGraph
- Processing: Real-time analysis and sentiment tracking
- Blockchain: SUI Network
- Wallet Integration: @mysten/dapp-kit
- DEX Integration: 7k Protocol SDK
- LP Tools: kunalabs-io/kai package
- Real-time Updates: Server-Sent Events (SSE)
- Twitter API: twitterapi.io integration
- Market Data: CoinGecko API
- Package Manager: pnpm
- π§ Intelligent Analysis: Combines multiple AI models for comprehensive market intelligence
- β‘ Real-time Processing: Instant alerts and updates via Server-Sent Events
- π Seamless Integration: Direct DEX integration for one-click trading
- π― Personalized Insights: AI learns from your preferences and trading patterns
- π‘οΈ Security First: Non-custodial wallet integration with transaction simulation
- π± Mobile Optimized: Progressive Web App with offline capabilities
- Node.js 18+
- pnpm (recommended) or npm
- SUI Wallet browser extension
- Clone and install dependencies:
git clone <repository-url>
cd sui-hackathon
pnpm install- Set up environment variables:
cp .env.example .env.local
# Edit .env.local with your API keys:
# - OPENAI_API_KEY=your_openai_key
# - GROK_API_KEY=your_grok_key
# - TWITTER_API_KEY=your_twitter_key
# - COINGECKO_API_KEY=your_coingecko_key (optional)- Start development server:
pnpm dev- Open your browser:
Navigate to
http://localhost:3000and connect your SUI wallet to get started!
- See
IMPLEMENTATION_PLAN.mdfor detailed task breakdown - Each file contains TODO comments with specific implementation steps
- Follow the numbered TODO sequence for systematic development
- Set up dependencies and configuration
- Configure environment variables
- Set up TypeScript types
- Create simple full-screen chat interface (NO navigation/headers)
- Build message display and input components
- Implement chat state management
- DEFER: Alert system UI and token display UI
- Twitter API integration
- CoinGecko API setup
- AI service integration
- SUI blockchain connection
- Real-time SSE setup
- Twitter sentiment analysis
- Market intelligence
- Alert classification
- LangChain orchestration
- AI recommendations
- Wallet connectivity
- DEX integration
- Swap functionality
- Transaction handling
- Portfolio tracking
- Background monitoring
- Real-time alerts
- Error handling
- Mobile optimization
- Final integration
- Twitter API: twitterapi.io account
- OpenAI: GPT-4 API access
- Grok AI: Grok API access
- CoinGecko: API key (optional, has free tier)
SIMPLIFIED UI: Chatbox interface only - no navigation, headers, or complex layouts
- Twitter Sentiment Analysis: Real-time SUI community sentiment tracking
- Market Intelligence: AI-powered token analysis and recommendations
- Chat Interface: Natural language interaction with AI assistant for insights
DEFERRED (implement after core features):
- Proactive Alerts UI
- Token Display UI
- Swap Interface UI
Once implemented, users can:
- Get morning briefings on SUI ecosystem developments
- Receive real-time alerts for market opportunities
- Chat with AI for market analysis and recommendations
- Execute token swaps directly through the interface
- Track portfolio performance and get optimization suggestions
- This is a hackathon project focused on speed over perfection
- No testing/security/auditing implemented initially
- Text-only interaction for simplicity
- All TODO comments are numbered for sequential execution
- Use the implementation plan as a roadmap
PRD.md: Complete product requirements documentIMPLEMENTATION_PLAN.md: Detailed implementation roadmap- Each file contains inline TODO comments with specific tasks
Follow the TODO sequence in the implementation plan. Each task is designed to build upon the previous ones for efficient development.
- Use TypeScript for all new code
- Follow the established component structure
- Add proper error handling and loading states
- Test with multiple wallet providers
- Ensure mobile responsiveness
This project is licensed under the MIT License - see the LICENSE file for details.
- SUI Network: https://sui.io/
- SUI Documentation: https://docs.sui.io/
- 7k Protocol: https://7k.ag/
- LangChain: https://langchain.com/
- shadcn/ui: https://ui.shadcn.com/
- SUI Foundation for the amazing blockchain infrastructure
- OpenAI and X.ai for AI capabilities
- The open-source community for the incredible tools and libraries
Built with β€οΈ for the SUI ecosystem
SUI Network β’ Twitter β’ Contact