安装包图标

Knotwork: build your agent

An AI agent that runs on your phone and asks before it acts
新版本 0.12.1
Faster runs and fixes.

Runs no longer pause between steps: a chat message on the first-launch pipeline skips 3.5 s of waiting.

An MCP server saved with a sign-in connects on the Tools screen right away, and saving it unchanged no longer leaves it on Connecting.

A Keystore hiccup no longer deletes a saved API key. A resumed queue no longer mixes up its items after a failure. A Wikipedia result names the article it comes from.
Knotwork is an AI agent that runs its model on the phone. Instead of a prompt box wired to somebody's API, every conversation runs through a pipeline you can open and edit: a graph of typed nodes - input, on-device LLM, optional cloud LLM, tool call, routing, decomposition, evaluation, clarification, output. When a step wants to do something destructive or sensitive, it stops and asks you first - including in the background, where the confirmation arrives as a notification.

WHAT IT DOES

- Runs on your device. On-device inference through LiteRT-LM, with optional GPU acceleration; CPU-only works, just slower. Cloud providers (OpenAI, Anthropic, Google Gemini, DeepSeek, Ollama) are optional, opt-in and bring-your-own-key.
- You build the behaviour. A drag-and-drop editor with pan and pinch-zoom, snap-to-grid, auto-layout, inline validation and a run-trace overlay, across 14 node types. Prompt variables such as $DATE, $TIME, $TOOLS, $MODEL and $MEMORY_SUMMARY render fresh on every run.
- Tools, gated by you. Local actions through AppFunctions and external servers through the Model Context Protocol (MCP). Every sensitive or destructive call stops for explicit confirmation, enforced where the tool executes, not merely suggested to the model.
- Reaches you from outside the app. A share target, launcher shortcuts and a Quick Settings tile run your chosen pipeline over shared text or images. Triggers (time, charging, Wi-Fi, network) fire a pipeline on their own and report back. Every entry surface stays inert until you bind a pipeline to it.
- Remembers what matters. Long-term memory with semantic retrieval over past conversations, automatic fact extraction, search and export.

WHO IT IS FOR

It is for the person who already runs Tasker, Obsidian, Home Assistant or a local model on their own hardware, and who wants to know exactly what their agent does with their data.

It is deliberately not a mass-market "ask a question, get an answer" assistant - Gemini is free and built into the OS, and competing there is a losing bet.

PRIVACY

There is no account, no sign-in and no server of mine. Inference runs on the phone, so a normal conversation never leaves it. Data goes out only along paths the privacy policy lists, each off until you switch it on - except the built-in Wikipedia lookup, on by default. Usage statistics stay on the device and are never transmitted; a build-time check fails the build if any network dependency reaches that code. The database - chats, memory, run traces - is SQLCipher-encrypted, and API keys are sealed under an Android Keystore key. Crash reporting is opt-in, off by default, and absent entirely from the FOSS build.

KNOWN LIMITATIONS

This is a pre-release. The public surface, the settings layout and the on-device storage formats can still change between versions.

- Android 14+ and about 2 GB of free RAM - the memory is the real constraint.
- Shared pipeline files are not a compatibility contract yet: exports carry a version stamp, but before 1.0 that stamp is a marker, not a promise. Keep the original.
- The reliability numbers come from one device and one operator: a scheduled pipeline ran 7.14 days without the app being opened and completed 55 of 55 firings with no unexplained misses. That is a real measurement, and it is not external validation.
- Background runs need the battery setting on Unrestricted. Without it Android reclaims the process in about ten seconds - the platform's rule, not a bug, but until you grant it background pipelines will not run.
- Cloud failure behaviour differs by provider: detection of a stream that dies mid-answer is enabled only where it was measured.
- Other apps' AppFunctions are out of reach - Android keeps the permission to call one for system apps. The local catalogue is what ships, plus whatever you connect over MCP.
- One maintainer, no company behind it.

Open source under the Apache License 2.0; source, documentation and an FAQ are on the developer website.

版本

