经 AI Skill Hub 精选评估,边缘计算AI 获评「强烈推荐」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
边缘计算AI 是一款基于 Kotlin 开发的开源工具,专注于 ai、android、chatbot 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
边缘计算AI 是一款基于 Kotlin 开发的开源工具,专注于 ai、android、chatbot 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/mewmix/nabu cd nabu # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 nabu --help # 基本运行 nabu [options] <input> # 详细使用说明请查阅文档 # https://github.com/mewmix/nabu
# nabu 配置说明 # 查看配置选项 nabu --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export NABU_CONFIG="/path/to/config.yml"
Nabu is an on-device test bench for TTS and chat: - ONNX Runtime (NNAPI/CPU) TTS with Kokoro-82M v1.0, Supertonic v3, Supertonic v2, and Soprano 1.1 (80M) via soprano-onnx - On-device LLM chat with LiteRT .task models (MediaPipe runtime) and experimental .gguf support via llama.cpp - E-reader and long-form playback workflows
./gradlew :app:assembleDebug
./gradlew :app:installDebug
To test the API locally from your host machine over USB/WiFi:
adb forward tcp:8455 tcp:8455
#### Health Check
curl http://127.0.0.1:8455/health
#### List Available LLMs (OpenAI Format)
curl "http://127.0.0.1:8455/v1/models?type=llm"
#### Generate TTS WAV to File
curl -s -X POST "http://127.0.0.1:8455/v1/audio/speech" \
-H "Content-Type: application/json" \
-d '{"input":"Welcome to Nabu on device AI","engine":"kokoro","response_format":"wav"}' \
--output test_speech.wav
#### Simple OpenAI Chat Completion
curl -X POST "http://127.0.0.1:8455/v1/chat/completions" \
-H "Content-Type: application/json" \
-d '{
"model":"gemma3-1b-it-q4",
"messages":[{"role":"user","content":"Name three fast animals."}],
"stream":false
}'
#### Stream OpenAI Chat Completion
curl -N -X POST "http://127.0.0.1:8455/v1/chat/completions" \
-H "Content-Type: application/json" \
-d '{
"model":"gemma3-1b-it-q4",
"messages":[{"role":"user","content":"Say hello in five words."}],
"stream":true
}'
#### Send OpenCode Tool Call Request
curl -X POST "http://127.0.0.1:8455/v1/chat/completions" \
-H "Content-Type: application/json" \
-d '{
"model": "gemma3-1b-it-q4",
"messages": [
{ "role": "user", "content": "What is 55 times 12?" }
],
"tools": [
{
"type": "function",
"function": {
"name": "multiply",
"description": "Multiply two numbers",
"parameters": {
"type": "object",
"properties": {
"a": { "type": "number" },
"b": { "type": "number" }
}
}
}
}
],
"stream": false
}'
<p align="center"> <img src="https://github.com/user-attachments/assets/fa7e8816-41f4-48eb-83c3-29aac0f98251" alt="Mixer" loading="lazy" /> <img src="https://github.com/user-attachments/assets/882237cc-1c0f-40d7-bdb0-2a528846ae32" alt="Conversation Settings" loading="lazy" /> <img src="https://github.com/user-attachments/assets/a34eda22-09a9-4d29-9e26-9ab9208eb3eb" alt="Settings" loading="lazy" /> <img src="https://github.com/user-attachments/assets/da19d300-2a05-4f2b-9b49-0cc0547aa79f" alt="Basic Screen" loading="lazy" /> </p>
Nabu includes an opt-in local REST API server for on-device inference, exposing both text-to-speech and an OpenAI-compatible /v1/chat/completions endpoint.
127.0.0.1:84550.0.0.0:8455 (enable in Settings)Enable it from Settings: - Enable API Server - Expose API on LAN (optional)
TTS workbench: switch engines (kokoro, supertonic, soprano) and compare runtime behavior on-device.LLM workbench: run local chat models from managed LiteRT .task downloads or imported .gguf files.Book workflow: open documents, edit text, save projects/bookmarks, and pre-generate per-line WAV audio for offline playback.Chat + TTS loop: generate responses with local LLMs and speak them through the active TTS engine.| Type | Format(s) | Used for |
|---|---|---|
| Book input | .epub (application/epub+zip) | Full book/document ingestion |
| Book input | .pdf (application/pdf) | Page text extraction and playback |
| Book input | .txt, text/* | Plain text ingestion and playback |
| Edited book output | .epub | Save edited copy from the in-app editor |
| Pre-generated audio cache | .wav | Per-line cache in files/pregenerated/... |
| User audio export | .wav | Saved audio clips to Android Music/ |
Unknown/other file types fall back to plain text extraction.
Endpoint paths for checking loaded/downloaded resources: - GET /models (Returns Nabu internal format) - GET /v1/models (Returns standard OpenAI model list JSON footprint) - GET /tts/models - GET /v1/tts/models
Query by type: ?type=llm|tts|all
高质量的开源AI工具,支持多引擎TTS和LLM边缘计算
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
⚠️ GPL 3.0 — 强 Copyleft,衍生作品须开源,含专利保护条款,不可闭源使用。
AI Skill Hub 点评:边缘计算AI 的核心功能完整,质量优秀。对于AI 技术爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | nabu |
| Topics | aiandroidchatbotkotlin |
| GitHub | https://github.com/mewmix/nabu |
| License | GPL-3.0 |
| 语言 | Kotlin |
收录时间:2026-06-18 · 更新时间:2026-06-18 · License:GPL-3.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。