EveryDev.ai
Subscribe
Home
Tools

5,347+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2725
  • Coding2018
  • Infrastructure950
  • Projects752
  • Research670
  • MCP655
  • Analytics520
  • Marketing503
  • Design435
  • Testing432
  • Data395
  • Security362
  • Integration270
  • Prompts257
  • Communication255
  • Extensions227
  • Voice182
  • DevOps176
  • Commerce175
  • Web124
  • Learning114
  • Finance39
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. HEIR
    HEIR icon

    HEIR

    Code Intelligence
    Featured

    An MLIR-based compiler toolchain that compiles high-level programs into fully homomorphic encryption (FHE) equivalents.

    Visit Website

    At a Glance

    Pricing
    Open Source

    HEIR compiler toolchain for homomorphic encryption, released under the Apache License 2.0 and free to use, modify and distribute.

    Engagement

    Available On

    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Code IntelligenceData ProtectionAI Development Libraries

    Alternatives

    DataFog Pythonfg-data-syntheticscrubadub
    Developer
    Google Open Source Programs OfficeMountain View, CAEst. 2004

    Listed Nov 2026

    About HEIR

    HEIR (Homomorphic Encryption Intermediate Representation) is an open-source, MLIR-based compiler toolchain for fully homomorphic encryption. The HEIR codebase and documentation are maintained by Google, though the README notes it is not an officially supported Google product. It targets application developers, compiler engineers, hardware designers, and cryptography researchers.

    What It Is

    HEIR is a compiler infrastructure for FHE. Its stated goal is to compile high-level programs into encrypted equivalents and to generate code for standard FHE libraries and hardware accelerators. The project describes a path where a developer writes a program in Python, annotates types to mark which are secret, and HEIR compiles the rest.

    Backends and Schemes

    The README lists supported backend libraries and the schemes each handles: OpenFHE and Lattigo support BGV, BFV and CKKS, while tfhe-rs and Jaxite support CGGI. The documentation also covers a set of dialects (including BGV, CKKS, CGGI, LWE, Polynomial, ModArith and RNS) and compiler passes, along with design notes on ciphertext management, packing, noise analysis and relinearization optimization.

    Setup Path

    There are three documented ways to use HEIR: use Bazel with rules_heir and the OpenFHE or Lattigo backends; install OpenFHE and use the heir_py Python package; or build from source and invoke the heir-opt and heir-translate binaries directly, integrating the generated backend code manually. Building from source uses Bazel and depends on LLVM.

    Research and Community

    HEIR is also positioned as a platform for FHE research and benchmarking, implementing standard optimizations from the literature. The project holds monthly meetings and weekly office hours, and accepts contributions through GitHub.

    HEIR - 1

    Community Discussions

    Be the first to start a conversation about HEIR

    Share your experience with HEIR, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    HEIR compiler toolchain for homomorphic encryption, released under the Apache License 2.0 and free to use, modify and distribute.

    • Apache License 2.0
    • Self-hosted: build from source, use via bazel/rules_heir, or install the heir_py Python package
    • Backends: OpenFHE, Lattigo, tfhe-rs, Jaxite
    • Maintained by Google; not an officially supported Google product

    Capabilities

    Key Features

    • MLIR-based compiler toolchain for fully homomorphic encryption
    • Compiles high-level programs to encrypted equivalents
    • Python front end with secret type annotations
    • Code generation for OpenFHE, Lattigo, tfhe-rs and Jaxite backends
    • Support for BGV, BFV, CKKS and CGGI schemes
    • Lower-level dialects for polynomial and RNS arithmetic
    • Noise analysis and ciphertext management
    • Platform for FHE research and benchmarking
    • Hardware accelerator code generation goals (GPU, TPU, FPGA, ASIC)

    Integrations

    OpenFHE
    Lattigo
    tfhe-rs
    Jaxite
    Bazel
    MLIR
    LLVM
    heir-py
    API Available
    View Docs

    Demo Video

    HEIR Demo Video
    Watch on YouTube

    Ratings & Reviews

    No ratings yet

    Be the first to rate HEIR and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Google Open Source Programs Office

    Google's Open Source Programs Office (OSPO) has supported open source innovation since 2004, making it one of the first OSPOs in the industry. The office releases and maintains major open source projects including Android, Chromium, Go, Kubernetes, and TensorFlow. OSPO runs programs like Google Summer of Code and Season of Docs to bring new contributors into open source and improve documentation across the ecosystem.

    Founded 2004
    Mountain View, CA

    Used by

    Google Summer of Code participating…
    Open-source projects using OSS-Fuzz
    Open-source package consumers and…
    Read more about Google Open Source Programs Office
    WebsiteGitHubX / Twitter
    6 tools in directory

    Similar Tools

    DataFog Python icon

    DataFog Python

    Python library for offline PII detection and redaction, with a Claude Code hook and LiteLLM guardrail for AI agents and LLM apps.

    fg-data-synthetic icon

    fg-data-synthetic

    Open-source Python package for generating synthetic tabular and time-series data using GANs and Gaussian Mixture models.

    scrubadub icon

    scrubadub

    Python library that removes personally identifiable information such as names, emails, and phone numbers from free text.

    Browse all tools

    Related Topics

    Code Intelligence

    AI tools that analyze, generate, and transform code through natural language understanding and programming language comprehension.

    142 tools

    Data Protection

    Tools for encryption, data privacy, and information security.

    50 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    530 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions