{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "opensparx-masteragent--try-offline-agent-runtime-demo",
 "repo": "OpenSparX/MasterAgent",
 "repo_url": "https://github.com/OpenSparX/MasterAgent",
 "repo_slug": "opensparx-masteragent",
 "title": "Run the offline agent demo in under an hour",
 "page_title": "How to run the offline agent demo in under an hour with Master Agent",
 "summary": "Build the sparx CLI and watch a simulated AC command route through deterministic skills.",
 "who": "A developer or evaluator who wants to see how a local agent runtime handles a command with no model, network or hardware.",
 "problem": "Most agent demos need API keys, a cloud model or real devices before anything runs, which makes a quick evaluation slow.",
 "outcome": "A built sparx binary and JSON output from a demo that sets and reads back a simulated AC temperature, plus a passing test run.",
 "steps": [
  "Clone the repo with `git clone https://github.com/OpenSparX/MasterAgent.git` and enter the folder with `cd MasterAgent`.",
  "Configure and build with `cmake -S . -B build -DCMAKE_BUILD_TYPE=Release` and `cmake --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."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The demo state is in memory and resets each process, and the README makes no latency or NPU performance claim for this build.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "c++",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/opensparx-masteragent/try-offline-agent-runtime-demo/",
 "md": "https://dedupedai.com/use-cases/opensparx-masteragent/try-offline-agent-runtime-demo/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/opensparx-masteragent--try-offline-agent-runtime-demo.json",
 "api_version": "v1"
}
