Skip to content

vyotiq-ai/vyotiq-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Vyotiq AI Logo

Vyotiq AI

An Advanced AI-Powered Coding Assistant with Autonomous Agent Capabilities

License: MIT TypeScript Electron React Tailwind CSS

Features β€’ Installation β€’ Quick Start β€’ Architecture β€’ Contributing β€’ License


🌟 Overview

Vyotiq AI is a powerful desktop application that brings enterprise-grade AI assistance directly to your local development environment. Built with Electron and React, it combines multiple Large Language Models (LLMs) with an intuitive interfaceβ€”all running locally with complete privacy.

πŸ’‘ Why Vyotiq-ai? Unlike browser-based AI tools, Vyotiq-ai runs on your machine with direct access to your filesystem, terminal, and git repositories. Your code never leaves your computerβ€”only API calls to your chosen AI provider.

✨ Key Highlights

Feature Description
πŸ”€ Multi-Provider AI Seamlessly switch between Claude, GPT, Gemini, DeepSeek, and OpenRouter
πŸ€– Autonomous Agents Advanced task execution with tool confirmation and safety guardrails
πŸ’» Integrated IDE xterm.js terminal and browser automation
🧠 Context-Aware Smart summarization, prompt caching, and context window optimization
πŸ” Full-Text Search Fast codebase search powered by Tantivy (BM25) indexing
οΏ½πŸ“Š Git Integration Review changes with git diff and commit directly
πŸ”’ Local-First All data stays on your machineβ€”complete privacy

πŸ“’ Recent Updates

Editor Theming, Workspace UX & Indexing Improvements (v1.7.0 - February 2026)

Feature-focused release with editor theming, workspace UX improvements, and indexing/search refinements.

Highlights:

  • 🎨 Monaco Custom Themes: New dark/light Monaco editor themes tuned for Vyotiq UI
  • πŸ—‚οΈ Workspace Tabs: Dedicated provider for multi-workspace tab state management
  • ⏳ Global Loading State: Centralized loading provider for better cross-panel feedback
  • πŸ” Indexing & Search: Refined workspace indexing and embedding settings across backend/frontend integration
  • πŸ’° Cost Insights: Token cost estimation utilities for clearer usage visibility

Multi-Agent Instruction Files Support (v1.6.0 - February 2026)

New instruction files system following 2025-2026 multi-agent specification standards.

Highlights:

  • πŸ“„ AGENTS.md Support: Full implementation of the agents.md specification
  • πŸ”€ Multi-Format: Support for CLAUDE.md, copilot-instructions.md, GEMINI.md, .cursor/rules
  • πŸ“Š TodoProgressInline: Compact task progress display in chat input header
  • βš™οΈ Settings UI: New instruction files configuration panel with priority ordering

UI & Developer Experience Improvements (v1.5.0 - February 2026)

Major update with new UI components, React hooks, and developer experience improvements.

Highlights:

  • 🎨 New UI Components: ErrorState, LoadingState, FeatureToggle, MessageAttachments
  • πŸͺ React Hooks: useAsync, useFormValidation, usePagination for cleaner code
  • ⚑ Performance: Event batching, improved virtualization, optimized HMR
  • πŸ“š Documentation: Complete MCP API reference and architecture docs
  • πŸ”§ Build System: ESLint flat config, improved Vite configuration
  • πŸ›‘οΈ Settings: Schema validation and enhanced appearance options

MCP System Refactoring (v1.4.0 - January 2026)

Complete architectural overhaul of the Model Context Protocol system with new registry, enhanced UI, and improved reliability.

Features:

  • πŸ“¦ MCP Registry: Dynamic server discovery and installation from community sources
  • πŸ–₯️ Enhanced UI: New modals for adding, configuring, and managing MCP servers
  • πŸ”§ Import/Export: Backup and restore MCP configurations
  • πŸ›‘οΈ Crash Recovery: New journal and dead letter queue for improved reliability
  • ⚑ Performance: Optimized state selection hooks and improved error handling

MCP System Stability & Type Safety (v1.3.0 - January 2026)

Major improvements to MCP integration with enhanced stability, better error handling, and complete TypeScript type coverage.

Improvements:

  • πŸ›‘οΈ Type Safety: Fixed risk level type mismatches, added MCP metadata to tool definitions
  • πŸ”§ API Fixes: Corrected property access patterns in tool sync and handlers
  • πŸ’š Health Events: Extended event system with health-related events
  • πŸ”„ Better Sync: Improved tool synchronization between MCP servers and agent
  • πŸ“˜ Complete Type Declarations: Full MCP API types in global.d.ts

MCP Server Integration (v1.2.0 - January 2026)

Added comprehensive Model Context Protocol (MCP) server integration for dynamic tool discovery and external server connections.

