Skip to content

inference[speaches]: a hearing server, with the speech server's surfaces - #2205

Merged
lbedner merged 1 commit into
mainfrom
hearing-server
Nov 27, 2026
Merged

lbedner merged 1 commit into
mainfrom
hearing-server

Conversation

@lbedner

@lbedner lbedner commented Nov 26, 2026

Copy link
Copy Markdown
Owner

What

aegis add inference[speaches] adds a hearing server: speaches running Parakeet TDT 0.6B v3 on the CPU (25 languages), in Docker whatever the placement. Its models are kept in a speaches-models volume, and HEARING_BASE_URL defaults to http://speaches:8000/v1. ai[voice] offers it as the Hearing server provider. Any OpenAI-compatible transcription server works at that address.

It has the same surfaces as the speech server (Kokoro-FastAPI):

  • Overseer > Inference > speaches, live over SSE: its models, Load and Unload, what is in memory, and charts of models in memory and each transcription's time.
  • CLI: inference hearing, inference hearing-model load|unload <model>.
  • API: GET /api/v1/inference/hearing, POST /api/v1/inference/hearing/{load,unload}/<model>.
  • Health: a speaches check under inference.
  • Overview: a Hearing row, or how to add a hearing server when none is set.

Both servers are reached and called through the same code (speech_server.reach, speech_server.call), and their Overseer Overviews share one page helper (overseer_live.ServerPage).

Image 0.9.0-rc.3-cpu, the first tag with Parakeet. The first transcription downloads the model (2.4 GB, about a minute). After a restart on a warm volume, the first call answers in about a second. It uses about 2.7 GB of memory.

Checks

  • Framework tests/core.
  • A generated htmx + inference[docker,kokoro_fastapi,speaches] + ai[voice] stack: lint, format, ty, and its inference, voice and core tests.
  • A base stack without inference.

Closes #2162

@illiana-review

illiana-review Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Illiana's review of e0fd2dd

Clear. Nothing new here holds the change.

Nothing new against any rule I hold. This has my seal of approval.

What this change touches
  • Parts: component:backend, component:frontend, service:ai, service:ai.chat, service:ai.llm, shared:system
  • Depended on by: service:documents, service:documents.mail, service:finance, service:meetings, task:fold_conversation_task, task:read_photo_task, task:score_conversation_task
  • Tables: object:large_language_model
  • In no part: 93 files

Earlier reviews

Illiana's review of `3fb2286`

Clear. Nothing new here holds the change.

Nothing new against any rule I hold. This has my seal of approval.

What this change touches
  • Parts: component:backend, component:frontend, service:ai, service:ai.chat, service:ai.llm, shared:system
  • Depended on by: service:documents, service:documents.mail, service:finance, service:meetings, task:fold_conversation_task, task:read_photo_task, task:score_conversation_task
  • Tables: object:large_language_model
  • In no part: 77 files
Illiana's review of `c63421f`

Clear. Nothing new here holds the change.

Nothing new against any rule I hold. This has my seal of approval.

What this change touches
  • Parts: component:backend, service:ai, service:ai.chat, shared:system
  • Depended on by: service:documents, service:documents.mail, service:finance, service:meetings, task:fold_conversation_task, task:read_photo_task, task:score_conversation_task
  • In no part: 66 files
Illiana's review of `0370e9f`

Clear. Nothing new here holds the change.

Nothing new against any rule I hold. This has my seal of approval.

What this change touches
  • Parts: component:backend, service:ai, service:ai.chat, shared:system
  • Depended on by: service:documents, service:documents.mail, service:finance, service:meetings, task:fold_conversation_task, task:read_photo_task, task:score_conversation_task
  • In no part: 65 files
Illiana's review of `5349537`

Clear. Nothing new here holds the change.

Nothing new against any rule I hold. This has my seal of approval.

What this change touches
  • Parts: component:backend, service:ai, service:ai.chat, shared:system
  • Depended on by: service:documents, service:documents.mail, service:finance, service:meetings, task:fold_conversation_task, task:read_photo_task, task:score_conversation_task
  • In no part: 64 files
Illiana's review of `3cd3746`

Clear. Nothing new here holds the change.

Nothing new against any rule I hold. This has my seal of approval.

What this change touches
  • Parts: component:backend, service:ai, service:ai.chat, shared:system
  • Depended on by: service:documents, service:documents.mail, service:finance, service:meetings, task:fold_conversation_task, task:read_photo_task, task:score_conversation_task
  • In no part: 63 files

@lbedner
lbedner force-pushed the hearing-server branch 7 times, most recently from 3fb2286 to adf2a9f Compare November 26, 2026 04:14
speaches (Parakeet TDT 0.6B v3 on the CPU) as the inference component's
hearing option, beside Kokoro-FastAPI for speech: a compose service, its
port and HEARING_BASE_URL, and ai[voice]'s Hearing server provider for any
OpenAI-compatible transcription server.

It gets everything the speech server has: a client (app/core/hearing_server.py),
a health check under inference, a sampler and charts, a row on the inference
overview, Overseer > Inference > speaches (its models, Load and Unload,
what is in memory, each transcription's time), `inference hearing` and
`inference hearing-model`, and /api/v1/inference/hearing.

Both servers share one way to be reached and called (speech_server.reach,
speech_server.call) and one live Overview page (overseer_live.ServerPage).

Closes #2162
@lbedner
lbedner merged commit d24c573 into main Nov 27, 2026
56 checks passed
@lbedner
lbedner deleted the hearing-server branch November 27, 2026 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hears through a speech server: any OpenAI-compatible transcription server (Parakeet in Docker), each call stage at its own address

1 participant