PRAXO-CORE (also written praxocore) is an embeddable, MIT-licensed agent framework. C++20 implementation of the PRAXO-CORE agent contract. The normative contract is spec/; Go remains the reference implementation.
| Field | Value |
|---|---|
| Package | praxo-core-cpp |
| Registry | xmake |
| Install | xrepo install praxo-core-cpp |
| Source version | 0.13.0 |
| Published version | 0.12.0 |
| Publication status | published on xmake 0.12.0; source tag cpp/v0.13.0; next xmake update pending; vcpkg and Conan submissions open |
| Canonical source tag | cpp/v0.13.0 |
| Tier | Core |
| Contract | SPEC_VERSION 0.2.0 |
| Documentation | https://axisvela.github.io/praxo-core/languages/cpp/ |
| License | MIT |
- OpenAI-compatible model: native (transport seam)
- Anthropic model: native (transport seam)
- Gemini model: native (transport seam)
- MCP client: native (transport seam)
- Harmovela sink: native (transport seam)
- OpenTelemetry sink: native (transport seam)
- Subagent delegation: native (synchronous seam)
- Retriever: native
Install the published package:
xrepo install praxo-core-cpp
#include "praxo/agent.hpp"
praxo::AgentOptions options(std::make_shared<praxo::StaticModel>("hello"));
auto result = praxo::run_agent(
std::move(options),
praxo::Session{"demo", {}},
"hello",
);
std::cout << result.output << "\n";See the full C++ README for complete installation, build, and verification commands.
| Capability | Status | Detail |
|---|---|---|
| OpenAI-compatible model | native (transport seam) | OpenAICompatible; caller supplies HTTP and streaming transports; OpenAICompatibleStreamTransport reassembles SSE content, tool calls, usage, and finish reason |
| Anthropic model | native (transport seam) | Anthropic; caller supplies HTTP and streaming transports; Anthropic SSE reassembly |
| Gemini model | native (transport seam) | Gemini; caller supplies HTTP and streaming transports; Gemini SSE reassembly |
| MCP client | native (transport seam) | McpClient; caller supplies McpTransport |
| Harmovela sink | native (transport seam) | HarmovelaSink; caller supplies HTTP transport |
| OpenTelemetry sink | native (transport seam) | OtelSink; caller supplies OtelTransport |
| Subagent delegation | native (synchronous seam) | subagent_run; no asynchronous manager |
| Retriever | native | Document, Retriever, retrieve |
Runnable examples live under language/cpp/examples.
| Example | What it shows |
|---|---|
| checkpoint | This example uses the C++ Core checkpoint allowlist to encode and decode only registered payload types. |
| consumer | This example runs a deterministic model against the C++ Core, registers one record(target) tool, applies an explicit tool scope plus policy, and checks that an allowed call produces one effect while a denied call produces none. |
| event-sink | This example uses the C++ Core sink composition to fan out lifecycle and tool events and filter the tool-only stream. |
| hitl | This example demonstrates a write tool that requires human approval: |
| identity-policy | This example binds a trusted principal to C++ Core policy decisions and rejects missing, inactive, role-mismatched, and tenant-mismatched actions. |
| kelivela | Standalone C++ example: main.cpp uses praxo::KelivelaConfig, praxo::kelivela_open, and the five fs.* tools with an in-process transport. |
| live-model | This example connects the C++ Core to an OpenAI-compatible endpoint through the existing OpenAICompatible adapter and registers one low-risk get_time(zone) tool. The model may only call get_time; every other tool call is denied by policy. |
| mcp | This example uses a caller-owned in-process transport with the C++ MCP client. It covers initialize, tools/list, and tools/call without a server process. |
| provider-fallback | This example calls a fallback only after the primary fails and preserves the primary error when both fail. |
| retry | This example retries a transient failure with a bounded attempt count and rethrows the final error when attempts are exhausted. |
| service | This example defines a transport-neutral request handler boundary with health, principal, and run cases. Wire it into any C++ HTTP server. |
| session-checkpoint | This example saves and restores a conversation history across two agent turns using the Core checkpoint allowlist. |
| streaming | This example collects agent stream parts from the C++ Core and checks the values and messages lifecycle. |
| structured-output | This example validates a final JSON answer against a schema and rejects invalid output. |
Scenario-oriented tutorials live under language/cpp/Tutorial. Planning context: Tutorial Plan, 100 candidate agent scenarios, and Tutorial Catalog.
| Path | What it shows |
|---|---|
| Tutorial | Bounded C++ examples built on the native Core. Each tutorial is a small, runnable slice with explicit non-goals and an application-owned boundary; none is a complete industry product. |
| bom-review | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| construction-safety | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| container-yard | A bounded first slice of TL-02, not a terminal operating system. It replans fixed synthetic container jobs under resource constraints and drafts a review-only schedule. No crane or AGV command, live terminal feed or throughput guarantee. |
| drone-fleet-plan | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| dubbing-plan | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| eda-placement | A bounded first slice of OG-05, not a foundry-valid physical-design flow. It reads a fixed synthetic placement grid and drafts a review-only placement with stated PPA proxies. No routing sign-off, foundry validation or tapeout. |
| fleet-map | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| household-robot | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| industrial-edge | A scoped industrial tutorial over the native MIT C++ Core. It reads one fixed edge-100 snapshot through an application-owned DeviceAdapter interface and drafts an operator maintenance action. The adapter is an in-process fixture. This tutorial does not implement a real fieldbus, OPC UA, socket, device SDK, live model or device write. |
| materials-design | A bounded first slice of SC-04, not a validated materials-discovery pipeline. It evaluates fixed synthetic candidate properties and drafts the next review-only simulation. No validated new material or fabrication. |
| mesh-review | A bounded first slice of MD-05, not a CAD kernel or manufacturing-certification flow. It compares fixed synthetic mesh descriptors against stated constraints and drafts a review-only design assessment. No manufacturability certification or fabrication. |
| mining-slope | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| molecule-screen | A bounded first slice of SC-02, not drug discovery. It ranks fixed synthetic molecular descriptors under stated constraints and drafts a review-only assessment. No efficacy, toxicity, synthesis or clinical claim. |
| ocean-routing | A bounded first slice of TL-03, not a navigation or fuel-optimization system. It compares fixed synthetic route/weather costs and drafts a review-only route. No navigation command, fuel-savings claim or CII compliance guarantee. |
| production-scheduling | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| quant-risk | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| storyboard-previs | A bounded tutorial slice over the native C++ Core. It reads one fixed fixture, enforces scope and drafts a review-only result. No production write or external system access. |
| traffic-signal-plan | A bounded first slice of CT-01, not a traffic-control system. It reads fixed junction queues, drafts a review-only green-time plan and checks it against deterministic limits. No signal command, live model or city-scale simulation. |
Reference application sources live under language/cpp/application. See each README for implementation scope and validation status.
| Path | What it shows |
|---|---|
| application | A C++ edge integration where the agent drives the primary device-diagnosis workflow: an operator submits an incident intent, the agent reads application-owned device telemetry through a GatewayAdapter, diagnoses the condition, and drafts a review-only maintenance action. The agent never writes to the device. |
Run the checks from language/cpp:
cd language/cpp
cmake -S . -B build
cmake --build build
ctest --test-dir build --output-on-failure
python api-snapshot.py --checkThis mirror contains the language source and the shared spec/ vectors, so the implementation can be built and tested here. See language/cpp/README.md for the exact commands. The monorepo CI runs conformance, API snapshot, and native tests for this implementation.
Reference application source is not end-to-end portfolio acceptance; follow each README's scope and evidence. PRAXO-CORE is not a hosted model, workflow engine, identity provider, or safety controller. Do not infer exactly-once execution, complete sandbox isolation, production security certification, live-provider behavior, or physical safety from this package.
- X: https://x.com/axisvela
- Weibo: https://weibo.com/u/1936025761
- LinkedIn: https://www.linkedin.com/company/axisvela/
- Facebook: https://www.facebook.com/profile.php?id=61596905732406
- YouTube: https://www.youtube.com/@axisvela
- Discord: https://discord.com/channels/1575163993767809064/1575164343148875977
- GitHub Discussions: https://github.com/axisvela/praxo-core/discussions
- GitHub Issues: https://github.com/axisvela/praxo-core/issues
- Documentation: https://axisvela.github.io/praxo-core/
- Architect: https://axisvela.architect.pub
language/cpp/— implementation source, tests, API snapshot, and examplesspec/— shared contract, vectors, and parity inventoriesLICENSE— MIT license
- Canonical source: https://github.com/axisvela/praxo-core/tree/main/language/cpp
- Registry introduction:
language/cpp/REGISTRY.md - Machine-readable entry:
language/cpp/llms.txtandlanguage/cpp/llms.md - Mirror repository: https://github.com/axisvela/praxo-core-cpp
- Release index: https://axisvela.github.io/praxo-core/languages/registry-status/
This repository is a discovery mirror of the canonical C++ source. The monorepo remains the source of truth and the release workflow source. The mirror's main branch tracks current source, not a release snapshot. Source tags refer to the canonical monorepo and are not necessarily present in this mirror; syncing the branch does not publish mirror tags or registry packages.
MIT licensed.