better-chatbot
by cgoinglove
Overview
An advanced open-source AI chatbot supporting multiple LLMs, extensive tools (web search, code execution, data visualization, MCP protocol), image generation, and workflow automation for individuals and teams.
Installation
pnpm devEnvironment Variables
- BETTER_AUTH_SECRET
- OPENAI_API_KEY
- GOOGLE_GENERATIVE_AI_API_KEY
- ANTHROPIC_API_KEY
- EXA_API_KEY
- XAI_API_KEY
- GROQ_API_KEY
- OPENROUTER_API_KEY
- POSTGRES_URL
- REDIS_URL
- FILE_STORAGE_TYPE
- FILE_STORAGE_S3_BUCKET
- FILE_STORAGE_S3_REGION
- FILE_STORAGE_S3_ACCESS_KEY_ID
- FILE_STORAGE_S3_SECRET_ACCESS_KEY
- OLLAMA_BASE_URL
Security Notes
The application allows arbitrary JavaScript and Python code execution (via `new Function` for JS and Pyodide for Python) and arbitrary HTTP requests (SSRF risk) based on AI model outputs. While there are attempts at sandboxing for code execution, these are inherently high-risk features that are difficult to secure against all exploits. Connections to external Model Context Protocol (MCP) servers also introduce a vector for interacting with potentially untrusted services. Careful vetting of user input and external server configurations is critical.
Similar Servers
line-bot-mcp-server
Integrates AI agents with LINE Messaging API for automated communication and management of LINE Official Accounts.
whatsapp-mcp-ts
Connects a personal WhatsApp account to an AI agent, enabling the agent to search messages and contacts, list chats, retrieve message history, and send messages via WhatsApp.
better-chat
An AI chat application focused on interacting with technical documentation, featuring multi-model support and per-user data isolation via Cloudflare Durable Objects.
Varon-AI
A multi-agent AI system designed to coordinate specialized AI tools for complex real-world task execution and automation, including coding, research, scraping, and content generation.