惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
宝玉的分享
宝玉的分享
酷 壳 – CoolShell
酷 壳 – CoolShell
T
The Exploit Database - CXSecurity.com
Help Net Security
Help Net Security
腾讯CDC
Project Zero
Project Zero
C
CXSECURITY Database RSS Feed - CXSecurity.com
IT之家
IT之家
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Tailwind CSS Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Darknet – Hacking Tools, Hacker News & Cyber Security
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
T
Threatpost
N
News | PayPal Newsroom
C
Cybersecurity and Infrastructure Security Agency CISA
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
SegmentFault 最新的问题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
P
Proofpoint News Feed
A
Arctic Wolf
B
Blog RSS Feed
Forbes - Security
Forbes - Security
P
Privacy & Cybersecurity Law Blog
Attack and Defense Labs
Attack and Defense Labs
V2EX - 技术
V2EX - 技术
P
Proofpoint News Feed
I
Intezer
Application and Cybersecurity Blog
Application and Cybersecurity Blog
阮一峰的网络日志
阮一峰的网络日志
aimingoo的专栏
aimingoo的专栏
T
Tenable Blog
MyScale Blog
MyScale Blog
U
Unit 42
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
W
WeLiveSecurity
D
DataBreaches.Net
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
GRAHAM CLULEY
有赞技术团队
有赞技术团队
Martin Fowler
Martin Fowler
罗磊的独立博客
The Last Watchdog
The Last Watchdog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
Vulnerabilities – Threatpost
美团技术团队
Microsoft Security Blog
Microsoft Security Blog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
GitHub - robert-mcdermott/arietta-voice: A local-first framework for building customizable AI powered voice assistants on Apple Silicon Macs with local speech, knowledge & tools.
mcdermott · 2026-04-28 · via Hacker News - Newest: "AI"

Arietta Logo

Arietta Voice is a local-first framework for building a wake-word-driven voice assistant on Apple Silicon Macs. It combines local speech-to-text, text-to-speech, turn detection, tool routing, markdown knowledge retrieval, and a web admin console into a customizable assistant runtime. It's like your own private, custom, locally host Alexa/Echo, but better.

The project is meant to become your assistant, not a finished general-purpose assistant out of the box. As shipped, it is mostly a working runtime and admin surface; it becomes useful when you provide the assistant persona in SOUL.md, add knowledge articles for your environment, configure the wake word, and add deterministic or model-called tools for the things you want it to do.

The default assistant persona is named Bridget, and the default wake word is also Bridget. Both are easy to change in config/arietta_voice.toml.

For a detailed customization walkthrough, see GETTING_STARTED.md.

What This Project Includes

  • local speech-to-text with Moonshine
  • local text-to-speech with Kokoro
  • local VAD and turn-end detection with Silero VAD and Smart Turn
  • default local chat with Gemma on MLX
  • optional AWS Bedrock chat integration through the same chat-model seam
  • deterministic tool routing
  • model-requested follow-up tools
  • local markdown knowledge retrieval
  • editable SOUL.md and optional memory file
  • a wake-word-first runtime designed for an always-on Mac mini
  • authenticated HTTP API and admin console for inspection, chat testing, logs, diagnostics, tools, and knowledge

Design Scope

The project is intentionally focused on a voice-first assistant runtime with a small, editable surface area:

  • the typed config system
  • the knowledge indexing and retrieval pipeline
  • deterministic tools and model-requested tools
  • the local/Bedrock LLM adapter seam
  • STT, TTS, VAD, Smart Turn, and audio barge-in handling
  • prompt assembly and optional memory consolidation
  • a local admin/API surface for operational visibility and configuration workflows

It intentionally does not include:

  • webcam presence detection
  • camera and vision tools

Setup

Install the project environment:

uv sync

Recommended on macOS for Kokoro:

brew install espeak-ng

First run downloads model assets as needed. Depending on your config, that can include Moonshine, Kokoro, Smart Turn, and the local MLX chat model.

Commands

Run the assistant:

uv run arietta-voice
uv run arietta-voice run

Useful variations:

uv run arietta-voice --no-wake
uv run arietta-voice --wake-word Bridget
uv run arietta-voice --wake-word Bridget --wake-word Arietta
uv run arietta-voice --session-timeout 30
uv run arietta-voice --voice bf_emma
uv run arietta-voice --chat-provider bedrock --model us.anthropic.claude-sonnet-4-20250514-v1:0
uv run arietta-voice --record
uv run arietta-voice --record tmp/session.wav

Inspect configuration:

uv run arietta-voice config

Run diagnostics:

uv run arietta-voice doctor

Run the HTTP API and admin console:

uv run arietta-voice serve

The admin console is available at http://127.0.0.1:8765/admin. The initial local credentials are admin / password; override them with ARIETTA_ADMIN_USERNAME and ARIETTA_ADMIN_PASSWORD.

Screenshot of the Arietta admin console's tool managment panel: arietta console

The voice runtime and web console can run as separate processes. For example, you can start the voice runtime in one terminal and the admin console in another:

uv run arietta-voice
uv run arietta-voice serve

In this mode, the admin console still provides observability and editing: health, status heartbeat, logs, diagnostics, chat testing, knowledge editing, tool validation, tool source editing, and config-backed tool enablement. The voice runtime publishes a heartbeat to logs/runtime_status.json, which lets the admin console show whether the separate voice process is running, stopped, or stale.

The main limitation is process ownership. If the voice runtime was started manually with uv run arietta-voice, the admin console can observe it but cannot stop or restart that terminal process. After changing tools, knowledge settings, or config used by the voice runtime, restart the manually started runtime yourself so it picks up those changes.

The admin console can also start, stop, and restart an API-managed voice runtime. Use the admin console's Start button when you want the web API to own the child voice process and make the Start, Stop, and Restart buttons fully effective. Managed runtime stdout and stderr are written to logs/managed_runtime.stdout.log and logs/managed_runtime.stderr.log.

If you use a custom config path, pass the same config to both processes:

uv run arietta-voice --config config/arietta_voice.toml
uv run arietta-voice serve --config config/arietta_voice.toml

For a headless Mac mini or other always-on Mac, use macOS launchd to start the voice runtime and admin console automatically after reboot/login. Because the voice runtime uses microphone/audio access, run it as a user LaunchAgent rather than a root LaunchDaemon. See Run Automatically on macOS With launchd for a step-by-step setup.

The Knowledge page can list, create, edit, delete, search, and re-index local knowledge files inside the configured knowledge directory.

List audio devices:

uv run arietta-voice devices

Work with the knowledge base:

uv run arietta-voice knowledge-search "what can you help with"
uv run arietta-voice knowledge-index

Run tests:

uv run pytest

Wake Word Behavior

The initial wake-word implementation is local and transcript-based:

  • Arietta Voice listens continuously with VAD.
  • When speech ends, it transcribes the utterance locally.
  • If the transcript starts with a configured wake phrase like Bridget, the assistant opens a short active session.
  • If the wake utterance also contains a command, like Bridget what time is it, the assistant handles that in the same turn.
  • If you only say Bridget, the assistant answers with the configured acknowledgement and keeps listening for the follow-up.

This approach keeps the system simple and fully local while reusing the existing STT/VAD pipeline. It is also deliberately extensible: the wake-word logic lives in src/arietta_voice/wake.py, so a future acoustic hotword backend can be added without rewriting the runtime.

Configuration

The main config file is config/arietta_voice.toml.

The most important editable files are:

  • config/SOUL.md: the system prompt/personality
  • config/MEMORY.md: optional long-lived memory file, created automatically when memory is enabled
  • knowledge: your editable local knowledge articles

The main config sections are:

  • [assistant]: persona name, identity text, short greetings, goodbye phrases, history length
  • [wake_word]: wake phrases, acknowledgement, backend, and session timeout
  • [audio]: TTS, Smart Turn, AEC, chime, and Kokoro settings
  • [models]: local vs Bedrock chat provider, model ids, AWS settings, STT language, generation settings
  • [prompts]: SOUL.md and memory file locations
  • [memory]: optional memory behavior
  • [logging]: runtime log locations
  • [knowledge]: knowledge directory, index directory, backend, and retrieval scoring knobs
  • [tools]: deterministic tools checked before the model
  • [model_tools]: model-requested follow-up tools

Relative paths in the TOML are resolved relative to the config file, not the current shell directory.

Customizing The Assistant

Change the assistant name and wake word

Edit config/arietta_voice.toml:

[assistant]
name = "Arietta"

[wake_word]
phrases = ["arietta"]

Change the system prompt

Edit config/SOUL.md. Keep it focused and durable. Project-specific facts should usually live in knowledge/*.md, not in the soul file.

Add knowledge

Add markdown files to knowledge. A template is included at knowledge/_template.md.

Add a deterministic tool

Copy src/arietta_voice/tools/tool_template.py to a new module in the same directory, implement maybe_handle(...), then add the module name to [tools].enabled.

Use deterministic tools when:

  • the answer should be exact
  • routing should be explicit
  • the tool itself should produce the final answer

The built-in local_time tool is the canonical example.

Add a model-requested tool

Copy src/arietta_voice/model_tools/tool_template.py to a new module in the same directory, implement invoke(...), then add the module name to [model_tools].enabled.

Use model-requested tools when:

  • the model should decide if the lookup is necessary
  • the tool gathers supporting facts instead of speaking directly
  • you want one grounded follow-up answer after tool execution

This is the natural path for future home-automation actions and richer environment lookups.

Bedrock Integration

Local chat is the default:

[models]
chat_provider = "local"
chat_model = "mlx-community/gemma-4-E4B-it-4bit"

To switch chat turns to Bedrock:

[models]
chat_provider = "bedrock"
chat_model = "us.anthropic.claude-sonnet-4-20250514-v1:0"
bedrock_region = "us-west-2"
bedrock_profile = "default"

The rest of the runtime stays the same. STT, TTS, tools, wake word handling, and knowledge retrieval remain local.

Recommended Dedicated Mac Mini Setup

For an always-on voice assistant box, the intended target is a dedicated Apple Silicon Mac mini with:

  • a reliable USB microphone or speakerphone
  • a good near-field speaker
  • a quiet location with stable power
  • local knowledge and tool configuration committed alongside the project

The current repo is a strong foundation for a home assistant or office assistant. Home automation should be added through tools, not by hardcoding behaviors into the runtime.

Project Layout

.
├── config/                     # Configuration files, SOUL definitions, and memory examples
├── knowledge/                  # User-editable Markdown knowledge base
├── src/
│   └── arietta_voice/
│       ├── tools/              # Deterministic tools (directly invoked)
│       ├── model_tools/        # Tools invoked by model reasoning
│       └── ...                 # Core runtime, models, audio, and knowledge handling
├── tests/                      # Unit tests for config, tools, knowledge, wake word, and model tooling

Notes

  • Licensed under the Apache License 2.0.
  • The default wake-word backend is transcript-based, not an acoustic hotword model.
  • The local chat path is optimized for Apple Silicon and MLX.
  • knowledge-index is only required when you use the semantic or hybrid backend.
  • backend = "keyword" is the simplest starting point for a user-customized deployment.