Hi Nikhil! 
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. 
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. 
Your questions
1. Can an Anna App run a .NET component through the Local Agent? 
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. 
2. Can it use a locally running Ollama model? 
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! 
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?
(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.
)
5. Are user-approved moves and undo supported?
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. 
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. 
Suggested build order
- 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
).
- Port your console commands to executa tools; keep the classification + Ollama calls inside.
- Build the preview/approve UI on top.
- 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! 
— Anna Developer Team