{"id":48190800,"url":"https://github.com/emrek0ca/elyan","last_synced_at":"2026-04-26T15:01:06.928Z","repository":{"id":352247312,"uuid":"1156669663","full_name":"emrek0ca/elyan","owner":"emrek0ca","description":"Local-first AI operator with zero-permission sandboxing, evidence-backed execution, and investor-ready docs.","archived":false,"fork":false,"pushed_at":"2026-04-18T15:28:31.000Z","size":23113,"stargazers_count":1,"open_issues_count":15,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-18T17:29:31.479Z","etag":null,"topics":["agent","ai","automation","computer-use","sandbox"],"latest_commit_sha":null,"homepage":"https://emrek0ca.github.io/elyan/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emrek0ca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security-and-risk-policy.md","support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-02-12T23:07:42.000Z","updated_at":"2026-04-18T15:28:35.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/emrek0ca/elyan","commit_stats":null,"previous_names":["emrek0ca/elyan"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/emrek0ca/elyan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrek0ca%2Felyan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrek0ca%2Felyan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrek0ca%2Felyan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrek0ca%2Felyan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emrek0ca","download_url":"https://codeload.github.com/emrek0ca/elyan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emrek0ca%2Felyan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32301330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","automation","computer-use","sandbox"],"created_at":"2026-04-04T17:55:17.214Z","updated_at":"2026-04-26T15:01:06.912Z","avatar_url":"https://github.com/emrek0ca.png","language":"Python","readme":"# Elyan v1.2\n\nElyan is a local-first personal agent runtime with a separate hosted control plane on elyan.dev.\n\nThe real v1 product surface is intentionally small:\n\n- local chat runtime\n- local health and readiness\n- capability discovery\n- dashboard\n- CLI\n- optional search\n- optional MCP\n- optional channels\n- optional hosted control-plane integration\n\nEverything else is secondary.\n\n## Canonical Local Path\n\n1. Install dependencies:\n\n```bash\nnpm install\n```\n\n2. Prepare local storage, safe environment defaults, and zero-cost model routing:\n\n```bash\nnpm install -g .\nelyan setup --zero-cost\n```\n\nIf the CLI is not linked globally yet:\n\n```bash\nnode bin/elyan.js setup --zero-cost\n```\n\n`elyan setup` runs the safe bootstrap path, checks local model/search reachability, and prints the next local-first step without requiring hosted account linking.\n\n3. Start Ollama and pull the recommended local model if setup reports that Ollama is not reachable:\n\n```bash\nelyan models setup\n```\n\nCloud keys are optional and should only be set when you intentionally want cloud inference:\n\n- `OPENAI_API_KEY`\n- `ANTHROPIC_API_KEY`\n- `GROQ_API_KEY`\n\n4. Run Elyan:\n\n```bash\nnpm run dev\n```\n\nProduction-like:\n\n```bash\nnpm run build\nnpm run start\n```\n\n5. Check health and open the command center:\n\n- `http://localhost:3000/api/healthz`\n- `http://localhost:3000/manage`\n\n## What Is Required\n\nYou need one usable model source:\n\n- local Ollama at `OLLAMA_URL`, or\n- one cloud provider key\n\nZero-cost mode uses local Ollama and local storage. Without a model source, Elyan is not ready.\n\n## CLI\n\n```bash\nelyan setup --zero-cost\nelyan doctor\nelyan doctor --fix --zero-cost\nelyan health\nelyan status\nelyan status --json\nelyan capabilities\nelyan settings view\nelyan open\n```\n\nLocal operator permissions:\n\n```bash\nelyan desktop status\nelyan desktop grant .\nelyan desktop enable\n```\n\nService mode:\n\n```bash\nelyan service install\nelyan service start\nelyan service status\n```\n\nChannel diagnostics:\n\n```bash\nelyan channels list\nelyan channels doctor\nelyan channels setup telegram\nelyan channels test telegram\n```\n\nMCP diagnostics:\n\n```bash\nelyan mcp list\nelyan mcp doctor\nelyan mcp enable \u003cserver\u003e\nelyan mcp disable \u003cserver\u003e\nelyan mcp disable-tool \u003cserver\u003e \u003ctool\u003e\n```\n\n## Optional Surfaces\n\n### Search\n\nSearXNG is optional. If it is reachable, Elyan uses live retrieval and citations. If it is missing, Elyan stays usable in local-only mode.\n\n### MCP\n\nMCP is optional. Only configure it if you actively use MCP servers.\n\n### Channels\n\nTelegram, WhatsApp Cloud, WhatsApp Baileys, and iMessage/BlueBubbles are optional.\n\n- Telegram uses the official Bot API and supports polling or webhook mode.\n- WhatsApp Cloud is the official Meta surface and can incur template-message costs.\n- WhatsApp Baileys is local best-effort and unofficial; it is not a guaranteed business channel.\n- iMessage requires a local BlueBubbles server on a Mac with iMessage available.\n\n### Hosted Control Plane\n\nThe shared VPS control plane is optional and only for shared business/device state:\n\n- accounts\n- sessions\n- plans\n- subscriptions\n- entitlements\n- hosted usage accounting\n- device linking and token rotation\n- notifications and ledger entries\n\nPrivate local runtime state stays local by default.\n\n## Local Operator Safety\n\nThe local operator is permissioned computer control, not unrestricted system takeover.\n\n- It is disabled until enabled in runtime settings or through `elyan desktop enable`.\n- It can only operate inside configured `allowedRoots`.\n- Sensitive paths such as `.env`, SSH keys, cloud credentials, wallets, shell profiles, and system directories are protected by default.\n- Write, destructive, and system-critical actions require explicit approval policy levels.\n- Evidence is written under `ELYAN_STORAGE_DIR/evidence`.\n\n## Environment\n\nBase local runtime:\n\n- `ELYAN_STORAGE_DIR=storage`\n- `ELYAN_RUNTIME_SETTINGS_PATH=storage/runtime/settings.json`\n- `OLLAMA_URL=http://127.0.0.1:11434`\n- `SEARXNG_URL=http://localhost:8080`\n\nOptional cloud providers:\n\n- `OPENAI_API_KEY`\n- `ANTHROPIC_API_KEY`\n- `GROQ_API_KEY`\n\nOptional hosted control plane:\n\n- `DATABASE_URL`\n- `NEXTAUTH_URL`\n- `NEXTAUTH_SECRET`\n- `IYZICO_API_KEY`\n- `IYZICO_SECRET_KEY`\n- `IYZICO_MERCHANT_ID`\n\nOptional MCP:\n\n- `ELYAN_MCP_SERVERS`\n- `ELYAN_DISABLED_MCP_SERVERS`\n- `ELYAN_DISABLED_MCP_TOOLS`\n\n## Commands\n\n```bash\nnpm run lint\nnpm run test\nnpm run build\nnpm run release:check\n```\n\n## Security\n\n- Public-facing hosted and control-plane routes use hardened HTTP headers and no-store defaults on private surfaces.\n- Do not commit secrets, tokens, or private credentials to the repository.\n- Do not grant broad local operator roots unless you are comfortable with that machine scope.\n- Report vulnerabilities privately through GitHub Security Advisories or `SECURITY` before public disclosure.\n\n## Product Boundary\n\nElyan v1.2 is not:\n\n- a Docker-first product\n- a fake hosted everything-app\n- an unrestricted computer-control bot\n- a replacement for explicit channel credentials and platform rules\n\nElyan v1.2 is a directly runnable local-first runtime with guided setup and safer release/install surfaces. The hosted surface is separate and only adds shared account and billing features when configured.\n\n## License\n\nElyan is licensed under `AGPL-3.0-or-later`.\n\nIf you modify and deploy it as a network service, you must make the corresponding source available under the same terms.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femrek0ca%2Felyan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femrek0ca%2Felyan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femrek0ca%2Felyan/lists"}