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

推荐订阅源

I
InfoQ
C
CERT Recently Published Vulnerability Notes
The Last Watchdog
The Last Watchdog
P
Proofpoint News Feed
D
Darknet – Hacking Tools, Hacker News & Cyber Security
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
GbyAI
GbyAI
T
Tenable Blog
博客园 - 三生石上(FineUI控件)
P
Privacy & Cybersecurity Law Blog
Simon Willison's Weblog
Simon Willison's Weblog
Jina AI
Jina AI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tor Project blog
博客园_首页
F
Fortinet All Blogs
博客园 - Franky
Latest news
Latest news
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
U
Unit 42
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hugging Face - Blog
Hugging Face - Blog
D
Docker
Project Zero
Project Zero
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MongoDB | Blog
MongoDB | Blog
F
Full Disclosure
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
Cisco Talos Blog
Cisco Talos Blog
Y
Y Combinator Blog
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
H
Help Net Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
Schneier on Security
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
PCI Perspectives
PCI Perspectives
Cloudbric
Cloudbric
V
Visual Studio Blog
Recorded Future
Recorded Future
人人都是产品经理
人人都是产品经理

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
dikaletus
phillc73 · 2026-05-09 · via Hacker News - Newest: "AI"

A meeting agent script to record, transcribe, and summarise meetings using FFmpeg, PulseAudio and the Mistral AI API.

Meeting Agent

A script to record, transcribe, and generate structured meeting notes using FFmpeg, PulseAudio and the Mistral AI API.

Overview

The Meeting Agent automates the process of capturing, transcribing, and generating structured meeting notes. It records audio from both microphone and speaker outputs, transcribes the audio using Mistral's speech-to-text API, and generates structured meeting notes in Markdown format.

Features

  • Audio Recording: Captures audio from both microphone and speaker outputs using PulseAudio
  • Transcription: Uses Mistral's voxtral-mini-latest model to transcribe audio
  • Meeting Notes: Generates structured meeting notes using Mistral's mistral-medium-latest model
  • Configuration: Saves API key and settings between runs
  • Flexible Input: Record live audio or process existing audio/video files
  • Terminal UI: Interactive TUI mode for easy configuration and workflow selection
  • Breeze Dark Theme: TUI styled with dark background, light text, blue accents, matching KDE Breeze Dark
  • Context Biasing: Improve transcription accuracy by providing domain-specific terminology

Requirements

System Requirements

  • Linux with PulseAudio (for audio recording)
  • Bash shell (for TUI input handling)
  • FFmpeg (for audio recording and processing)
  • Standard terminal emulator with 256-color support

R Runtime

  • R (version 4.0 or later)

Required R Packages

  • httr - HTTP requests for Mistral API
  • jsonlite - JSON configuration handling
  • rmarkdown - Markdown processing
  • processx - Process management for audio recording
  • argparse - Command line argument parsing
  • cli - Terminal UI styling and formatting (for TUI mode)

Installation

1. Clone or Download

Clone this repository or download the script files.

2. Install Required R Packages

Rscript -e "install.packages(c('httr', 'jsonlite', 'rmarkdown', 'processx', 'argparse', 'cli'), repos = 'https://cloud.r-project.org')"
"

### 3. Install System Dependencies

