Cozo is a logic-based database engine that functions as a relational data store, an embedded graph database, and a temporal vector database. It utilizes a Datalog-inspired query language to execute relational, recursive, and graph queries.
The system distinguishes itself through specialized indexing for high-dimensional vector similarity searches and near-duplicate detection using locality sensitive hashing. It also provides built-in temporal versioning, allowing for historical state retrieval and time-travel queries to access data as it existed at specific points in time.
Its broader capabilities include full-text search with tokenization, recursive graph analysis for pathfinding and community detection, and the execution of complex relational joins. The engine supports atomic transactions, persistent stored relations with schema definitions, and pluggable storage backends.
The database can be integrated directly into an application as an embedded library to manage concurrency without a separate server.