https://github.com/azen-sh/azen
Memory-layer for AI applications.
https://github.com/azen-sh/azen
better-auth bun docker drizzle-orm hono nextjs postgres turborepo
Last synced: 4 months ago
JSON representation
Memory-layer for AI applications.
- Host: GitHub
- URL: https://github.com/azen-sh/azen
- Owner: azen-sh
- License: apache-2.0
- Created: 2025-08-04T22:12:48.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-02-14T19:04:32.000Z (4 months ago)
- Last Synced: 2026-02-14T22:40:22.155Z (4 months ago)
- Topics: better-auth, bun, docker, drizzle-orm, hono, nextjs, postgres, turborepo
- Language: TypeScript
- Homepage: https://app.azen.sh
- Size: 16.1 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azen
This repository contains the core codebase for **Azen** — a developer-first AI memory layer.
Azen provides a secure, scalable way to store, retrieve, and reason over long-term user memory for AI applications.
---
## What is Azen?
Azen is an **AI memory infrastructure** that helps developers:
* Store meaningful user memory (preferences, facts, context)
* Retrieve relevant memory using semantic search
* Keep memory **encrypted at rest** by default
* Build stateful AI systems without reinventing memory logic
Azen is designed as backend infrastructure — simple APIs, strong defaults, and security-first architecture.
---
## Repository Structure
This is a **Turborepo-powered monorepo**.
### Apps
* `apps/api` – Core Azen API (memory, search, auth, usage tracking)
* `apps/web` – Marketing website (landing, public pages)
* `apps/console` – User dashboard (API keys, usage, memory management)
### Packages
* `packages/db` – Database schema, migrations, and shared DB utilities
* `packages/auth` – Shared authentication configuration (Better Auth) used by API and Console
All packages and apps are written in **TypeScript**.
---
## Architecture Notes
* Memory text is **encrypted at rest** in Postgres
* Embeddings are stored separately in a vector database
* Plaintext memory exists only in-memory during requests
* Workers operate on ephemeral payloads, never DB plaintext
Security is treated as a baseline, not an add-on.
---
## Status
Azen is under active development.
* APIs and SDKs are evolving
* Internal architecture is stabilizing
* Features may change rapidly
This repository reflects real infrastructure work in progress.
---
## Links
* Documentation: [https://docs.azen.sh](https://docs.azen.sh) (separate repository)
* Website: [https://azen.sh](https://azen.sh)
---
Built with Turborepo.