Database and Storage Integrations
Aether Framework provides seamless integration with various databases and storage solutions, enabling flexible and efficient data management for diverse use cases. These integrations support both structured and unstructured data, empowering developers to handle everything from knowledge graphs to embeddings and decentralized storage.
Supported Integrations
1. MongoDB
MongoDB is a NoSQL database designed for handling large volumes of unstructured or semi-structured data. It is ideal for applications requiring flexibility and scalability.
Features:
JSON-like document storage.
High performance for read/write operations.
Scalable and distributed architecture.
Example Use Case:
Store agent metadata, task history, or logs.
Code Example:
2. Neo4j
Neo4j is a high-performance graph database used to store and query relationships between entities. It enhances Aether’s knowledge graph capabilities by providing powerful graph traversal and querying.
Features:
Native graph storage.
Advanced querying with Cypher.
Ideal for agent collaboration and relationship modeling.
Example Use Case:
Model agent interactions, swarm behavior, or decision dependencies.
Code Example:
3. Qdrant
Qdrant is a vector database designed for managing embeddings, enabling similarity searches and semantic clustering. It is essential for applications that require context-aware search and advanced AI-driven insights.
Features:
High-performance vector search.
Supports semantic search and clustering.
Flexible for AI-driven tasks.
Example Use Case:
Store embeddings from LLMs or multi-modal agents for similarity searches.
Code Example:
4. SQLite
SQLite is a lightweight, file-based relational database. It is perfect for local storage or small-scale applications where simplicity and portability are key.
Features:
Simple and lightweight.
No need for a server setup.
File-based storage.
Example Use Case:
Store task logs, temporary data, or local configurations.
Code Example:
How to Use Integrations
Configuration:
For MongoDB, Neo4j, and Qdrant, ensure the respective services are running and properly configured.
Set environment variables for connection details as needed (e.g., MongoDB URI, Neo4j credentials).
Add to Your Project:
Import the respective client from
src.integrations.<module>
.Use the client to interact with the database as per your requirements.
Extend or Customize:
Each integration is modular, allowing you to extend or replace the functionality based on your needs.
When to Use Each Integration
Integration
Best Use Cases
Strengths
MongoDB
Storing large, flexible datasets like logs.
High scalability and JSON-like storage.
Neo4j
Building and querying knowledge graphs.
Optimized for relationships and graph queries.
Qdrant
Embedding storage, semantic search, clustering.
High-performance vector search.
SQLite
Lightweight, local task storage.
Simple, portable, and serverless.
Future Enhancements
Add integration testing for all modules.
Extend Qdrant integration for multi-agent semantic clustering.
Provide full support for cross-database queries (e.g., combining MongoDB and Neo4j data).
Last updated