Skip to main content
Every App Is Open Source: give your AI agent a compiled app, it tells you how it works

PyPI CI Python 3.13 macOS Apple Silicon License: Apache-2.0 Every App Is Open Source MCP server – quality and maintenance score on Glama

Every App Is Open Source

Give your AI agent a compiled program, and it works out how it's built. Ghidra does the decompiling. This is the agent's side of it: a small set of MCP tools, short answers by default, and evidence you can trace back to the binary.

The name is a provocation, not a license. Seeing how an app works doesn't give you the right to copy it. Read the disclaimer.

What it looks like

An agent connected only to EAOS was given a small compiled program and asked what quote(6) returns. These are its actual tool calls:

Tool call What came back
search {"kind":"functions","pattern":"quote"} _quote at 0x100000460
inspect {"addresses":["100000460"],"mode":"all"} Assembly and decompiled code, saved as evidence fe8589bb…
read_evidence {"id":"fe8589bb…"} The saved evidence, hash-checked

Its answer: 45. Below 4 the function returns 19, otherwise 7*n + 3, citing the address and the evidence ID.

This is one recorded session on version 0.1.1 with an already-analyzed cache, not a benchmark. The full transcript has every call and its limits.

How it compares

I've compared it with REA and GhidraMCP on three modified programs, with the same model and questions for each tool. The results depend on the target, and EAOS doesn't win every time:

Target EAOS version vs GhidraMCP vs REA
Modified Doom 0.1.0 16% cheaper, 17% faster; all 18/18 correct 36% cheaper, 27% faster; all 18/18 correct
Modified Ollama 0.1.4 28% more expensive, 23% slower; GhidraMCP missed 3 of 195 cases 14% cheaper, 17% faster; both 195/195
Modified Ollama, round 2 0.1.5 6% cheaper, similar time 25% cheaper, similar time

Costs are API-equivalent model costs; timings exclude initial analysis. Each row is three runs per tool, so these are descriptive results, not a general ranking. In round 2 the other tools' missed cases were mostly header order and incomplete error text, not wrong behavior. The modified programs and answer keys are private so the tests can't be spoiled. That means you can read every run summary, scoring review and protocol, but you can't replay these exact comparisons yourself. Every number, loss and limitation is in BENCHMARKS.md.

Get your first result

You need an Apple Silicon Mac, uv and Apple's Command Line Tools (xcode-select --install). Windows, Linux and Intel Macs aren't supported yet.

1. Install. This downloads checksum-pinned Java and Ghidra (about 770 MB) and builds Ghidra's Apple Silicon decompiler, which the official download doesn't include:

uvx --python 3.13 --from every-app-is-open-source==0.1.8 eaos setup

Everything goes into ~/Library/Application Support/Every App Is Open Source/. It doesn't touch your shell profile, your system Java or your agent's settings. Versions, sizes, troubleshooting and uninstall are in SETUP.md.

2. Build a tiny test program and analyze it:

mkdir -p /tmp/eaos-example
cat > /tmp/eaos-example/example.c <<'C'
#include <stdio.h>
__attribute__((noinline)) int quote(int n) { return n < 4 ? 19 : n * 7 + 3; }
int main(int argc, char **argv) { puts("eaos fixture anchor"); return quote(argc); }
C
clang -O0 /tmp/eaos-example/example.c -o /tmp/eaos-example/example
uvx --python 3.13 --from every-app-is-open-source==0.1.8 eaos call /tmp/eaos-example/example open_program

You should see classification: computed, an ARM64 language, a SHA-256 and an evidence ID.

3. Connect your agent. For Claude Code:

claude mcp add --transport stdio --scope local eaos -- uvx --python 3.13 --from every-app-is-open-source==0.1.8 eaos mcp /tmp/eaos-example/example

Codex and other MCP clients are in CLIENTS.md.

4. Ask:

Find the quote function. What does quote(6) return? Explain both branches and cite the function address and saved evidence.

The correct answer is 45. This checks that your setup works; it doesn't prove the agent will understand any app. Addresses depend on the compiler, so yours will differ from the example above.

For a real program, use the same eaos mcp /absolute/path/to/program command. To analyze a Mac app, copy its executable out of the app bundle first. For big programs, run eaos call ... open_program in the terminal and let the first analysis finish before you connect your agent.

The tools

I counted every tool call agents made across 24 earlier test runs and built only what they actually used.

Tool What it does
open_program What the program is: architecture, memory layout, analysis status
search Find text inside the program and where it's used, or find functions
inspect Decompiled code, raw instructions, callers and callees
read_memory Read static memory or Go string tables, with provenance
calculate Safe arithmetic and byte decoding, so the agent doesn't do math in its head
decode_swift_string Recover text hidden inside Swift code on Apple platforms
read_evidence Pull up the full saved evidence behind any reply, hash-checked

The exact inputs, outputs and limits of each one are in the tool contract.

Every tool result says what it is

Each tool result is labelled:

  • fact: read straight from the binary
  • computed: worked out from it, like decompiled code or a decoded string
  • guess: an inference that hasn't been verified

Decompiled code is computed, not the original source. Successful analysis results include saved evidence you can pull up with read_evidence. Status responses and errors don't include evidence IDs; a tool failure makes no analysis claim.

These labels describe the tool results, not your agent's final answer. An agent can still misread correctly labelled evidence. The labels and evidence IDs let you check a conclusion; they don't certify it.

Analyze once, reuse it