Features:

  • πŸ”Œ Server Discovery: Automatic detection of local MCP servers from known locations
  • πŸ“‘ Multiple Transports: Support for stdio and HTTP-based MCP servers
  • πŸ”§ Dynamic Tool Integration: MCP tools seamlessly available in the agent
  • πŸ“Š Real-time Status: Live server status monitoring and reconnection handling

πŸš€ Features

πŸ€– AI Capabilities

Multi-Provider Support
Provider Models Best For
Anthropic Claude 4.5 Sonnet, Opus, Haiku Complex coding, long context
OpenAI GPT-5.2, GPT-5.1, GPT-4.1, o-series Flagship reasoning, coding
Google Gemini 3 Pro, 2.5 Pro/Flash Multimodal, 2M context window
DeepSeek V3.2, V3.2 Reasoner Reasoning, cost-effective
OpenRouter 200+ models Access to any model via single API
Intelligent Routing & Failover
  • 🎯 Auto Model Selection: Automatically picks the best model for your task
  • πŸ”„ Task-Based Routing: Routes to specialized models (coding vs. reasoning vs. general)
  • πŸ›‘οΈ Automatic Failover: Gracefully handles rate limits with provider fallback chains
  • πŸ“Š Health Monitoring: Real-time provider health tracking and cost management
  • πŸ’° Cost Tracking: Per-session and aggregate cost monitoring across providers
Advanced Context Management
  • πŸ“ Smart Summarization: Automatically compresses long conversations
  • πŸ“Š Token Optimization: Efficiently manages context windows across providers
  • πŸ“Ž Attachments: Drag & drop files, images, and PDFs into conversations
  • πŸ—„οΈ Prompt Caching: Provider-specific caching (Anthropic, OpenAI, Gemini, DeepSeek)
  • πŸ”„ Tool Result Caching: Configurable TTL-based caching for tool outputs

πŸ› οΈ Development Tools

Integrated Terminal
  • xterm.js Powered: Full-featured terminal with Unicode support
  • Multiple Shells: bash, zsh, PowerShell, cmd.exe
  • Process Control: Start, monitor, and kill processes
  • AI Execution: Let the agent run commands for you
  • Real-Time Streaming: Live output streaming to UI
  • Persistent Sessions: Terminal state preserved across restarts
🌐 Browser Automation
  • Headless Browsing: AI can research and fetch web content
  • Screenshot Capture: Visual debugging and documentation
  • Content Extraction: Scrape and parse web pages
  • Form Filling: Automate web interactions
  • Navigation Control: Back, forward, reload, tab management
  • Security Status: Check URL safety and SSL status
  • Console & Network: Debug tools for web automation
πŸ”§ LSP Integration

Multi-language code intelligence via Language Server Protocol:

  • Hover Information: Type info and documentation on hover
  • Go to Definition: Jump to symbol definitions
  • Find References: Find all usages of a symbol
  • Symbol Search: Search symbols across workspace
  • Diagnostics: Real-time error and warning detection
  • Code Completions: Context-aware suggestions
  • Code Actions: Quick fixes and refactoring
  • Rename Refactoring: Safe symbol renaming

Supported languages: TypeScript, JavaScript, Python, Go, Rust, Java, C/C++, and more.

πŸ€– Agent System

Built-in Tools (40+)
Category Tools
File Operations read, write, edit, ls, grep, glob, bulkOperations
Terminal run, checkTerminal, killTerminal
Browser browser_fetch, browser_navigate, browser_extract, browser_snapshot, browser_screenshot, browser_click, browser_type, browser_scroll, browser_fill_form, browser_wait, browser_hover, browser_evaluate, browser_state, browser_back, browser_forward, browser_reload, browser_console, browser_network, browser_tabs, browser_security_status, browser_check_url
LSP lsp_hover, lsp_definition, lsp_references, lsp_symbols, lsp_diagnostics, lsp_completions, lsp_code_actions, lsp_rename
Linting readLints for code quality checks
Dynamic createTool for runtime tool generation
Session Management
  • Persistent Sessions: Conversations saved to SQLite database
  • Conversation Branching: Explore alternative paths from any message
  • Message Reactions: Up/down voting for feedback
  • Session Search: Find conversations by content
  • Auto-Cleanup: Configurable retention (default 30 days)
  • Workspace Filtering: Sessions organized by workspace
Error Recovery & Self-Healing
  • Error Classification: Categorizes errors for appropriate handling
  • Diagnostic Engine: Analyzes root causes
  • Recovery Strategies: Retry, fallback, context reduction, tool substitution
  • Self-Healing Agent: Attempts automatic recovery before failing

πŸ”’ Safety & Compliance

