← Back to Leaderboard
Laayushch

aayushch/laya

Local-first desktop agent for triaging work notifications and staging actions for approval

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated 4d ago
Latest Release
v3.2.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
Self-HostedLocal AI
Total Stars
★ 848
24h Growth
+1
7d Growth
+10
Forks
133

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

aayushch/laya Star History (2026-05-26 - 2026-12-04) ALL-TIME STAR HISTORY (2026-05 – 2026-12) +847 in 192d · avg +4/day 896 448 0 2026-05-26: ★ 12026-06-13: ★ 22026-06-27: ★ 52026-07-11: ★ 62026-07-25: ★ 82026-08-08: ★ 82026-08-22: ★ 82026-09-05: ★ 82026-09-19: ★ 122026-10-03: ★ 5322026-10-17: ★ 7022026-10-31: ★ 7772026-11-12: ★ 8172026-11-24: ★ 8372026-12-04: ★ 848 ★ 848 2026-05 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Laya is a desktop app with two local services. n8n normalizes events from work tools and forwards them to the Python FastAPI/asyncio engine at engine/laya/main.py on port 8420. The engine classifies and routes events, gathers context, and stages Action Cards. The Tauri v2 shell and Svelte 5 UI use REST and WebSocket interfaces to surface cards for approval or dismissal. Approved actions, such as sending a reply, go back through n8n for execution.

The integration gateway runs on port 45678. Its event workflows, the engine's egress/ adapters, and the model interfaces are separate extension points: adding an event source does not by itself give the app a new outbound action. Structured data and full-text search use SQLite with WAL and FTS5; embedded ChromaDB stores vectors, with built-in ONNX embeddings or optional sentence-transformers. LiteLLM and the engine's CLI adapters provide separate paths for inference.

Key Capabilities & Differentiators

The engine prioritizes incoming events and routes them to six personas, from Engineering and Comms to HR and Finance. Spaces group event sources with per-space models and API keys. Semantic similarity proposes cross-service links, an LLM confirms them, and user corrections inform later grouping. Daily briefings, pipeline-cost analytics, and monthly caps with automatic pausing help users review activity and manage spend.

Inference can use Ollama or LM Studio, BYOK access to Claude, GPT, or Gemini, or OpenAI-compatible endpoints through LiteLLM. Card Research can use web search and sandboxed file access. Card Workspaces support Claude Code, Gemini CLI, Codex, Pi CLI, and Cursor Agent for multi-step work with approvals. The first four can also handle individual classification or synthesis stages using their CLI quota. Claude Code enforces JSON schemas natively; the other CLI inference backends use best-effort validation and retries.

Trade-offs & Limitations

Compared with native inboxes, Laya adds a cross-service queue and context before approval, but it also adds integration credentials, workflows, and model behavior to maintain. Compared with standalone n8n, it supplies a desktop approval surface and semantic triage rather than just predefined automations. That is useful when context determines the next action; a deterministic workflow remains the simpler choice when triggers and actions are already explicit.

Local inference gives teams control over where model processing runs, not a guarantee that all activity stays offline: SaaS connectors and web research can still reach external services. Model size, context length, and concurrency determine much of the local compute and memory demand; cloud inference shifts the model compute off the workstation but introduces usage costs and a data-sharing decision. Approval gates outbound actions but does not validate the underlying research or the proposed action. Pilots should test those separately and verify coverage for each required action, not just each event source.

Hardware & Deployment Guide

Start with a prebuilt macOS .dmg, Windows .msi or .exe, or Linux .deb or .AppImage. Release builds require no preinstalled development toolchain: on first launch Laya reuses compatible Python 3.10–3.14 or provisions it, and downloads a private Node.js 24 for n8n under ~/.laya/. API keys go in the OS keychain. First-run downloads and connected SaaS tools still need network access even if inference stays local.

Source builds require Python 3.10+, Node.js 20+ for the UI, Rust, and platform build dependencies. scripts/setup-dev.sh installs dependencies and scripts/dev.sh starts the development environment. The Windows .exe installer requests administrator approval; n8n upgrades on Windows can take 15–30 minutes because of antivirus scanning. On Linux systems affected by the AppImage's bundled Wayland libraries, prefer a native package where available. v3.2.0 adds Trello polling; v3.1.0 improves Jira creation-event and Slack mention detection.

Approval boundary: The Python engine stages Action Cards; n8n executes approved actions.
Inference routing: Use local or BYOK endpoints, or select Claude Code, Codex, Gemini CLI, or Pi CLI for individual pipeline stages.
Context isolation by configuration: Spaces group event sources and let you set models and API keys per space.
Cross-source linking: Semantic similarity proposes related cards, an LLM confirms links, and user corrections inform future grouping.
Local persistence: SQLite uses WAL and FTS5; embedded ChromaDB provides persistent vector storage.
Trello in v3.2.0: A single read-token connection can poll multiple boards every two minutes.
Best For

Professionals juggling email, chat, issue trackers, and calendars who want one queue where an agent gathers context and stages actions they can review before execution.

Skip If

You need a centrally managed, always-on service rather than a workstation app, require strictly offline operation while monitoring cloud tools, or can solve the problem with a few deterministic workflows.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedLocal AI
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
laya ★848+10PythonApache-2.0Local-first desktop agent for triaging work notifications and staging actions fo
dify162.4k+370Python—Visual workflow and RAG workspace for building and serving LLM apps
n8n213.1k+787TypeScript—Visual Node.js platform for self-hosted workflows and multi-step AI agents
gpt-researcher31.1k+92PythonApache-2.0Planner–executor agent for cited research across the web and local documents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/aayushch/laya.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

aayushch/laya Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about laya

How does an integration turn a notification into an approved action?

Local n8n workflows normalize source events and send them to the Python engine, which classifies the event and stages an Action Card. The desktop UI is where you approve or dismiss it; n8n executes the approved action. If ingestion stops because a workflow is missing the engine token, update that workflow in Settings → Integrations → n8n.

Do I need a GPU, and what should I budget for local operation?

There is no fixed GPU or VRAM requirement for Laya itself. Even with a cloud model, the desktop shell, Python engine, n8n, and local stores still run on your machine. With Ollama or LM Studio, size RAM and, if using GPU offload, VRAM for the model, quantization, context length, and concurrency you choose. Budget disk space for runtimes, indexes, and any local model files.

Can we use Laya commercially on managed workstations?

Laya is Apache-2.0; commercial use is permitted, and redistribution must follow the license and applicable notice requirements. Review the terms for n8n, your model or CLI provider, and each connected service separately. Local hosting and OS-keychain storage for API keys do not by themselves satisfy data-handling requirements: check what each configured backend or tool receives.

When is Laya a better fit than a native inbox or n8n alone?

Use Laya when events from several services belong in one queue and you want the agent to gather context before you decide what to do. Use native inboxes when one service dominates and no cross-service triage is needed. Use n8n directly when the trigger and action are already known and a deterministic workflow is easier to maintain than model-driven staging.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining aayushch/laya? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature aayushch/laya on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare