Skip to content
forked from comitylab/comity

Comity AI bridges the gap between your tools and AI services, enabling seamless integration and intelligent task execution.

License

Notifications You must be signed in to change notification settings

tshucheng/comity

 
 

Repository files navigation

Comity

Comity Logo

Website Twitter Follow

Transform Your AI Workflow

Comity AI bridges the gap between your tools and AI services, enabling seamless integration and intelligent task execution..

Why Comity?FeaturesQuick TourGet StartedSocials

✨ Why Comity?

  • Universal: MacOS, Windows, and Linux compatible with iOS and Android apps on the way!

  • Zero Friction: Integrate effortlessly with your existing tools and services.

  • Smart Execution: Automatically determine the best tools and actions for each task.

  • Long-Term Memory: Leverage persistent memory for personalized and context-aware responses.

  • Multi-Tool Integration: Combine the power of web search, calendars, email, and more.

  • Secure & Reliable: Built with robust security and failover mechanisms.

🚀 Core Features

Built on cutting-edge foundations:

  • 🧠 LLM-Powered Intelligence: Utilizes GPT-4 for natural language understanding and task execution.

  • 🔧 Tool Integration: Seamlessly connects with services like Google Calendar, Spotify, Linear, and more.

  • 📂 File Management: Read, write, and manage files locally or in the cloud.

  • 🗣️ Speech Synthesis: Convert text to speech using ElevenLabs.

  • 🔍 Advanced Search: Index and search content with Algolia and Qdrant.

  • 💾 Persistent Memory: Store and retrieve information for long-term context.

  • 🟡 Crypto: supports checking prices of cryptocurrencies

🎯 Quick Tour

Explore what Comity AI can do:

Get Started in 5 Minutes

  1. Clone the Repository:

    git clone https://github.com/comityai/comity.git
    cd comity
  2. Install Dependencies:

    bun install
  3. Configure Environment Variables:

    cp .env.example .env
    # Set your API keys and configurations in the .env file
  4. Set Up the Database:

     bun generate
     bun migrate
     bun seed
  5. Run the Application:

     bun run dev
  6. Start Interacting:

  • Access the web interface at http://localhost:8080.
  • Use the /api/agi/chat endpoint for API interactions.

🛠️ Advanced Usage

🔧 Tool Configuration

Customize and extend Comity AI's capabilities by adding new tools:

  1. Create a new tool in src/services/tools.

  2. Add the tool configuration in src/config/tools.config.ts.

  3. Describe the tool's usage in src/database/seed.ts.

🧠 Memory Management

Comity AI supports long-term memory for personalized interactions:

  • Store user preferences, past interactions, and contextual data.

  • Retrieve and utilize memory for more accurate and relevant responses.

🔄 Task Execution Modes

Comity AI operates in two modes:

  • Fast-Track: Directly answers queries using the LLM's knowledge.

  • Thinking: Plans and executes tasks using integrated tools and memory.

📊 Watch It Work

Monitor and visualize Comity AI's operations::

graph LR
 A[User Query] --> B[Comity AI]
 B --> C[LLM Processing]
 B --> D[Tool Execution]
 B --> E[Memory Retrieval]
 B --> F[Response Generation]
Loading
  • Performance Metrics: Track system performance and tool usage.

  • Request Tracing: Analyze detailed logs for debugging and optimization.

🌟 Socials

About

Comity AI bridges the gap between your tools and AI services, enabling seamless integration and intelligent task execution.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%