Feature Description
βœ… Tool Confirmation Review and approve dangerous operations before execution
πŸ›‘οΈ Safety Boundaries Configurable limits for file operations and commands
πŸ“‹ Audit Trail Complete logging of all agent actions
🚫 Protected Paths Prevent access to .git, .env, node_modules, etc.
β›” Blocked Commands Prevent dangerous shell commands
πŸ’Ύ Auto-Backup Automatic backup before file modifications
πŸ“Š Compliance Monitoring Violation detection and reporting

πŸ› Debugging & Observability

Execution Tracing
  • Step-by-Step Recording: Full trace of agent execution
  • Breakpoint Support: Pause on specific tools or errors
  • State Inspection: View context at any point
  • Payload Capture: Full request/response logging
  • Trace Export: JSON, Markdown, or HTML formats
  • Performance Profiling: Timing and resource usage

πŸ“¦ Installation

Prerequisites

  • Node.js 20.x or higher
  • npm 10.x or higher
  • Git (for version control features)
  • Windows 10/11, macOS 12+, or Linux (Ubuntu 20.04+)

Quick Install

# Clone the repository
git clone https://github.com/vyotiq-ai/Vyotiq-AI.git
cd Vyotiq-AI

# Install dependencies (this may take a few minutes for native modules)
npm install

# Start the development server
npm start

⚠️ Windows Users: You may need Visual Studio Build Tools for native module compilation (node-pty, better-sqlite3).

Building for Production

# Create distributable package
npm run package

# Create platform-specific installers
npm run make        # Creates .exe (Windows), .dmg (macOS), .deb/.rpm (Linux)

πŸ“ Built packages are output to the out/ directory.


⚑ Quick Start

1. Configure AI Provider

  1. Open Settings (gear icon or Ctrl + ,)
  2. Navigate to AI Providers
  3. Add your API key for at least one provider:

2. Open a Workspace

  1. Click Open Folder in the sidebar
  2. Select your project directory
  3. The file tree will populate automatically

3. Start Chatting

Type your request in the chat input:

"Create a React component for a user profile with local storage persistence"
"Fix the TypeScript errors in src/utils/parser.ts"
"Explain how the authentication flow works in this codebase"

4. Review & Apply Changes

  • Review AI-generated code changes before committing
  • Use the Undo History panel to revert any changes

⌨️ Keyboard Shortcuts

Action Windows/Linux macOS
Command Palette Ctrl + Shift + P Cmd + Shift + P
Quick Open File Ctrl + P Cmd + P
Go to Symbol Ctrl + Shift + O Cmd + Shift + O
Find in Files Ctrl + Shift + F Cmd + Shift + F
Open Settings Ctrl + , Cmd + ,
Toggle Terminal Ctrl + ` Cmd + `
New Chat Session Ctrl + N Cmd + N
Save File Ctrl + S Cmd + S
Undo Ctrl + Z Cmd + Z
Redo Ctrl + Y Cmd + Shift + Z

πŸ—οΈ Architecture

vyotiq/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main/                     # Electron main process
β”‚   β”‚   β”œβ”€β”€ agent/                # AI agent system (core)
β”‚   β”‚   β”‚   β”œβ”€β”€ orchestrator.ts   # Main agent coordinator
β”‚   β”‚   β”‚   β”œβ”€β”€ sessionManager.ts # Conversation persistence
β”‚   β”‚   β”‚   β”œβ”€β”€ runExecutor.ts    # Agent loop execution
β”‚   β”‚   β”‚   β”œβ”€β”€ providers/        # LLM provider integrations
β”‚   β”‚   β”‚   β”œβ”€β”€ context/          # Context management
β”‚   β”‚   β”‚   β”œβ”€β”€ cache/            # Caching systems
β”‚   β”‚   β”‚   β”œβ”€β”€ compliance/       # Safety & compliance
β”‚   β”‚   β”‚   β”œβ”€β”€ recovery/         # Error recovery
β”‚   β”‚   β”‚   └── debugging/        # Execution tracing
β”‚   β”‚   β”œβ”€β”€ tools/                # Tool system
β”‚   β”‚   β”‚   β”œβ”€β”€ implementations/  # Built-in tools
β”‚   β”‚   β”‚   β”œβ”€β”€ factory/          # Dynamic tool creation
β”‚   β”‚   β”‚   β”œβ”€β”€ executor/         # Tool execution engine
β”‚   β”‚   β”‚   └── registry/         # Tool registry
β”‚   β”‚   β”œβ”€β”€ browser/              # Browser automation
β”‚   β”‚   β”œβ”€β”€ lsp/                  # Language Server Protocol
β”‚   β”‚   β”œβ”€β”€ workspaces/           # Workspace management
β”‚   β”‚   β”œβ”€β”€ ipc.ts                # IPC handlers
β”‚   β”‚   └── logger.ts             # Logging system
β”‚   β”‚
β”‚   β”œβ”€β”€ renderer/                 # React frontend
β”‚   β”‚   β”œβ”€β”€ features/             # Feature modules
β”‚   β”‚   β”‚   β”œβ”€β”€ chat/             # Chat interface
β”‚   β”‚   β”‚   β”œβ”€β”€ terminal/         # Terminal emulator
β”‚   β”‚   β”‚   β”œβ”€β”€ browser/          # Browser panel
β”‚   β”‚   β”‚   β”œβ”€β”€ settings/         # Settings panel
β”‚   β”‚   β”‚   β”œβ”€β”€ fileTree/         # File tree explorer
β”‚   β”‚   β”‚   β”œβ”€β”€ sessions/         # Session management
β”‚   β”‚   β”‚   β”œβ”€β”€ undo/             # Undo history
β”‚   β”‚   β”‚   └── workspaces/       # Workspace switcher
β”‚   β”‚   β”œβ”€β”€ state/                # State management
β”‚   β”‚   β”‚   β”œβ”€β”€ AgentProvider.tsx # Agent state context
β”‚   β”‚   β”‚   └── UIProvider.tsx    # UI state context
β”‚   β”‚   β”œβ”€β”€ hooks/                # React hooks
β”‚   β”‚   └── components/           # Shared UI components
β”‚   β”‚
β”‚   β”œβ”€β”€ shared/                   # Shared types & utilities
β”‚   β”‚   └── types.ts              # Type definitions
β”‚   β”‚
β”‚   β”œβ”€β”€ main.ts                   # Electron entry point
β”‚   └── preload.ts                # Preload script
β”‚
β”œβ”€β”€ docs/                         # Documentation
└── package.json

