# Install TensorFlow Quantum macOS

> Automated source build and environment setup for TensorFlow Quantum on macOS (Apple Silicon/Intel).

Install TensorFlow Quantum macOS is a free AI agent skill on Agensi by Pluvia Software Company. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Pluvia Software Company](https://www.agensi.io/creators/pluvia-software)
- Uses: 3
- Version: 1.0
- Last updated: 2026-08-11
- Security: scan passed (2026-08-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/install-tensorflow-quantum-macos
- Tags: tensorflow-quantum, macos, python, bazel, quantum-computing, quantum

## About this skill

### The problem

Installing TensorFlow Quantum (TFQ) on macOS is notoriously difficult due to complex C++ dependencies, specific Python 3.10 requirements, and a Bazel build process that often fails on Apple Silicon. Standard pip installs frequently break or result in library version conflicts that stall development for days.

### What it does

- Performs comprehensive preflight hardware and software checks including disk space, RAM, and admin permissions.
- Automates the full toolchain setup: Homebrew, Xcode, Python 3.10, and Bazelisk.
- Clones, configures, and builds the TFQ source code into a localized, isolated virtual environment.
- Applies critical macOS-specific patches to TensorFlow dylibs and Bazel configuration files to prevent common build-time link errors.
- Generates and installs a platform-optimized `.whl` file specifically for your macOS version and architecture.

### Frameworks & tools

TensorFlow Quantum, TensorFlow 2.19, Cirq, Bazel, Xcode, Homebrew, and Python 3.10.

### Why this beats prompting it yourself

Standard LLMs often provide outdated build instructions that ignore recent Xcode SDK changes or the Keras 3 compatibility issues that break TFQ. This skill handles the specific `TF_SHARED_LIBRARY_NAME` and `--macos_minimum_os` flags required to ensure the resulting binary actually runs on modern macOS versions.

### Use cases

- Setting up a fresh Mac for quantum machine learning research.
- Fixing a failed TFQ installation where `pip install` or basic build scripts have crashed.
- Standardizing a TFQ development environment across a team of researchers using Apple Silicon.

### Known limitations

Requires approximately 50 GB of free disk space if Xcode is not already installed. The build process is resource-intensive and can take up to an hour on older Intel Macs.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Install TensorFlow Quantum macOS skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill solve the common 'failed to build' errors when installing TensorFlow Quantum on macOS?

This skill automates the entire compilation process, including hardware pre-flight checks, dependency resolution for Python 3.10, and applying specific macOS patches to the Bazel build configuration to prevent the common linking errors found in manual installs.

### Does this work on the latest Apple Silicon chips as well as older Intel Macs?

Yes, this skill is fully compatible with both Apple Silicon (M1/M2/M3) and Intel-based Macs, automatically detecting your architecture to apply the correct compilation flags and library paths.

### How much time and disk space should I allocate for the full installation process?

The process is resource-intensive and can take anywhere from 20 minutes on a modern M3 Max to over an hour on older hardware; you will also need approximately 50 GB of free disk space to accommodate the Xcode toolchain and Bazel build artifacts.

### What exactly is included in the purchase of this skill?

You will receive the automated installation script, the macOS-specific configuration patches, and a guided environment setup tool that ensures TFQ, Cirq, and TensorFlow are perfectly synced in an isolated virtual environment.

### Will this skill work if I want to use a version of Python other than 3.10?

While we strive to support the latest versions, this skill specifically targets the stable intersection of TensorFlow 2.15+ and Python 3.10 to ensure the complex C++ quantum kernels remain stable on macOS.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
