[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108716":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":34,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},108716,"OpenAmika","zeekk0\u002FOpenAmika","zeekk0","OpenAmika: MekaHime's AI companion Amika, open source. Live2D avatar, real-time voice, long-term memory, OpenRouter or Ollama brain.","https:\u002F\u002Fwww.mekahime.com\u002Fopenamika",null,"Python",685,91,5,3,0,1,20,569,7,71.89,"Other",false,"main",[26,27,28,29,30,31,32,33],"ai-companion","live2d","long-term-memory","mekahime","ollama","openrouter","speech-recognition","text-to-speech","2026-11-21 09:23:13","2026-11-23 00:10:59","\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"docs\u002Fimages\u002Famika-avatar.png\" alt=\"Amika\" width=\"180\">\n\n# OpenAmika\n\n**Hi! I'm Amika** — MekaHime's AI companion, open source\n\nAmika is a Live2D anime girl who talks with you by voice and text in real time, remembers you, and lives with you\nin your city. She runs on your own PC, with OpenRouter or fully local with Ollama. A hosted version runs at\n[mekahime.com\u002Famika](https:\u002F\u002Fwww.mekahime.com\u002Famika).\n\n[简体中文](README.zh-CN.md) | [日本語](README.ja.md) | **English**\n\n[![Made with Love](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMade%20with-Love-ff69b4)](https:\u002F\u002Fwww.mekahime.com\u002Fopenamika)\n[![GitHub](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FGitHub-zeekk0%2FOpenAmika-181717?logo=github)](https:\u002F\u002Fgithub.com\u002Fzeekk0\u002FOpenAmika)\n[![Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fzeekk0\u002FOpenAmika?logo=github&color=d8b4e2)](https:\u002F\u002Fgithub.com\u002Fzeekk0\u002FOpenAmika\u002Freleases)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-43b581)](LICENSE)\n[![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-Windows%20(Linux%20untested)-0078D6?logo=windows&logoColor=white)](#what-you-need)\n[![Python 3.11](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpython-3.11-3776AB?logo=python&logoColor=white)](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002Frelease\u002Fpython-3119\u002F)\n\n[![Hugging Face](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F%F0%9F%A4%97%20Hugging%20Face-MekaHime%2FMekaHime__Amika-ffcc4d)](https:\u002F\u002Fhuggingface.co\u002FMekaHime\u002FMekaHime_Amika)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-MekaHime-5865F2?logo=discord&logoColor=white)](https:\u002F\u002Fdiscord.gg\u002Fmekahime)\n[![Website](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fwebsite-mekahime.com-d8b4e2)](https:\u002F\u002Fwww.mekahime.com\u002Fopenamika)\n[![Try Online](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTry%20Online-mekahime.com%2Famika-e58fb8)](https:\u002F\u002Fwww.mekahime.com\u002Famika)\n[![Tests](https:\u002F\u002Fgithub.com\u002Fzeekk0\u002FOpenAmika\u002Factions\u002Fworkflows\u002Ftests.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fzeekk0\u002FOpenAmika\u002Factions\u002Fworkflows\u002Ftests.yml)\n[![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fzeekk0\u002FOpenAmika?style=social)](https:\u002F\u002Fgithub.com\u002Fzeekk0\u002FOpenAmika\u002Fstargazers)\n\n\u003C\u002Fdiv>\n\n> 💖 If Amika makes your day better, give us a ⭐ on [GitHub](https:\u002F\u002Fgithub.com\u002Fzeekk0\u002FOpenAmika) — it helps more\n> people find her! · Support the project: https:\u002F\u002Fwww.mekahime.com\u002Fdonate\n\n## What you need\n\n- Windows 10 or 11 and an NVIDIA graphics card (RTX 20-series or newer, 8 GB of video memory or more; her camera\n  eyes need 16 GB), with a recent driver\n- [Python 3.11](https:\u002F\u002Fwww.python.org\u002Fdownloads\u002Frelease\u002Fpython-3119\u002F) (tick **Add python.exe to PATH** when you\n  install it) and [Git](https:\u002F\u002Fgit-scm.com\u002Fdownload\u002Fwin)\n- About 45 GB of free disk. Setting her up downloads about 15–20 GB and takes 30–60 minutes\n- An [OpenRouter](https:\u002F\u002Fopenrouter.ai) key for her language model (recommended: a few dollars a month), or\n  [Ollama](https:\u002F\u002Follama.com) with a model of 27B or more and a graphics card big enough for it (see\n  [Which language model?](#which-language-model))\n\n## Which language model?\n\nHer ears, voice, memory and eyes always run on your PC. Her language model, the part that thinks and writes her\nreplies, runs one of two ways:\n\n- **Semi-Local (recommended)**: through [OpenRouter](https:\u002F\u002Fopenrouter.ai) on your own key. In almost all cases\n  this is the better choice: she uses the models she was tested with, answers fast, and it only costs a few dollars\n  a month (about $1.50 if you talk 30 turns a day, about $5 at 100 turns a day).\n- **Fully Local**: on your PC with [Ollama](https:\u002F\u002Follama.com). Use a model of **27B parameters or more**; **70B or\n  more** gives the full, reliable experience. Models smaller than 27B may be really bad: she loses her character,\n  forgets what you told her and breaks her reply format. A local model is also slower: all her thinking takes turns\n  on it, so after you interrupt her, or while she saves a memory or reflects, a reply can take 5–50 s.\n\nA local model needs its own video memory on top of the ~6 GB her ears, memory and voice use (~10 GB with her eyes):\nabout 19 GB for a 27B model such as `gemma3:27b`, 24 GB for a 32B one such as `qwen3:32b`, and 50 GB for a 70B one\nsuch as `qwen2.5:72b`. So one 32 GB card (RTX 5090) holds a 27B model next to all of her (a 32B one only with her\neyes off); a 24 GB card does not. A 70B model fits next to her only on a 72–96 GB workstation card. Otherwise run\nOllama on a second PC (the Setup page takes its address), or stay Semi-Local. Whichever model you run, pick one that\nsupports Chinese, since her prompts are written in it (`llama3.3:70b`, for one, does not). How to switch:\n[Optional add-ons](#optional-add-ons).\n\n## Set her up\n\nOpen PowerShell (a normal window, not as administrator) and run these lines one at a time. They put her in\n`C:\\OpenAmika`, a short folder that OneDrive does not sync:\n\n```powershell\ncd C:\\\ngit clone https:\u002F\u002Fgithub.com\u002Fzeekk0\u002FOpenAmika.git\ncd OpenAmika\npowershell -ExecutionPolicy Bypass -File scripts\\setup_windows.ps1   # her brain, ears, memory and eyes\nenvs\\brain\\Scripts\\python.exe scripts\\setup_tts.py                   # her voice, her Live2D model, the paper doll: type yes\n.\\Start_OpenAmika.bat                                                # start her\n```\n\nHer voice, her Live2D model and the paper doll are free under MekaHime's personal-use license (see\n[Licenses](#licenses)): the `setup_tts.py` line shows it first and downloads her files only after you type `yes`.\n\nBoth setup commands end with a summary, one line per part: `OK` when it is done, `!!` with the fix when it is not,\nand `--` for information only (for example: no OpenRouter key yet, your first visit asks for it). Running a command\nagain resumes and skips everything that is finished. When the `setup_tts.py` summary shows `OK voice MekaHime_Amika`\nand `OK Live2D model Amika`, she has her voice and her body; `OK paper doll Host` is the stand-in for her helpers\n([Her helpers](#her-helpers-hermes-and-nanomuse)).\n\n## Talk to her\n\nDouble-click `Start_OpenAmika.bat` in the OpenAmika folder (in PowerShell: `.\\Start_OpenAmika.bat`). One console\nstarts all of her, and your browser opens **http:\u002F\u002Flocalhost:53000** when she is ready: about a minute, a few more\nthe very first time. On your first visit she introduces herself and asks your name, your city and, if `brain\\.env`\nhas none yet, your OpenRouter key. Then press the power button and talk, or type. Click the page once so the browser\nlets her speak.\n\nThe light at the top right of every page is her health: green means everything works; click it to see what is not.\nDouble-click `Stop_OpenAmika.bat` (or press Ctrl+C in her console) to stop her. To check everything without starting\nanything, run `envs\\brain\\Scripts\\python.exe launch.py --check`: it ends with `result: ready`, or names what to fix.\n\nTo update her: stop her, run `git stash`, `git pull` and `git stash pop` in the OpenAmika folder (this keeps your\nname, your city and your edits), then run the two setup commands again (they fetch only what changed).\n\n## If something goes wrong\n\n| what you see | what to do |\n|---|---|\n| `Python 3.11 was not found` | Install Python 3.11 (tick \"Add python.exe to PATH\"), open a new PowerShell window and run the setup again. |\n| `!! voice MekaHime_Amika  not downloaded: her license was not accepted` | Run `envs\\brain\\Scripts\\python.exe scripts\\setup_tts.py` again and type `yes`. |\n| `!! voice MekaHime_Amika  Hugging Face refused the download (HTTP 401)` | Her files are not public yet, or your `HF_TOKEN` is wrong. Set a read token from [huggingface.co\u002Fsettings\u002Ftokens](https:\u002F\u002Fhuggingface.co\u002Fsettings\u002Ftokens) in the same window (`$env:HF_TOKEN = \"hf_...\"`) and run the command again. |\n| `download failed after 4 tries` or `Check the internet connection` | Run the same command again: it continues where it stopped. If huggingface.co cannot be reached from your network, set `$env:HF_ENDPOINT` to a Hugging Face mirror first; every file is still checked. |\n| `does not see the GPU (CUDA)` | Update your NVIDIA driver and run the setup again. Without an NVIDIA card: `powershell -ExecutionPolicy Bypass -File scripts\\setup_windows.ps1 --cpu`. |\n| `The filename or extension is too long` | The folder's path is too long for Windows: move OpenAmika to a short folder such as `C:\\OpenAmika` and run the setup there. |\n| `settings.json not found` | Run `powershell -ExecutionPolicy Bypass -File scripts\\setup_windows.ps1` first. |\n| `No Live2D model yet` on the stage, or `!! Live2D model` \u002F `!! her voice` in `launch.py --check` | Run `envs\\brain\\Scripts\\python.exe scripts\\setup_tts.py`. |\n| `no OpenRouter key yet` (`launch.py --check`, the setup summary) | Paste your key in the first-run wizard, or after `OPENROUTER_API_KEY=` in `brain\\.env`. |\n| `!! TTS (voice)  port 8002 answers but has no voice MekaHime_Amika` | Another voice server uses her port (OpenSakura's uses 8002 too). Stop it, or give her another port: change `8002` in `tts_url` and in `services.tts` (`--port`, `health`) in `settings.json`. |\n| She answers in text but you hear nothing | Give her voice about 20 seconds after a start, then click the page once. The health light must show TTS green. |\n| Her voice stutters or is very slow | Close other programs that use the graphics card, or turn her eyes off: `\"vision\": {\"enabled\": false}` in `settings.json`. |\n| On Ollama she is out of character, forgets things, or her replies come out broken | The model is too small. Use one of 27B or more (70B or more for the full experience), or go back to OpenRouter: Setup → Brain → OpenRouter → \"Switch back to the OpenRouter preset\". |\n| On Ollama she answers very slowly | If `ollama ps` shows a CPU\u002FGPU split instead of `100% GPU`, the model does not fit in your video memory next to her. With `100% GPU`, slow replies after you interrupt her, or while she saves a memory or reflects, are normal for a local model. See [Which language model?](#which-language-model). |\n| A helper's card on the Tools page is red, or she says she cannot reach Hermes or nanoMuse | Run `envs\\brain\\Scripts\\python.exe launch.py --check` and look at its `agent` and `hermes key` lines; every message and its fix is in [docs\u002FTOOLS.md](docs\u002FTOOLS.md#when-it-does-not-work). |\n\nEvery part writes a log in `logs\\`. For anything else, ask on [Discord](https:\u002F\u002Fdiscord.gg\u002Fmekahime) or open an\n[issue](https:\u002F\u002Fgithub.com\u002Fzeekk0\u002FOpenAmika\u002Fissues). Using an AI coding agent? Point it at\n[README_IF_YOU_ARE_AI_AGENT.md](README_IF_YOU_ARE_AI_AGENT.md).\n\n## Optional add-ons\n\n- **Fully Local**: install [Ollama](https:\u002F\u002Follama.com), run `ollama pull gemma3:27b` (17 GB; or another model of\n  27B or more, see [Which language model?](#which-language-model)), then on the Setup page choose Brain → Ollama →\n  Detect models → Use this model. No key needed. For Ollama on another PC, type its address there before Detect models.\n- **Her helpers**: Hermes Agent or nanoMuse run errands for her, with the paper doll beside her on stage\n  ([below](#her-helpers-hermes-and-nanomuse)). Any other MCP server works too, on the Tools page\n  ([docs\u002FTOOLS.md](docs\u002FTOOLS.md)).\n- **Smart home**: Zigbee plugs she can switch ([IoT\u002FREADME.md](IoT\u002FREADME.md)). It stays off until you read and\n  accept the IoT safety statement ([docs\u002FIOT_DISCLAIMER.md](docs\u002FIOT_DISCLAIMER.md)) on the Tools page. She runs on\n  language models and can make mistakes: never connect heaters, locks, valves or anything that could cause harm.\n- **Text her** on Discord or Telegram ([docs\u002FMESSENGERS.md](docs\u002FMESSENGERS.md)).\n- **Your phone**: `Tailscale_Serve_OpenAmika.bat` makes her reachable on your own devices over\n  [Tailscale](https:\u002F\u002Ftailscale.com).\n\n## Her helpers: Hermes and nanoMuse\n\nShe can hand errands to a helper program on your PC, [Hermes Agent](https:\u002F\u002Fhermes-agent.nousresearch.com) or\n[nanoMuse](https:\u002F\u002Fgithub.com\u002Fnano-muse\u002FnanoMuse): it searches the web, uses a browser and works with files. She\ndecides whether to help, gives the helper the task after she has answered you, relays its questions, and tells you\nthe result in her own words. While a helper is switched on, MekaHime's paper doll stands at the bottom right of her\nstage and plays the helper's side. Each helper runs its own model on OpenRouter, and the key she uses works for it.\n\n**Hermes Agent**: install it from a PowerShell window. This form of its installer asks no questions; the lines\nafter it do the setup OpenAmika needs:\n\n```powershell\n& ([scriptblock]::Create((irm https:\u002F\u002Fhermes-agent.nousresearch.com\u002Finstall.ps1))) -NonInteractive\n```\n\nThen, in a new PowerShell window:\n\n```powershell\nhermes model                                    # choose OpenRouter, paste your key, then \"Enter custom model name\": z-ai\u002Fglm-5\n$key = [guid]::NewGuid().ToString('N')          # a random key for its API server\nhermes config set API_SERVER_ENABLED true\nhermes config set API_SERVER_KEY $key\nhermes gateway stop                             # a Hermes already running reads the key only when it starts again\n```\n\n**nanoMuse**: clone it into the `Nanomuse` folder, give it a `config.toml` and put your key in its own vault; the\ncommands and the file are in [docs\u002FTOOLS.md](docs\u002FTOOLS.md#set-up-nanomuse).\n\n**Connect them.** In the OpenAmika folder, run `Copy-Item config\\tools.example.json config\\tools.json` (only if\nthere is no `config\\tools.json` yet) and `notepad config\\tools.json`. Set `\"enabled\": true` at the top and in the\nhelper's entry. For nanoMuse, `\"NANOMUSE_LANGUAGE\"` is the language it answers in (`\"en\"`; or `\"ja\"`, `\"zh-CN\"`).\nFor Hermes, copy its key with this line and paste it (Ctrl+V) as `\"HERMES_API_KEY\"`:\n\n```powershell\n(Select-String -Path \"$env:LOCALAPPDATA\\hermes\\.env\" -Pattern '^API_SERVER_KEY=(.+)').Matches[0].Groups[1].Value | Set-Clipboard\n```\n\nSave and start her (`.\\Start_OpenAmika.bat`): she starts her helpers herself. On the Tools page the helper's card\nturns green (`agent online`).\n\n**Meet the paper doll.** Open the Use page: the doll slides onto her stage. Ask her, for example, \"Can you have\nHermes check tomorrow's weather?\". She answers, types the task in her speech bubble, and the doll takes over: it\nthinks while the helper works, speaks the helper's steps in its own bubble, looks surprised when the helper has a\nquestion or needs your OK (say yes or no, or click Approve on the Use page), and is happy when the result comes,\nwhich she then tells you. The doll comes with `setup_tts.py` (`OK paper doll Host` in its summary).\n\nEvery step in detail, and what each message means: [docs\u002FTOOLS.md](docs\u002FTOOLS.md#her-helpers-set-up-hermes-agent-and-nanomuse).\n\n## Licenses\n\n- OpenAmika's code is **MIT** ([LICENSE](LICENSE)). Third-party parts keep their own licenses\n  ([THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)); the Live2D Cubism Core in `ui\u002Fvendor\u002F` is not MIT.\n- **Amika herself is not MIT.** Her character, art, voice, Live2D model and their weights, and the paper doll that\n  stands in for her helpers ([MekaHime\u002FMekaHime_Amika](https:\u002F\u002Fhuggingface.co\u002FMekaHime\u002FMekaHime_Amika)), belong to\n  MekaHime Inc. and are free under a personal-use license: personal use only, 18+, no redistribution or re-hosting,\n  and no training other models on them. Two creator rules: earn on social media (videos, streams, ads, memberships,\n  sponsorships) with no limit, crediting MekaHime.AI visibly; and fan merch up to US$1,000 in total, as an\n  individual, made from fan art you recreated yourself (never an original image MekaHime published on its website\n  or social media), with \"MekaHime.AI\" on the visible side and a small \"Fan Art\" label. Any other commercial use needs a\n  license from MekaHime (hi@mekahime.com). The [LICENSE](https:\u002F\u002Fhuggingface.co\u002FMekaHime\u002FMekaHime_Amika\u002Fblob\u002Fmain\u002FLICENSE)\n  on Hugging Face governs.\n- Hermes Agent (MIT) and nanoMuse (GPL-3.0-or-later) are separate programs you install yourself; OpenAmika only\n  talks to them.\n- Built on [SenseVoice](https:\u002F\u002Fgithub.com\u002FFunAudioLLM\u002FSenseVoice), [GPT-SoVITS](https:\u002F\u002Fgithub.com\u002FRVC-Boss\u002FGPT-SoVITS),\n  [bge-m3](https:\u002F\u002Fhuggingface.co\u002FBAAI\u002Fbge-m3), [Qwen3-VL](https:\u002F\u002Fgithub.com\u002FQwenLM\u002FQwen3-VL),\n  [pixi-live2d-display](https:\u002F\u002Fgithub.com\u002Fguansss\u002Fpixi-live2d-display) with the\n  [Live2D Cubism SDK](https:\u002F\u002Fwww.live2d.com\u002Fen\u002Fsdk\u002Fabout\u002F), [OpenRouter](https:\u002F\u002Fopenrouter.ai),\n  [Ollama](https:\u002F\u002Follama.com) and the [Model Context Protocol](https:\u002F\u002Fmodelcontextprotocol.io). Thank you.\n\n## Support\n\nQuestions and bugs: [GitHub issues](https:\u002F\u002Fgithub.com\u002Fzeekk0\u002FOpenAmika\u002Fissues), hi@mekahime.com, or\n[Discord](https:\u002F\u002Fdiscord.gg\u002Fmekahime). Support the project: https:\u002F\u002Fwww.mekahime.com\u002Fdonate\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fwww.mekahime.com\">\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fimages\u002Fmekahime-logo-white.png\">\n      \u003Cimg src=\"docs\u002Fimages\u002Fmekahime-logo-card.png\" alt=\"MekaHime\" width=\"220\">\n    \u003C\u002Fpicture>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n","OpenAmika 是一个开源的本地化 AI 虚拟伴侣应用，以 Live2D 动漫形象呈现，支持实时语音交互、文本对话与长期记忆能力。核心功能包括本地语音识别（ASR）与语音合成（TTS）、基于 OpenRouter 或完全离线的 Ollama 大模型推理、以及持久化用户记忆存储。技术上采用 Python 实现，依赖 NVIDIA GPU 加速渲染与推理，适配 Windows 平台。适用于个人桌面场景下的陪伴式人机交互，如日常闲聊、情感支持、个性化助手等轻量级长期陪伴需求。",2,"2026-11-24 04:35:03","CREATED_QUERY"]