Tech Stack

Technology Version Purpose
Electron 39.2 Desktop application framework
React 19.2 UI library with hooks
TypeScript 5.9 Type-safe JavaScript
Vite 7.2 Lightning-fast build tool
Tailwind CSS 4.1 Utility-first styling
xterm.js 5.5 Terminal emulator
better-sqlite3 12.5 Local database
node-pty 1.1 Terminal process management

πŸ”§ Configuration

Settings

All settings are accessible via the Settings panel (Ctrl + ,):

  • AI Providers: Configure API keys and default models
  • Terminal: Shell path, font family, cursor style
  • Safety: Tool confirmation, file limits, protected paths, blocked commands
  • Cache: Prompt caching, tool result caching, context caching
  • Debug: Verbose logging, trace export, breakpoints
  • Advanced: Context limits, summarization settings

πŸ› Troubleshooting

❌ "Module not found" or native module errors
# Windows (PowerShell)
Remove-Item -Recurse -Force node_modules, package-lock.json
npm install

# macOS/Linux
rm -rf node_modules package-lock.json
npm install

If issues persist with native modules:

npm rebuild
# or specifically for node-pty:
npx electron-rebuild -f -w node-pty
❌ Terminal not working
  • Windows: Install Visual Studio Build Tools with "Desktop development with C++" workload
  • macOS: Run xcode-select --install for build tools
  • Linux: Install build-essential package
  • Ensure your shell (bash, zsh, powershell) is in PATH
❌ API key errors
  • Verify keys are entered correctly (no extra spaces)
  • Check API key permissions and usage quotas on provider dashboard
  • Try a different provider to isolate the issue
❌ Performance issues
  • Enable context compression for long conversations
  • Reduce tool result cache size in Settings
  • Restart the app to clear caches

🀝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Quick Start

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/YOUR_USERNAME/Vyotiq-AI.git
  3. Install dependencies: npm install
  4. Create a feature branch: git checkout -b feature/amazing-feature
  5. Make your changes and test: npm test && npm run lint
  6. Commit: git commit -m "feat: add amazing feature"
  7. Push and open a Pull Request

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.

For third-party dependency licenses, see THIRD_PARTY_NOTICES.md.


⚠️ AI Usage Disclaimer

Vyotiq is an AI-assisted coding tool that integrates with third-party AI services. Please be aware:

AI-Generated Content

  • No Guarantee of Accuracy: AI-generated code may contain errors, bugs, or security vulnerabilities. Always review and test before production use.
  • User Responsibility: You are solely responsible for any code you accept, modify, or deploy.
  • Not a Substitute for Expertise: AI assistance should complement, not replace, your professional judgment.

Third-Party AI Services

When using Vyotiq-ai, your prompts and code context are sent to your chosen AI provider(s). Comply with each provider's terms of service:

Data Privacy

  • Local-First Architecture: All data stored locally on your machine
  • AI API Calls: Only context you provide in chat is sent to AI providers
  • No Telemetry: No tracking or analytics sent to Vyotiq-ai servers

πŸ™ Acknowledgments


Built with ❀️ by the Vyotiq team

Report Bug β€’ Request Feature β€’ Discussions

⭐ Star us on GitHub β€” it motivates us a lot!