valdis-ai
Health Gecti
- License — License: AGPL-3.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 10 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Native local-first AI companion for macOS & iOS — Swift 6, SwiftUI, RealityKit 3D avatars, on-device voice, MCP & Vapor.
Valdis
Native local-first AI companion for macOS, iOS, and iPadOS.
Swift 6 · SwiftUI · RealityKit · Vapor · On-device voice · Zero telemetry.
Website · App Store · macOS Download · Issues · FAQ · Privacy
Highlights
- Native Apple experience: 100% Swift 6 and SwiftUI for macOS 15.6+ and iOS/iPadOS 18.6+ (no Electron or WebView shell).
- Flexible LLM backends: Apple Foundation Models (offline on-device) plus any local or cloud HTTP LLM via standard OpenAI Chat Completions, OpenAI Responses, or Anthropic Messages APIs (oMLX, Ollama, LM Studio, OpenRouter, etc.).
- Walk & Talk voice pipeline: on-device speech-to-text and text-to-speech powered by WhisperKit and TTSKit alongside Apple system voices, with background audio support.
- Mac ↔ iPhone/iPad sync: macOS runs a built-in Vapor REST + WebSocket server so your iPhone/iPad can use your Mac's local models and stay in sync over LAN or Tailscale.
- 3D avatar with lip-sync: powered by RealityKit and Reality Composer Pro (
Packages/ValdisRealityContent). - Tools & MCP: device tools (date/time, nearby places) and remote HTTP Model Context Protocol (MCP) tool servers with Keychain-stored OAuth/headers.
- Privacy-first: no telemetry, analytics, or default data collection.
Architecture
| Path | Responsibility |
|---|---|
Valdis/Features/ |
SwiftUI views and TCA reducers (Main, Chat, ChatConversation, Setup, Avatar, About) |
Valdis/Core/ & Valdis/Core/v2/ |
Domain models, AppError, SwiftData single-writer persistence, capability sessions (CapabilitySessionRegistry), LLM/STT/TTS capabilities, tools, MCP, and history sync |
Valdis/ServerRuntime/ |
In-process macOS Vapor REST + WebSocket server for companion iOS/iPadOS clients |
Packages/ValdisRealityContent/ |
Local Reality Composer Pro Swift package with 3D avatar assets |
docs/architecture.md & openspec/ |
Subsystem design notes, invariants, interactive inference diagram, and specs |
Building from Source
Requirements
- macOS with Xcode supporting Swift 6 and macOS 15.6+ / iOS 18.6+ SDKs.
Steps
- Clone the repository and open
Valdis.xcodeprojin Xcode:git clone https://github.com/shura-v/valdis-ai.git cd valdis-ai open Valdis.xcodeproj - Wait for Swift Package Manager to resolve dependencies (all remote packages are public).
- In Xcode → Valdis target → Signing & Capabilities:
- Change Team (
DEVELOPMENT_TEAM) to your own Apple Developer team (or personal team). - Change Bundle Identifier (
PRODUCT_BUNDLE_IDENTIFIER) fromapp.valdisto your own unique identifier. - Remove or update the Associated Domains capability in
Valdis/Valdis.entitlements/Valdis/ValdisDebug.entitlementsif your signing team does not ownvaldis.app.
- Change Team (
- Build and run the
Valdisscheme for macOS or iOS.
Running Tests
make test
Reporting Issues & Debug Logging
- Search existing issues first.
- Open a Bug report or Feature request.
- For crashes or bugs, copy diagnostics from Valdis → About Valdis → Copy diagnostics (macOS) or Settings → About → Copy diagnostics (iOS/iPadOS).
Valdis also includes an optional Debug logging toggle (restart after enabling, then click Copy logs). Logs exclude prompts, message content, context, tokens, and secrets.
| macOS: Enable | iOS/iPadOS: Enable |
|---|---|
![]() |
![]() |
| macOS: Copy logs | iOS/iPadOS: Copy logs |
|---|---|
![]() |
![]() |
Reset flags (macOS)
If Valdis behaves unexpectedly after an update, or when asked by a maintainer, you can start from a clean state using launch flags.
Warning: These flags permanently delete the selected local data and cannot be undone.
--reset-settings— resets app settings--reset-data— resets provider instances, model selections, and cached state--reset-history— clears chat history
# Via Launch Services
open -a Valdis --args --reset-data --reset-settings --reset-history
# Directly via binary
/Applications/Valdis.app/Contents/MacOS/Valdis --reset-data --reset-settings --reset-history
Security
Do not open a public issue for security vulnerabilities. Email [email protected] — see SECURITY.md for our security policy and reporting guidelines.
Contributing
Contributions are welcome — see CONTRIBUTING.md for code guidelines and the App Store contributor license grant.
License
- Source code: GNU Affero General Public License v3.0 (AGPL-3.0)
- 3D avatar assets & branding: licensed separately — see LICENSE-ASSETS.md
Thanks ❤️
Valdis builds on open-source work from the Apple and local-AI ecosystem:
- AnyLanguageModel — unified Swift interface for language models
- MCP Swift SDK — Model Context Protocol support in Swift
- Argmax OSS (WhisperKit & TTSKit) — on-device speech-to-text and text-to-speech
- The Composable Architecture — state management and app architecture in Swift
- Vapor — WebSocket & REST server backend on macOS
- MarkdownView (by Lakr Aream) — native streaming Markdown rendering
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi



