Back to Home
cgoinglove icon

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

Run Command
pnpm dev

Environment 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

Stats

Interest Score87
Security Score3
Cost ClassHigh
Avg Tokens1000
Stars981
Forks321
Last Update2025-12-29

Tags

ChatbotAILLMToolsWorkflowMulti-modalProductivityWebOpen-source