mnemo  by MnemoAI

SDK for building intelligent agents via Retrieval-Augmented Generation

Created 7 months ago
379 stars

Top 75.1% on SourcePulse

GitHubView on GitHub
Project Summary

MnemoAI/mnemo provides a framework for building AI agents, particularly those leveraging Retrieval-Augmented Generation (RAG). It simplifies the creation of custom AI assistants and tools, enabling developers to integrate various LLM providers and observability solutions. The primary benefit is the rapid development of intelligent agents capable of querying and synthesizing information from diverse data sources.

How It Works

Mnemo AI utilizes a tool-factory pattern to abstract the complexity of integrating with RAG pipelines and LLM services. Developers define agent tools, including RAG tools that query Mnemo corpora with optional metadata filtering, and other specialized tools (e.g., for finance, legal, or database interaction). These tools are then composed into an Agent object, which can be configured with different agent types (ReAct, LLMCompiler, etc.) and LLM providers. The framework supports asynchronous operations and streaming responses.

Quick Start & Requirements

  • Install: pip install mnemo-agentic
  • Prerequisites: Requires API keys for Mnemo services (e.g., MNEMO_API_KEY, MNEMO_CUSTOMER_ID, MNEMO_CORPUS_ID) and potentially other LLM providers, set as environment variables.
  • Quick Start: Initialize MnemoToolFactory, create RAG or search tools using create_rag_tool() or create_search_tool(), define an Agent with tools and custom instructions, and run using agent.chat().
  • Docs: https://github.com/mnemo-agentic/mnemo

Highlighted Details

  • Supports multiple agent types: ReAct, OpenAIAgent, LATS, LLMCompiler.
  • Integrates with numerous LLM providers: OpenAI, DeepSeek, Anthropic, Gemini, GROQ, Together.AI, Cohere, Bedrock, Fireworks.
  • Built-in observability with Arize Phoenix.
  • Extensive pre-built tools, including RAG, search, database interaction, and integrations with services like Tavily, EXA.AI, and Google tools.
  • Supports metadata filtering for RAG queries, including conditional filtering and fixed filters.

Maintenance & Community

Licensing & Compatibility

  • License: Apache 2.0 License.
  • Compatibility: Permissive license suitable for commercial use and integration with closed-source applications.

Limitations & Caveats

The framework requires specific Mnemo API keys and potentially other third-party API keys for full functionality, which may incur costs. While it supports various LLM providers, optimal performance and compatibility may depend on the chosen provider and model.

Health Check
Last Commit

4 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Starred by Elie Bursztein Elie Bursztein(Cybersecurity Lead at Google DeepMind), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
7 more.

SuperAGI by TransformerOptimus

0.1%
17k
Open-source framework for autonomous AI agent development
Created 2 years ago
Updated 7 months ago
Starred by Li Jiang Li Jiang(Coauthor of AutoGen; Engineer at Microsoft), Vincent Weisser Vincent Weisser(Cofounder of Prime Intellect), and
9 more.

AgentGPT by reworkd

0.1%
35k
Autonomous AI agent platform in your browser
Created 2 years ago
Updated 4 months ago
Feedback? Help us improve.