The codebase heavily relies on code generation. The transport layer for the backend is generated using gqlgen. The repository layer is generated using sqlc.
enchanted-twin: The main open-source codebase for Enchanted, containing the Go backend, Electron frontend, workflow logic, and all core features.
enchanted-proxy: A privacy-focused proxy that routes requests to closed-source LLMs through a trusted execution environment, ensuring user data remains private.
attestation-proxy: A service that exposes cryptographic attestation documents generated by the AWS Nitro Hypervisor, enabling verification of trusted enclave execution for privacy guarantees.