Technical feasibility review for AIFileOrganizer, a local Mac file organization app

Hi Anna developer team,

Kate suggested I share a short overview of AIFileOrganizer to understand whether it could be adapted into an Anna App.

AIFileOrganizer is a local macOS console application built with .NET. It uses Ollama with the qwen3:4b model to classify files into categories. The user can scan files, preview proposed organization changes, organize files, review potential duplicates, and undo the last organization operation.

The current workflow runs on the user’s Mac. It examines file information, proposes categories and moves, and lets the user review changes before choosing to organize. For an Anna version, I would want file access to be limited to folders the user explicitly authorizes. I would also want to understand what file information, if any, would leave the device.

Could you advise on the following before I start adapting the application?

  1. Can an Anna App run or package a .NET component through the Local Agent?

  2. Can it use a locally running Ollama model, or would it need to use an Anna-supported model?

  3. How can the user grant access to specific Mac folders for scanning and approved file moves?

  4. Can file classification and file contents remain on the user’s Mac? What data would Anna receive or store?

  5. Are user-approved file moves and an undo operation supported under Anna’s app permissions and review process?

  6. Would successful runs through the Local Agent count as Qualified App Runs for the Founding Builder Program?

I’m looking for the recommended Anna architecture and any limitations I should account for before building a version for the platform.

Thank you,
Nikhil

Hi Nikhil! :waving_hand:

Thanks for the detailed write-up — AIFileOrganizer sounds like a genuinely useful app, and the good news is it’s a great fit for the Anna platform. Your existing design (scan → preview → user-approved apply → undo) is exactly the interaction pattern we love to see. Let me walk through your questions one by one. :rocket:

Recommended architecture at a glance

An Anna App has two halves:

  • App UI — a web bundle (HTML/JS) that runs in the Anna dashboard. This is where your scan/preview/approve/undo screens live.
  • Executa — a native process launched by the user’s Local Agent on their Mac. This is where your .NET logic lives. The UI talks to it via tools.invoke.

So the mapping is: your current console app becomes the executa (with its commands exposed as tools like scan, preview_plan, apply_moves, undo_last), and you add a lightweight web UI on top. :sparkles:

Your questions

1. Can an Anna App run a .NET component through the Local Agent? :white_check_mark:

Yes! Executas are language-agnostic. The Agent launches your binary and speaks a small JSON-RPC protocol over stdio (initialize, describe, tools/call). We ship SDKs for Python and TypeScript, but the protocol is simple enough to implement directly in C# — a thin JSON-RPC-over-stdio loop.

For distribution, publish a self-contained single-file build per platform:

dotnet publish -r osx-arm64 --self-contained -p:PublishSingleFile=true
dotnet publish -r osx-x64   --self-contained -p:PublishSingleFile=true

Package each as a .tar.gz with the executable as the entrypoint, attach them to a GitHub Release, and reference the URLs in your executa’s distribution config (type: "binary", keyed by darwin-arm64 / darwin-x86_64). When you cut a version, Anna mirrors and content-pins the binaries — you don’t upload bytes anywhere special. The anna-executa-examples repo has a working GitHub Actions workflow you can crib from. :blush:

2. Can it use a locally running Ollama model? :white_check_mark:

Yes. Your executa runs as a local process on the user’s Mac, so calling Ollama at http://localhost:11434 works exactly as it does today — no changes needed. Two friendly recommendations:

  • Detect whether Ollama (and qwen3:4b) is available at startup and surface a clear setup hint in your UI if not.
  • Optionally offer Anna-hosted models as a fallback via the sampling API (llm.sample host capability) for users without Ollama — but make it opt-in, since that sends classification prompts off-device. Your “local by default” story is a selling point; keep it! :locked:

3. How does the user grant access to specific folders?

Two layers work together here:

  • Anna layer: your app manifest declares its capabilities, and the user sees a consent screen before first use. Within the app, implement an explicit folder allowlist: the user adds folders they want organized, you persist that list, and your executa validates every path against the allowed roots before any read or move (resolve symlinks first, then check containment). Never operate outside the allowlist.
  • macOS layer: standard TCC applies. Since your executa is a child of the Local Agent, the first access to protected locations (Desktop/Documents/Downloads) triggers the macOS permission prompt for the Agent — worth mentioning in your onboarding.

4. Can classification and file contents stay on the Mac? :white_check_mark: (with one design rule)

Yes — if you follow one rule: do all classification inside the executa and only return metadata (paths, proposed categories, plan diffs) in tool responses. File contents read for classification never need to leave the process.

To be transparent about what does transit Anna: tool-call requests/responses between your UI and the executa are routed through the platform, plus standard run metadata. So whatever you put in a tool response is what Anna sees — keep it to organization plans and summaries, and your users’ file contents stay on their Mac. (Practical tip: tool responses are capped around 32KB, so paginate large scan results anyway. :page_facing_up:)

5. Are user-approved moves and undo supported? :white_check_mark: Encouraged, even!

Absolutely. Model it as separate tools — e.g. preview_plan (read-only) and apply_moves (only called after the user clicks Approve in your UI) — plus an undo_last backed by a local move journal. This preview-then-confirm pattern with a reversible escape hatch is exactly what our review process likes to see for apps that modify user files. Just make sure your manifest and store listing honestly describe the file operations, and you’ll sail through. :sailboat:

6. Do Local Agent runs count for the Founding Builder Program?

App runs executed through the Local Agent are first-class runs — there’s no penalty for being local-first. For the precise qualification criteria of the program itself, please check the program announcement or ping the team (Kate can connect you) so you get the authoritative rules rather than my paraphrase. :raising_hands:

Suggested build order

  1. Scaffold with the anna-app CLI and iterate with anna-app dev (the local harness runs your executa straight from your project dir — fast feedback loop :repeat_button:).
  2. Port your console commands to executa tools; keep the classification + Ollama calls inside.
  3. Build the preview/approve UI on top.
  4. Wire up the GitHub Release binary workflow, push → test → cut a version → submit for review.

This is a lovely use case — local-first, privacy-respecting, with real utility. We’d be excited to see it in the store. If you hit anything odd while porting the .NET side (especially around the stdio protocol), post here and we’ll help you debug. Happy building! :blue_heart:

— Anna Developer Team

The .NET executa with JSON-RPC over stdio is the part I’d want to confirm hands-on. My situation is a small 2019 Intel MacBook used for freelance photo work, so I’d ship both osx-arm64 and osx-x64 binaries; the signing and notarization step is where I’d expect friction, since self-contained single-file builds still need to pass Gatekeeper. I’d also be unsure how folder authorization is expressed in the executa config, because moving files outside a clearly granted scope is exactly where I’d risk failing review. Before committing I’d compare how similar local-first tools structure permissions; I found Best Rork Alternatives (2026) while looking into that. Has anyone here shipped a signed binary executa end to end?