A lightweight C database for AI agents' long-term memory.
Project details
AegisDB is a fast, self-hosted C database designed for AI agents, providing durable and searchable long-term memory. It enables agents to store episodic history and semantic facts securely on your infrastructure. With a simple setup and powerful performance, AegisDB ensures that your AI agents can remember and recall vital information without compromising privacy.
AegisDB is a powerful, self-hosted database solution designed to provide AI agents with durable, long-term memory capabilities. Built in C and packaged as a single, lightweight binary, AegisDB operates privately within your infrastructure, ensuring that sensitive data remains secure and never leaks to third-party services. This multi-tenant, encrypted database supports essential features such as backups, read replicas, and a seamless integration with Claude Code, all while utilizing straightforward JSON-over-TCP communication.
Deploy AegisDB using a simple Docker command:
docker run -d --name aegisdb -p 9470:9470 -v aegis-data:/data ghcr.io/d4n-larsson/aegisdb:latest
Once running, perform operations like health checks, memory inserts, and searches effortlessly:
docker exec aegisdb aegisdb client ping
docker exec aegisdb aegisdb client put --type semantic --tags user "prefers dark mode"
docker exec aegisdb aegisdb client search --tags user --top-k 5
AegisDB comes equipped with built-in observability features, including a Grafana dashboard for real-time analytics of memory usage and operation metrics. To set up the observability stack, simply use:
docker compose --profile monitoring up
With AegisDB, giving Claude Code a persistent memory is as simple as executing a single command for seamless memory management. This powerful integration allows for storing and recalling information across interactions, significantly enhancing the AI's capabilities.
AegisDB is designed with security in mind. User data is encrypted at rest, and a configurable authentication model allows for stringent access controls, ensuring that users can securely manage their data without external exposure.
The system also features comprehensive documentation which includes guides on setting up a team server, wire protocol specifics, and an architecture overview to facilitate smooth deployment and operation.
In summary, AegisDB provides a compelling solution for teams looking to enhance the memory capabilities of their AI agents. By combining self-hosting, robust security features, and simple deployment, AegisDB empowers developers to build intelligent applications that rely on accurate, long-term memory storage.
Comments
0Start the conversation
Share the first comment.