Who it is forA developer or evaluator who wants to see how a local agent runtime handles a command with no model, network or hardware.
The problemMost agent demos need API keys, a cloud model or real devices before anything runs, which makes a quick evaluation slow.
The outcomeA built sparx binary and JSON output from a demo that sets and reads back a simulated AC temperature, plus a passing test run.
What you need first
- CMake 3.18+ and a C++17 compiler on Linux or macOS
- Python 3 for tests and packaging
- libcurl development files only if you want the HTTP model adapter
- SQLite development files only if you want durable storage
Steps
- Clone the repo with
git clone https://github.com/OpenSparX/MasterAgent.gitand enter the folder withcd MasterAgent. - Configure and build with
cmake -S . -B build -DCMAKE_BUILD_TYPE=Releaseandcmake --build build --parallel 4. - Run the tests with
ctest --test-dir build --output-on-failure. - Run the demo with
./build/cli/sparx demo automotive. - Try a phrase with
./build/cli/sparx run --input '把空调调到22度'and an unmatched one to confirm NO_ROUTE.
Prompt for your agent
Using the repo OpenSparX/MasterAgent, build it with CMake Release, run ctest, then run `./build/cli/sparx demo automotive`. Report the JSON output and whether all tests passed. Verify that the simulated AC state is read back from the same run.
Caveat. The demo state is in memory and resets each process, and the README makes no latency or NPU performance claim for this build.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for OpenSparX/MasterAgent and "Run the offline agent demo in under an hour"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer