Repository navigation
Source Projects
Status: Implemented
Last Updated: 2026-11-13
Audience: Developers and coding agents
Last verified: 2026-11-13 against b1688a8de
Code: src/Martlet.Audio, src/Martlet.Gateway, src/Martlet.Gateway.Persistence, src/Martlet.Home, src/Martlet.Memory, src/Martlet.Messaging, src/Martlet.Discord, src/Martlet.Participation, src/Martlet.Perception, src/Martlet.Sherpa, src/Martlet.Support, src/Martlet.Avatars, src/Martlet.Avatar.Hosting, src/Martlet.Avatar.Audio2Face, src/Martlet.Credentials.Windows, src/Martlet.EchoCancellation, src/Martlet.F5, src/Martlet.NodeLinkCheck
This page lists the source projects that Repository Layout does not name. Find a project here, then open its folder under src. Each row comes from the project file references, the users of the project and the code comments. Read the code before you rely on the details.
| Project | Main files | What it covers |
|---|---|---|
src/Martlet.Audio |
CaptureNormalizer, EchoReduction, EnergyVoiceActivityDetector
|
Capture normalising (a resampler), echo reduction and an energy-based voice activity detector. Used by the desktop, conversation and Doctor projects. |
src/Martlet.EchoCancellation |
WebRtcEchoCanceller |
WebRtcEchoCanceller. It builds on src/Martlet.Audio. |
src/Martlet.Sherpa |
ParakeetEngine, SmartTurnEngine, SherpaNative
|
Installs speech components at pinned sizes and SHA-256 checks, and runs the Parakeet speech engine and the smart turn engine through native sherpa-onnx code. |
src/Martlet.F5 |
F5GatewayClientAdapter, F5BundledVoices
|
The client adapter for the F5 gateway contracts and the bundled F5 voices. src/Martlet.Gateway uses it. |
| Project | Main files | What it covers |
|---|---|---|
src/Martlet.Avatars |
AvatarComposer, AvatarChannels
|
Shared avatar frame, channel and composition types. The other avatar projects build on it. |
src/Martlet.Avatar.Hosting |
AvatarProfile, CharacterActionSettings, CharacterCombos
|
The character profile (including the lip-sync choice Auto, Loudness or Audio2Face), actions, animations and combos. |
src/Martlet.Avatar.Audio2Face |
Audio2FaceAdapter, AnimationDecoder
|
The adapter and decoder for Audio2Face face animation. src/Martlet.Gateway.Audio2Face relays it. |
| Project | Main files | What it covers |
|---|---|---|
src/Martlet.Memory |
LexicalIndex, MemoryExport
|
Memory facts: a lexical search index, activity records and export. |
src/Martlet.Participation |
ParticipationPolicy |
The policy that decides to allow, wait or suppress a reply from the participation mode, input source and response activity. It runs no voice detection; the caller gives it the events. |
src/Martlet.Perception |
PerceptionFrames, PerceptionWorkerContracts
|
Protocol and frame types for selected-window capture. src/Martlet.Gateway uses them. |
src/Martlet.Messaging |
MessagingBridge, MessagingSharing, PublicAddress
|
The Telegram and WhatsApp bridge: its state, bot identity, pairing code, sharing and public address. |
src/Martlet.Discord |
DiscordBot, DiscordCompanion
|
The Discord bot. See Discord. |
src/Martlet.Home |
HomeAssistantClient, HomeAssistantDiscovery
|
The Home Assistant client. See Smart Home. |
The gateway project holds accounts, API keys and authentication. Each relay worker project below references src/Martlet.Gateway, and src/Martlet.Gateway.Host.Linux and src/Martlet.NodeLinkCheck reference them. See Multiple Computers.
| Project | Main files | What it covers |
|---|---|---|
src/Martlet.Gateway |
GatewayAccounts, GatewayApiKeys, GatewayAuthentication
|
Gateway accounts, keys and authentication. |
src/Martlet.Gateway.Persistence |
AuthorityStore, DurableGatewayHost, HostCertificate
|
Durable gateway storage, the host certificate and the host control that opens the state. |
src/Martlet.Gateway.Ollama |
OllamaRelayWorker |
Relay worker for Ollama models. |
src/Martlet.Gateway.Stt, src/Martlet.Gateway.VoiceRecognition
|
SttRelayWorker, VoiceRecognitionRelayWorker
|
Relay workers for speech recognition and voice recognition. |
src/Martlet.Gateway.F5, src/Martlet.Gateway.Xtts, src/Martlet.Gateway.Dia, src/Martlet.Gateway.GptSovits
|
F5RelayWorker, XttsRelay, DiaRelay, GptSovitsRelay
|
Relay workers for the speech engines. |
src/Martlet.Gateway.Singing, src/Martlet.Gateway.Pictures, src/Martlet.Gateway.Ocr, src/Martlet.Gateway.Motion, src/Martlet.Gateway.Audio2Face
|
SongRelayWorker, PictureRelayWorker, OcrRelayWorker, MotionRelayWorker, Audio2FaceRelayWorker
|
Relay workers for songs, pictures, screen reading, motion and face animation. |
| Project | Main files | What it covers |
|---|---|---|
src/Martlet.Support |
DiagnosticJournal, BuildMetadata
|
A bounded diagnostic journal, build metadata and report projection. |
src/Martlet.Credentials.Windows |
WindowsCredentialStore |
Windows Credential Manager storage for secrets. |
src/Martlet.NodeLinkCheck |
AccountRehearsal, ApiRehearsal
|
A command-line check program. It runs commands between computers on this PC's loopback with fixture devices, or checks a disposable Linux gateway container. src/Martlet.Mcp uses it. |
Martlet: download · repository · changelog · issues
These pages come from docs/wiki in the repository. To suggest a change, open an issue or a pull request there.
- Home
- Accounts and households
- Accounts and Household
- Android phones and tablets: what it takes, and the plan
- Martlet's API for other apps and scripts
- App Guides
- App Settings and Updates
- App guides: game and app knowledge from the web
- Architecture
- Bounded PCM playback
- Audio dependency inventory and notices
- Avatar guide: Live2D, VRM and speech animation
- V01a explicit microphone capture
- Chatterbox voice engines
- Cleaning up disk space
- One Martlet on all your computers
- Companion controls and behavior requirements
- Components, jobs and placement (design)
- Live conversation
- Creations
- Decision map: which file owns each decision
- Deep research: web search and long research jobs
- The desktop app: updates, notification area, exiting and appearance
- Linux and macOS desktop companion: research, decision and plan
- Developer Guide
- Dia voice engine
- Diagnostics
- Discord
- Architecture and provider contracts
- Discord
- Memory (P03a/P03b/P03c)
- Singing
- Desktop troubleshooting and local support
- Recognizing people by voice, and Parakeet
- Echo cancellation
- ElevenLabs voice: your cloned voice with tones
- F5 worker and reference-voice foundation
- FAQ
- First Steps
- Game state plan: implementation history
- Glossary: one name for each concept
- GPT-SoVITS voice
- Hosted Thinking: cloud models when Thinking can't run on this PC
- Installation and support
- Installing Martlet
- iOS and iPadOS: what it takes, and the plan
- Repository instructions for coding agents
- Repository knowledge base
- Knowledge base maintenance
- GitHub Wiki mirror
- Linux and Mac
- Listening and Voice ID
- Local model apps
- Lorebooks
- macOS: what it takes, and the plan
- Martlet MCP Server
- MCP in Martlet
- MCP: The app's window
- MCP: Apps, home and memory
- MCP: Characters
- MCP: Diagnostics and logs
- MCP: Computers, network and accounts
- MCP: Other
- MCP: Tool permissions
- MCP pages
- MCP: Server and protocol internals
- MCP: Settings
- MCP: Start here
- MCP: Thinking and models
- MCP: Voice and listening
- Memory
- Messaging apps
- Model catalog: sources, conflicts and design
- Motion host role
- Multiple Computers
- Your Martlet network
- OCR host role
- Share your language models: the OpenAI-compatible endpoint
- Packaging
- Perception worker contracts
- Personality and Characters
- Picture making
- Pictures and Creations
- Picture making host role
- Platforms: what each device can do
- Prerequisites: what Martlet bundles, installs for you, or needs from you
- Privacy and Safety
- Reading the text on your screen
- Wiki source
- Recommendation design: ask three questions, plan for three situations
- Recommended setups: one machine to unlimited budget
- Releasing
- Repository Layout
- Research and provenance ledger
- Resource footprints
- Roadmap
- Watch my screen: screen-aware commentary
- Search engine
- Image and audio models: who sees, who hears, who answers
- Setting Up a Host
- Setup, Windows credentials and local audio
- Sharing with Friends
- Singing
- Smart Home
- Smart home and cameras
- Source Projects
- Talking to Martlet
- Telegram and WhatsApp
- The Character
- Thinking
- Tools and MCP
- Troubleshooting
- Martlet desktop UI design
- User stories and target flows
- Voice activity detection
- Validating changes
- Validation and Testing
- Vision
- Voice latency: from you stopping talking to Martlet's voice
- Voice recognition host role
- Multi-engine voice setup and comparison
- Voices
- The welcome wizard
- XTTS-v2 voice engine