NoNoise-Mac: Instructions file for Codex

AGENTS.md

NoNoise-Mac AGENTS.md is an instructions file for Codex, OpenCode from ivalsaraj/NoNoise-Mac. It costs 12,228 tokens per session, scanned B, original, MIT.

A set of instructions for working on NoNoise Mac, a macOS menu-bar app that removes microphone background noise and room echo on the device. It explains the project, its users, architecture, and build, run, and test process.

In plain words
What is it for?
Use it when developing, testing, or reviewing the NoNoise Mac codebase, especially its real-time audio processing and macOS integration.
Why use it?
It gives an agent the project context and working rules needed before changing the audio code.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is ivalsaraj/NoNoise-Mac's own configuration. It tells Codex and OpenCode how to work on NoNoise-Mac itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything NoNoise-Mac configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ivalsaraj/NoNoise-Mac. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ivalsaraj/NoNoise-Mac/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ivalsaraj/NoNoise-Mac

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for NoNoise-Mac AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ivalsaraj/nonoise-mac/agents-md/github.svg)](https://agentmods.dev/instructions/ivalsaraj/nonoise-mac/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ivalsaraj/nonoise-mac/agents-md"><img src="https://agentmods.dev/badge/instructions/ivalsaraj/nonoise-mac/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for NoNoise-Mac AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ivalsaraj/nonoise-mac/agents-md"><img src="https://agentmods.dev/badge/instructions/ivalsaraj/nonoise-mac/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12,228 This file is loaded in full into every session.
When invoked 12,228 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.12228 $0.12228
Opus 5.5 $0.04891 $0.04891
Sonnet 5.5 $0.02446 $0.02446
Haiku 4.5 $0.01223 $0.01223

Measured 1mo ago against content hash ce8716f1e34a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

NoNoise-Mac AGENTS.md scanned grade B with 1 finding 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 1mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

The virtual mic has its own scripts: `./build-driver.sh`, `sudo ./install-driver.sh`,
AGENTS.md · 341 lines

How it starts

The opening of the file, as written. The whole thing — 341 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NoNoise Mac — Agent Operating Guide

This file is the entry point for any AI agent (or human) working in this repo. Read it first, then the linked knowledge base before touching audio code.

What this is

NoNoise Mac is a macOS (Apple Silicon) menu-bar app that removes background noise and room reverb from your microphone in real time, 100% on-device, using DeepFilterNet3 on CoreML + Metal / Accelerate. It routes the cleaned voice through a virtual audio cable so any app (Zoom, Meet, Discord, OBS, …) receives studio-clean audio.

ICP / Who We Build For

  • macOS Apple-Silicon users on calls, podcasts, livestreams, and screen recordings who need clean voice without cloud processing or a subscription.
  • Privacy-conscious users — no audio ever leaves the machine.
  • Creators who want light studio polish (EQ + leveling) without opening a DAW.
  • Not for: Windows/Linux, Intel Macs, or multi-channel music mastering.

Architecture map

  • Sources/Core — engine, no UI:
    • AudioModel — CoreAudio/AVFoundation capture + playback, ring buffer, render callback, preset/knob state + persistence.
    • AudioProcessing/DeepFilterNetDSP — STFT → DeepFilterNet feature pipeline → CoreML call → ISTFT → wet/dry blend.
    • AudioProcessing/DeepFilterNet3_Streaming — generated CoreML model wrapper.
    • AudioProcessing/VoiceChain + Biquad + Dynamics — post-DSP "voice polish" (high-pass → shelves → compressor → limiter) plus the optional Broadcast Voice clarity stages (presence peaking bell → subtractive DeEsser) and optional Mouth Noise finisher stages (subtractive DePlosive → broadband-gate DeClick). Driven by ClarityLevel + MouthNoiseLevel, each is gated independently of the noise preset.
    • AudioProcessing/IncomingCleanupEngine — a SECOND, independent capture→clean→play pipeline ("clean the other side"), macOS 14.4+. Captures all system audio except NoNoise via a Core Audio process tap (no BlackHole/loopback), runs its OWN DeepFilterNetDSP instance (DFN only — no VoiceChain), and re-renders the cleaned audio to the current default output (auto-following device changes; tapped originals muted). NOT an AudioModel (no mic coupling, no auto-route to the NoNoise Mic sink). Held by AudioModel as an OPTIONAL (stored AnyObject?, gated type) created ONLY while enabled. The tap IOProc → AVAudioSourceNode are bridged by the lock-free TapAudioRing / CTapRing SPSC ring. See "Incoming / guest cleanup" below.
    • AudioProcessing/TapAudioRing + Sources/CTapRing (tap_ring.{c,h}) — a lock-free C11-atomics single-producer/single-consumer float FIFO bridging the two realtime threads of the tap-based incoming path. Mirrors the driver's tested nn_ring acquire/release discipline.
    • AudioProcessing/IncomingTapLogic — pure, headless-tested decisions for the incoming path (own-process-object validity, re-pin-vs-rebuild) + the IncomingCleanupStatus enum the UI binds to.
    • AudioProcessing/RingBuffer, SpecHistoryRingBuffer, AudioUtils — buffers + helpers.
    • VoicePreset — preset → DSP params + voice-chain settings (single source of truth).
    • CLIArguments + AudioDenoiseOptions — shared CLI parser (live device, --action, --denoise).
    • AudioFileDenoiser — offline file decode → mono 48 kHz → DeepFilterNetDSP → optional VoiceChain → write WAV/CAF/etc. Waits on DeepFilterNetDSP.waitUntilReady() before processing; writes to a temp sibling then moves on success.
  • Sources/App — SwiftUI menu-bar app: NoNoiseMacApp, ContentView (popover), SettingsView, and LaunchAtLoginManager (macOS Service Management adapter).
  • Sources/CLI — NoNoiseMacCLI: live device pipeline, one-shot --action URL dispatch, and --denoise offline file mode (audio containers only — no MP4/video remux in v1).
  • Resources — DeepFilterNet3_Streaming.mlmodelc, AppIcon.icns, NoNoiseMacLogo.png, Info.plist, NoNoiseMac.entitlements.
  • Tests/NoNoiseMacTests — pure DSP / preset / voice-chain unit tests (run headless).

Read the full file on GitHub · 341 lines

Changes

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.

  1. 1mo ago Changed · +1 lines · +311 tokens per session ce8716f1e34a
  2. 2mo ago First seen · 340 lines · 11,917 tokens per session scan B 87d9b6d65025

Subscribe to this mod's changes

NoNoise-Mac AGENTS.md is an instructions file published in the GitHub repository ivalsaraj/NoNoise-Mac (31 stars, last pushed 1mo ago), licensed MIT. It adds 12,228 tokens to every session, about $0.0489 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

NoNoise-Mac AGENTS.md compared with instructions from other repositories

NoNoise-Mac AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
NoNoise-Mac AGENTS.mdivalsaraj/NoNoise-MacInstructions file311mo agoMITB12,228Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot