valdis-ai

mcp
Guvenlik Denetimi
Gecti
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.

SUMMARY

Native local-first AI companion for macOS & iOS — Swift 6, SwiftUI, RealityKit 3D avatars, on-device voice, MCP & Vapor.

README.md

Valdis on the App Store

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

Valdis 3D voice avatar on macOS   Valdis chat with image attachments on macOS


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

  1. Clone the repository and open Valdis.xcodeproj in Xcode:
    git clone https://github.com/shura-v/valdis-ai.git
    cd valdis-ai
    open Valdis.xcodeproj
    
  2. Wait for Swift Package Manager to resolve dependencies (all remote packages are public).
  3. 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) from app.valdis to your own unique identifier.
    • Remove or update the Associated Domains capability in Valdis/Valdis.entitlements / Valdis/ValdisDebug.entitlements if your signing team does not own valdis.app.
  4. Build and run the Valdis scheme for macOS or iOS.

Running Tests

make test

Reporting Issues & Debug Logging

  1. Search existing issues first.
  2. Open a Bug report or Feature request.
  3. 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 Debug logging toggle iOS/iPadOS Debug logging toggle
macOS: Copy logs iOS/iPadOS: Copy logs
macOS Copy logs button iOS/iPadOS Copy logs button

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

Thanks ❤️

Valdis builds on open-source work from the Apple and local-AI ecosystem:

Yorumlar (0)

Sonuc bulunamadi