A sophisticated AI chat application built with Next.js 15, featuring real-time conversations, advanced prompt caching, and intelligent tool orchestration powered by LangChain and Claude 3.5 Sonnet.
- 🤖 Advanced AI chat interface with Claude 3.5 Sonnet
- 🎨 Modern and responsive UI with Tailwind CSS
- 🔐 Authentication with Clerk
- 💾 Real-time data storage with Convex
- ⚡ Built with Next.js 15 and React 19
- 🌊 Advanced streaming responses with custom implementation
- 📱 Mobile-friendly design
- 🧠 Prompt caching for optimized token usage
- 🔧 Intelligent tool orchestration with LangGraph
- 🔄 Real-time updates and tool execution feedback
- 📚 Integration with various data sources via wxflows
- Frontend Framework: Next.js 15
- UI Library: React 19
- Styling: Tailwind CSS
- Authentication: Clerk
- Database: Convex
- AI Integration: LangChain, Claude 3.5 Sonnet
- Data Integration: IBM WxFlows
- Type Safety: TypeScript
Before you begin, you'll need:
- Node.js (Latest LTS version recommended)
- PNPM package manager (recommended) or NPM
- Clerk Account for authentication
- Convex Account for database
- Anthropic API Key for Claude AI
- IBM WxFlows Account for data integration
Create a .env.local file in the root directory with the following variables:
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key
CLERK_SECRET_KEY=your_clerk_secret_key
# Convex Database
CONVEX_DEPLOYMENT=your_convex_deployment_id
NEXT_PUBLIC_CONVEX_URL=your_convex_url
# Anthropic AI
ANTHROPIC_API_KEY=your_anthropic_api_key
# IBM WxFlows
WXFLOWS_APIKEY=your_wxflows_api_key
WXFLOWS_ENDPOINT=your_wxflows_endpoint- Clone the repository:
git clone https://github.com/yourusername/ai-agent-dashboard.git
cd ai-agent-dashboard- Install dependencies:
pnpm install
# or
npm install-
Set up your environment variables:
- Copy
.env.local.exampleto.env.local - Fill in your credentials from Clerk, Convex, Anthropic, and WxFlows
- Copy
-
Start the development server:
pnpm dev
# or
npm run devThe application will be available at http://localhost:3000
ai-agent-dashboard/
├── app/ # Next.js app directory
├── components/ # React components
├── lib/ # Utility functions and helpers
├── public/ # Static assets
├── styles/ # Global styles
└── types/ # TypeScript type definitions
- Optimized token usage with prompt caching
- 4096 token context window management
- Tool-augmented responses
- Context-aware conversations
- WxFlows integration for data sources
- YouTube transcript support
- Google Books API integration
- Custom data source tooling
- Live updates with Convex
- Real-time tool interaction display
- Efficient message history tracking
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js for the amazing framework
- Clerk for authentication
- Convex for the real-time database
- Anthropic for Claude AI
- IBM WxFlows for data integration