**Ubuntu/Debian:**
```bash
sudo apt-get install pulseaudio ffmpeg

Fedora/RHEL:

sudo dnf install pulseaudio ffmpeg

Arch Linux:

sudo pacman -S pulseaudio ffmpeg

Usage

Launch the interactive TUI for guided setup and workflow selection:

Rscript meeting_agent.R 

The TUI provides:

  • Main menu with workflow options (Record Audio, Use Existing File, Settings, Exit)
  • Settings menu for API key, template path, and output directory configuration
  • Real-time feedback with styled alerts (info, success, warning, danger)
  • Breeze Dark compatible color scheme

Command Line Mode

First Run (API key required)

Rscript meeting_agent.R --api-key YOUR_API_KEY --record

Subsequent Runs (uses saved config)

Rscript meeting_agent.R --record

Use Existing Audio/Video File

Rscript meeting_agent.R --file /path/to/audio.mp4

Custom Template and Output Directory

Rscript meeting_agent.R --template-path /path/to/meeting_blueprint.md --output-dir /path/to/output --record

Command Line Options

Option Description
--api-key Mistral API key (required on first run)
--tui Launch interactive Terminal User Interface
--no-tui Force command-line mode (disables TUI even if stdin is a terminal)
--record Record audio from microphone and speakers
--file Use specified audio/video file instead of recording
--template-path Path to markdown template file
--output-dir Base path for output directories
--context Path to context bias text file for improved transcription accuracy

TUI Configuration

In TUI mode, use the Settings menu to configure:

  • API Key: Your Mistral AI API key (required for all API calls)
  • Template Path: Path to your meeting notes template (Markdown format)
  • Output Directory: Base directory for output files (timestamped subdirectories are created per workflow)
  • Context Bias File: Path to a text file containing domain-specific terms to improve transcription accuracy

Configuration is saved to config.json and loaded automatically on subsequent runs.

Context Bias File

The context bias feature improves transcription accuracy by providing the Mistral transcription API with domain-specific terminology that is likely to appear in your meetings.

Creating a Context Bias File

Create a plain text file containing words and phrases that are specific to your domain. Each entry should be on its own line or separated by commas. Multi-word entries should use underscores to join words (e.g., project_manager instead of project manager).

Example context bias file (bias.txt):

meeting,minutes,action_item,project_manager,scrum,sprint,retrospective,standup,dikaletus

Setting the Context Bias File

In TUI Mode:

  1. Select "Settings" from the main menu
  2. Select "Set Context Bias File"
  3. Enter the path to your context bias file
  4. The file path will be saved and used for all subsequent transcriptions

In Command Line Mode:

Rscript meeting_agent.R --context /path/to/bias.txt --record

What Context Bias Does

When a context bias file is configured, its contents are sent to the Mistral /audio/transcriptions API endpoint as the context_bias parameter. This helps the transcription model recognize and accurately transcribe domain-specific terms, proper nouns, technical jargon, and other terminology that might be uncommon in general speech but important for your use case. The model uses this information to bias its vocabulary selection during transcription.

Notes

  • The context bias file is optional. Without it, transcriptions will still work using the standard model vocabulary.
  • The file must exist at the specified path; if not found, a warning will be displayed but transcription will continue without context biasing.
  • Context bias phrases are joined with underscores internally, so multi-word entries should use underscores (e.g., action_item).

Diarization and Timestamp Granularities

The Mistral transcription API supports speaker diarization and configurable timestamp granularities to enhance your transcriptions.

Diarization

Speaker diarization identifies different speakers in the audio and attributes speech segments to each speaker in the output.

  • Default: Enabled (diarize = TRUE)
  • Purpose: Useful for meetings with multiple participants, interviews, or any multi-speaker audio
  • Output: When enabled, transcription output includes speaker labels

Timestamp Granularities

Controls the granularity of timestamps in the transcription output.

  • Default: segment - provides timestamps for each speech segment
  • Options:
    • segment - timestamps for each detected speech segment (most granular)
    • word - timestamps for each word
    • none - no timestamps (plain text output)

Important Note on Output Format

When timestamp granularity is set to anything other than none (i.e., segment or word), the transcription API returns output in JSON format instead of plain text. This JSON includes the timestamps and speaker information (if diarization is enabled). Your application handles this by writing the JSON directly to the transcription file. If you need plain text output, set timestamp granularities to none.

Setting Diarization and Timestamp Granularities

In TUI Mode:

  1. Select "Settings" from the main menu
  2. Select "Set Diarization" to enable/disable speaker diarization
  3. Select "Set Timestamp Granularities" to choose between segment, word, or none
  4. Settings are saved and applied to all subsequent transcriptions

In Command Line Mode:

# Enable diarization (default)
Rscript meeting_agent.R --record

# Disable diarization
Rscript meeting_agent.R --no-diarize --record

# Set timestamp granularities
Rscript meeting_agent.R --timestamp-granularities word --record

# Disable timestamps (plain text output)
Rscript meeting_agent.R --timestamp-granularities none --record

Workflows

Record Audio Workflow

  1. Select "Record Audio" from main menu
  2. Audio capture is set up using PulseAudio
  3. Recording starts automatically
  4. Press Ctrl+C when finished recording
  5. Audio is transcribed using Mistral API
  6. Meeting notes are generated and saved

Use Existing File Workflow

  1. Select "Use Existing File" from main menu
  2. Enter path to your audio/video file
  3. File is transcribed using Mistral API
  4. Meeting notes are generated and saved

Output

Each workflow run creates a new timestamped directory (format: YYYY-MM-DD_HH-MM-SS) under the configured output directory or current working directory. Output files are also named with the date and timestamp for easy identification:

  • recording.wav: Audio recording (if recorded live)
  • transcription.txt: Raw transcription
  • meeting_notes.md: Structured meeting notes in Markdown format

Configuration

On first run, the script creates a config.json file to store your API key and settings. This file is automatically loaded on subsequent runs.

Template Format

The meeting notes template should be a Markdown file with section headers. The AI will fill in content following the template structure. A default template meeting_blueprint.md is expected in the current directory.

License

This project is open-source and available for use under the GPLv3 License.