Skip to content
Yash Aryan edited this page Aug 8, 2026 · 2 revisions

AnyLM Developer Wiki

AnyLM (repo paths may still say LLMeter) is a local-first LLM workspace: projects, RAG over reference docs, streaming chat against Ollama, tools & skills, multi-agent orchestration, and org governance via Firebase Auth + Firestore — all without a paid backend.

This wiki is the contributor handbook: architecture, code map, how to change things, and how to extend the product with skills, tools, and related options.

Start here

If you want to… Read
Run the app locally Getting Started
Understand the system Architecture · Code Structure
See what ships today Features
Change chat / IPC / UI Chat Pipeline · IPC Contract · How to Change
Add a skill or tool Skills · Tools · MCP & Extensions
Touch auth / org data Auth & Firebase
Work on RAG / memory RAG & Knowledge
Ship a release Build & Release
Avoid common traps Gotchas · Contributing

Repository map (one glance)

AnyLM/
├── app/           Electron desktop product (TypeScript)
├── web/           Next.js marketing + download site
├── firebase/      Auth, Firestore rules/indexes, hosted sign-in page
├── auth-backend/  Retired NestJS — reference only, do not run
├── scripts/       setup.sh, dev.sh
└── docs/          Release notes + design specs/plans

There is no Cloud Functions backend. Service logic lives in app/src/main/api/ and talks to Firestore under the signed-in user’s ID token. firebase/firestore.rules is the authorization layer.

Product surfaces

  • Desktop app — projects, chat, tools/skills, artifacts, settings, local OpenAI-compatible proxy on :3227
  • Firebase — identity + org/policy/usage data (Spark plan)
  • Website — landing, skills/tools catalog, download picker from GitHub Releases

Extension model (summary)

AnyLM does not implement the Model Context Protocol (MCP) today. Extensibility is:

  1. Tools — Ollama function-calling defs (builtin in code or custom shell/HTTP via UI)
  2. Skills — instruction bundles + tool sets (builtin connectors or custom via UI)
  3. Connectors — OAuth providers for connector skills (Outlook works; Google Calendar code exists but is product-disabled)
  4. Local proxy — other apps call AnyLM’s /v1 with anylm_ API keys (governance only; does not run tools)

Details: MCP & Extensions.

Current version

Desktop app package: v0.4.0 (app/package.json). Release notes: docs/releases/v0.4.0.md.

License & security

See the repo root LICENSE and treat app/.env as public (baked into the bundle). Never put signing secrets or API tokens there — see Configuration.

Clone this wiki locally