尽管下面提供了 APK 安装包的下载选项,但你应该注意,以这种方式安装将不会收到更新通知,这是一种不太安全的下载方式。 我们建议你安装使用 F-Droid 客户端。

下载 F-Droid
  • 版本 0.12.1 (18) 推荐 更新于 2026-10-27

    arm64-v8a

    该版本需要 Android 14 及以上版本。

    此包由原始开发者构建并签名,并保证对应于此源代码 tarball。

    权限
    • 只有在前台运行时才能获取大致位置信息
      此应用可以在使用时从定位服务获取你的大致位置。必须打开你的设备的定位服务,应用才能获取位置。
    • 只能在前台获取精确的位置信息
      此应用可以在使用时从定位服务获取你的精确位置。必须打开你的设备的定位服务,应用才能获取位置。这可能会增加耗电量。
    • 查看网络连接
      允许此应用查看网络连接的相关信息,例如哪些网络存在并处于连接状态。
    • android.permission.EXECUTE_APP_FUNCTIONS
    • 运行前台服务
      允许此应用使用前台服务。
    • 运行“dataSync”类型的前台服务
      允许该应用使用“dataSync”类型的前台服务
    • 运行“specialUse”类型的前台服务
      允许该应用使用“specialUse”类型的前台服务
    • 拥有完全的网络访问权限
      允许此应用创建网络套接字和使用自定义网络协议。浏览器和其他应用提供了将数据发送到互联网的方法,因此不需要此权限将数据发送到互联网。
    • 显示通知
      允许该应用显示通知
    • 开机启动
      允许此应用在系统完成引导后立即启动。这样可能会延长开机时间,并因始终运行而降低手机总体运行速度。
    • 录音
      当你使用此应用时,它可以使用麦克风录音。
    • 防止手机休眠
      允许此应用阻止手机进入休眠状态。
    • app.knotwork.android.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    下载 APK 61 MiB PGP 签名 | 构建日志

  • 新版本 0.12.0
    Back up what you made (chats, memory, pipelines, settings and files) into one file locked with your password, and restore it on this phone or a new one.

    New providers: OpenRouter, Groq and any server that speaks the OpenAI API. Test a connection before you use it. Cloud model lists are current.

    A downloaded model is checked against the hash Hugging Face publishes. Every run records its seed and can be verified. Memory takes corrections.
  • 版本 0.12.0 (17) - 更新于 2026-10-22

    arm64-v8a

    该版本需要 Android 14 及以上版本。

    此包由原始开发者构建并签名,并保证对应于此源代码 tarball。

    权限
    • 只有在前台运行时才能获取大致位置信息
      此应用可以在使用时从定位服务获取你的大致位置。必须打开你的设备的定位服务,应用才能获取位置。
    • 只能在前台获取精确的位置信息
      此应用可以在使用时从定位服务获取你的精确位置。必须打开你的设备的定位服务,应用才能获取位置。这可能会增加耗电量。
    • 查看网络连接
      允许此应用查看网络连接的相关信息,例如哪些网络存在并处于连接状态。
    • android.permission.EXECUTE_APP_FUNCTIONS
    • 运行前台服务
      允许此应用使用前台服务。
    • 运行“dataSync”类型的前台服务
      允许该应用使用“dataSync”类型的前台服务
    • 运行“specialUse”类型的前台服务
      允许该应用使用“specialUse”类型的前台服务
    • 拥有完全的网络访问权限
      允许此应用创建网络套接字和使用自定义网络协议。浏览器和其他应用提供了将数据发送到互联网的方法,因此不需要此权限将数据发送到互联网。
    • 显示通知
      允许该应用显示通知
    • 开机启动
      允许此应用在系统完成引导后立即启动。这样可能会延长开机时间,并因始终运行而降低手机总体运行速度。
    • 录音
      当你使用此应用时,它可以使用麦克风录音。
    • 防止手机休眠
      允许此应用阻止手机进入休眠状态。
    • app.knotwork.android.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

    下载 APK 61 MiB PGP 签名 | 构建日志