Status: pre-release / alpha. The core stack is functional and tested, but the public API has not been frozen. Breaking changes may occur, especially at the
json_invoke,json_session_invoke, andmcplayers, until Phase 1 is complete. Pin to a specific commit or tag if you need stability.
llm_invoke_cpp already has the main vertical slice in place:
- a dependency-light
func_registrycore - JSON invocation and type/schema export in
json_invoke - session-scoped stateful tools in
json_session_invoke - scheduler and runtime layers for classified execution
- MCP stdio and HTTP gateway support
- runnable demos and a growing test suite
The roadmap below focuses on hardening and productizing that baseline rather than re-listing features that already exist.
- Freeze and document the recommended entry points for each layer:
func_registry,json_invoke,json_session_invoke,task_scheduler,runtime, andmcp. - Reduce accidental overlap between low-level compatibility paths and the preferred top-level includes.
- Audit examples and docs so new users are guided toward the current high-level APIs first.
- Clarify versioning and compatibility expectations before the public API grows further.
- Add first-class tool visibility and allow/deny filtering instead of requiring host-specific wrappers.
- Add timeout, cancellation, and execution-budget hooks around tool invocation and queued work.
- Strengthen structured error categories so validation, scheduler, transport, and tool-execution failures stay easy to distinguish.
- Define a clean extension point for sandboxed or out-of-process execution when direct in-process calls are not acceptable.
- Expand schema export adapters for concrete host targets such as OpenAI, Anthropic, Gemini, and MCP-facing tool descriptions.
- Tighten parameter descriptions, examples, and naming guidance so exported schemas are more useful to real LLM clients.
- Add more end-to-end examples that start from an LLM/tool-host request loop instead of only local handcrafted JSON payloads.
- Continue improving request-shape validation and protocol error reporting at the runtime and MCP layers.
- Increase focused coverage for schema snapshots, JSON conversion edge cases, scheduler behavior, and MCP transport flows.
- Add CI for at least one Windows and one Linux toolchain with the main demos and tests enabled.
- Improve install and packaging guidance for
FetchContent, subdirectory embedding, and selective target linking. - Add a small set of regression fixtures for stateful/session-heavy scenarios that are easy to break accidentally.
- Add benchmark coverage for registration, schema export, JSON conversion, scheduler dispatch, and protocol handling overhead.
- Identify hot paths where extra copies, locking, or serialization work can be reduced without weakening the API model.
- Improve observability hooks so hosts can correlate tool calls, queueing delays, failures, and object lifecycles more easily.
- Document deployment tradeoffs for single-process embedding, sidecar MCP hosting, and HTTP gateway setups.
The highest-value next steps are:
- runtime safety controls that hosts can actually enforce
- stronger protocol/schema adapters for real LLM tool ecosystems
- broader CI and regression coverage for the already-implemented stack
- packaging and performance work that lowers adoption cost
Those items move the project from a capable prototype toward a stable embeddable runtime.