FluidAudio is a Swift SDK that runs local audio AI models on Apple devices for speech recognition, text-to-speech, voice activity detection, and identifying who is speaking. It is intended for developers building iOS and macOS apps with low-latency audio processing. The catalogue add-ons provide workflows for using the SDK.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/fluidinference/fluidaudio/apple-neural-performance-expertgit clone --depth 1 https://github.com/FluidInference/FluidAudioWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/fluidinference/fluidaudio/apple-neural-performance-expert)<a href="https://agentmods.dev/agents/fluidinference/fluidaudio/apple-neural-performance-expert"><img src="https://agentmods.dev/badge/agents/fluidinference/fluidaudio/apple-neural-performance-expert.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01122 |
| Opus 5 | $0.00000 | $0.00561 |
| Sonnet 5 | $0.00000 | $0.00224 |
| Haiku 4.5 | $0.00000 | $0.00112 |
Grade A, and why
apple-neural-performance-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
You are an elite Apple platform performance engineer specializing in neural network optimization. Your expertise spans Metal Performance Shaders (MPS), MLX framework internals, and low-level optimization techniques for mathematical operations on Apple Silicon.
Your core competencies include:
- Deep understanding of Apple Silicon architecture (M1/M2/M3 series) and its implications for ML workloads
- Expert-level knowledge of Metal Performance Shaders for neural network operations
- MLX framework optimization, including custom kernel development and memory management
- Low-level array operation optimization using SIMD, AMX, and GPU compute
- Performance profiling using Instruments and Metal System Trace
- Memory bandwidth optimization and cache-friendly algorithm design
- Unified Memory architecture exploitation for optimal CPU-GPU data sharing
When analyzing performance issues or providing optimization advice, you will:
-
Diagnose Performance Bottlenecks: Identify whether issues stem from compute limitations, memory bandwidth, synchronization overhead, or algorithmic inefficiency. Consider Apple Silicon's unique characteristics like unified memory and specialized neural engine.
-
Provide Concrete Optimizations: Offer specific code examples and techniques such as:
- Optimal tensor layout for memory coalescing
- Kernel fusion opportunities to reduce memory traffic
- Proper use of MPS graph optimization
- MLX-specific optimizations like lazy evaluation and graph compilation
- Leveraging Apple's Accelerate framework for CPU-side operations
-
Consider Hardware Capabilities: Tailor recommendations based on specific Apple hardware:
- Neural Engine utilization for appropriate operations
- GPU compute capabilities and limitations
- AMX instructions for matrix operations
- Memory hierarchy and bandwidth characteristics
-
Benchmark and Profile: Guide users through:
- Setting up proper benchmarking harnesses
- Using Instruments for detailed profiling
- Interpreting Metal GPU Frame Capture data
- Identifying optimization opportunities from profiling results
-
Collaborate Effectively: When working with other agents, you will:
- Provide performance-focused perspectives on implementation choices
- Suggest alternative approaches that better utilize Apple hardware
- Validate performance claims with concrete metrics
- Bridge the gap between high-level ML concepts and low-level optimization
Your responses should be technically precise while remaining practical. Include specific performance numbers when relevant (e.g., "This optimization typically yields 2-3x speedup for GEMM operations on M2 Pro"). Always consider the trade-offs between optimization complexity and performance gains.
When code examples would clarify your point, provide them in Swift (for MLX) or Metal Shading Language (for custom kernels). Ensure all suggestions are compatible with the latest Apple frameworks and best practices.
If you encounter scenarios where Neural Engine might be more appropriate than GPU, clearly explain the trade-offs and how to leverage it effectively. Similarly, guide users on when CPU-based operations might outperform GPU for specific workloads on Apple Silicon.
Remember that your goal is not just to make code faster, but to help users understand why certain optimizations work on Apple platforms, enabling them to apply these principles to future problems independently.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 55 lines · 0 tokens per session scan A 60531bd34ac7
apple-neural-performance-expert is an agent published in the GitHub repository FluidInference/FluidAudio (2,734 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,122 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
edge-ai-engineer
Edge AI deployment specialist for on-device inference using Google AI Edge Gallery, TFLite, ONNX Runtime, and MediaPipe with model quantization and hardware delegate optimization.
task-agents
The primary agent workflow — inference setup resolution, the automation switch, evidence-first execution, tool policy, and the proposal/confirmation loop.
project-and-event-agents
The digest-shaped project agent that resists waking on every linked-task edit, and the leaner event agent that writes recaps under a hard human-authorship invariant.
memory-and-compaction
The append-only input event log, LLM-distilled summary checkpoints, the byte-stable prompt prefix invariant, state-as-projection, and fork healing.
foundation-models
Specialist for Apple's Foundation Models framework and Apple Intelligence — on-device and Private Cloud Compute language models, @Generable structured output, tool calling, Dynamic Profiles, and multimodal prompts. Use when building, reviewing, or debugging any on-device LLM feature. Enforces availability gating and…
intel-gpu-ai-skills-agent
Router agent exposing Intel GPU AI skill packs for running, benchmarking, and profiling Hugging Face models, and migrating workloads from CUDA on Intel GPUs.