What do you want to do?
5 use cases
-
Run the offline agent demo in under an hour
Build the sparx CLI and watch a simulated AC command route through deterministic skills.
- Master Agent
- Software and DevOps
- Intermediate
View 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.
-
Add phrase-routed tools to a C++ app
Link the installed SDK into your own C++ program and register host tools with exact-phrase skills.
- Master Agent
- Software and DevOps
- Advanced
View prompt
Using the repo OpenSparX/MasterAgent, add MasterAgent::Core to <your app target> in CMake, register one tool and one exact-phrase skill from reference_runtime.h, and call Runtime::run() on a test phrase. Expected output is a typed tool result, not free text. Verify that an unknown tool name is rejected.
-
Stop repeated tool runs after a crash
Persist requests in SQLite so a repeated request returns the saved result instead of running again.
- Master Agent
- Software and DevOps
- Advanced
View prompt
Using the repo OpenSparX/MasterAgent, run `sparx run --state ./state/agent.db --session <session> --request-id <id> --input '<command>'` twice, restarting between runs, then run `sparx recover --state ./state/agent.db`. Expected output is the same recorded outcome on the second run and any unfinished requests listed as UNKNOWN. Verify that the tool was not invoked a second time.
-
Send unmatched commands to a local model
Point sparx at a llama-server you run yourself so unmatched phrases reach a local model.
- Master Agent
- Software and DevOps
- Intermediate
View prompt
Using the repo OpenSparX/MasterAgent, start a local llama-server with <your GGUF model>, then run `sparx run --endpoint 127.0.0.1:8080 --model local --input '<phrase>'`. Expected output is either a validated tool result or an error. Verify that a phrase asking for an unknown tool returns an error, not a tool call.
-
Study an idempotent inventory tool integration
Use the inventory example to see how a business tool commits once and recovers lost responses.
- Master Agent
- Software and DevOps
- Advanced
View prompt
Using the repo OpenSparX/MasterAgent, open examples/inventory_agent/README.md and run its integration test. Expected output is a passing test showing UNKNOWN recovery and no second stock decrement. Verify that the test covers a response dropped after commit.
How to use Master Agent
- Check you have what it needs: 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.
- Open OpenSparX/MasterAgent on GitHub and read the README and license.
- 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.
These steps come from our top use case, Run the offline agent demo in under an hour, which also has a copy-paste agent prompt.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeMaster Agent alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forWritten for C++ developers and platform engineers who want an embeddable, offline-capable agent runtime they can build and inspect.
- Why it is hot
- LanguageC++
- Sourcegithub.com/OpenSparX/MasterAgent · Back to Hot repos
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
Maintain Master Agent? Add the Featured on Deduped badge
Paste this into your README:
[](https://dedupedai.com/use-cases/opensparx-masteragent/?ref=badge)
Questions about Master Agent
What is Master Agent?
A C++17 local-first agent runtime and sparx CLI that matches deterministic phrases first, calls a model only when configured, and runs only validated tool calls. It is an open-source project on GitHub: https://github.com/OpenSparX/MasterAgent.
Who is Master Agent for?
Written for C++ developers and platform engineers who want an embeddable, offline-capable agent runtime they can build and inspect.
What can I do with Master Agent?
5 use cases so far, for example: Run the offline agent demo in under an hour; Add phrase-routed tools to a C++ app; Stop repeated tool runs after a crash. Each has steps and a copy-paste agent prompt.
What do I need to run Master Agent?
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.
What are alternatives to Master Agent?
Other hot AI repos in Software and DevOps: Harness2, iFixAi, Orca, Diagram Design, AI Memory.
Is Master Agent safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.