Ghidra's analysis is slow, so each program gets its own eaos-analysis/<sha256>/ folder right next to it, with the analyzed project and every piece of evidence. Opening the same program again reuses all of it. Projects made before 0.1.7 are kept but not reused: 0.1.7 analyzes the program again in its new cache format.

Each session works on a read-only copy of the exact bytes it hashed, so changing the original file doesn't affect a session that's already open. If a cached project doesn't match the program's hash, it stops instead of guessing, and it never deletes old evidence.

One Ghidra quirk: it won't create projects inside a folder whose name starts with a dot, like .cache. Keep the program you're analyzing out of those.

Analysis options

Full analysis is the default. The CLI and MCP server accept --analysis-mode quick for partial metadata and requested-function preparation, and --architecture arm64 for an explicit Mach-O slice. Quick function search offers explicit bounded index continuation, separately from view-bound result pagination. Quick mode is limited to 64-bit ARM/x86 Mach-O; it does not recover every Swift name or prove missing references are absent. No new speed or accuracy comparison has been run.

On Apple Silicon, compatible universal inputs select ARM64 automatically. Each captured whole-file hash retains separate architecture/profile/engine caches under profiles/, with shared immutable evidence. Legacy projects are preserved; the new cache format does not reuse them. Status remains available during native operations, with configurable deadlines and cancellation. See setup and the tool contract before using these options.

How the benchmarks are run

The summary is above; the details live in BENCHMARKS.md, one row per target, each linked to its run summaries and scoring.

The rules stay the same every time:

  • Same model, fresh sessions, three runs per tool.
  • Questions and answer key frozen before the first run. Where a model might know the answers by heart, I secretly change them and rebuild the program first.
  • Same head start. Every tool begins with the program already analyzed, outside the timer.
  • REA runs the way people actually install it, with its bundled skill and its full tool catalog.
  • Everything is kept, including rounds I lost.

The private targets and answer keys mean you can't replay my exact comparisons. You can run the same method on your own target with the benchmark guide.

What's next

Right now it handles compiled programs on Apple Silicon Macs. I'd like it to inspect more kinds of software, but there's no fixed order or schedule: new support follows a demonstrated need and reproducible tests, and each one gets its own benchmark before I claim anything.

Security

The tools only expose the program you selected and its evidence. There's no general file-reading or shell tool. The Python and Java processes aren't sandboxed by the OS, though: they run with your user's permissions, and text recovered from a binary is untrusted. Read the security model before you analyze anything you don't trust.

Found a vulnerability? Report it privately, not in a public issue.

Development

uv build
PYTHONPATH=src uv run --no-project --python 3.13 python -m unittest discover -s tests -v
python3 scripts/check_distribution.py dist

What gets tested where:

Check Where it runs
Unit, failure-case and packaging tests CI on Ubuntu, every push
Installed-wheel CLI smoke test CI on Ubuntu, every push
Native checks with real Ghidra on Apple Silicon (10 tests) Locally on a configured Mac before each release; skipped in CI

The green CI badge covers the first two rows only. To run the native checks after eaos setup or ./install.sh:

EAOS_NATIVE_TESTS=1 uv run python -m unittest discover -s tests -v

To work from a checkout instead of PyPI, ./install.sh sets up everything locally, then ./eaos mcp /absolute/path/to/program starts the server.

Contributing

This is my project, and I build it myself. Bug reports and ideas are very welcome through issues. I don't accept outside code. If you want to take it somewhere else, fork it; that's what the license is for. More in CONTRIBUTING.md.

License and credits

Apache-2.0. If you build on it, keep the NOTICE file. What's changed in each release is in the changelog.

Ghidra and PyGhidra do the heavy lifting; they're the work of their own contributors. The comparison baseline is LaurieWired's GhidraMCP. The programs I benchmark on, and their licenses, are credited in BENCHMARKS.md.


Made by thomasisalwayslate. I make apps, games and small tools, usually something I want to use myself. More on my site, including the write-ups behind the benchmarks.

If this saved you some digging, a ⭐ helps other people find it.

Metadata

Release files for every-app-is-open-source 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for every-app-is-open-source 0.1.8
File Size Uploaded Provenance Actions
every_app_is_open_source-0.1.8.tar.gz 100.4 kB Without provenance Details for every_app_is_open_source-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for every-app-is-open-source 0.1.8
File Interpreter ABI Platform Actions
every_app_is_open_source-0.1.8-py3-none-any.whl Python 3 none any Details for every_app_is_open_source-0.1.8-py3-none-any.whl

Total release size: 171.6 kB

Release files / every_app_is_open_source-0.1.8.tar.gz

Download URL every_app_is_open_source-0.1.8.tar.gz
Size 100.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8d1cd3ba12d864cad1a382bf29697b2f6f6c2f4954f540dfa77e077ef9a13612
BLAKE2b-256 checksum
How to use checksums
898d611e3f8167ca47abe08b3782e2d382a0740e7b01f00419c97b443ff532c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / every_app_is_open_source-0.1.8-py3-none-any.whl

Download URL every_app_is_open_source-0.1.8-py3-none-any.whl
Size 71.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a7b29a1a8ec47c2dc6e1ea2eaf0c900417f0726f1ad67a0fd4afd0d10cf8d6e
BLAKE2b-256 checksum
How to use checksums
3e8da2054e9617920e4f3d00ed03ebd590290265cb883649a6da2908d67a561c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for every-app-is-open-source 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page