Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 3.74 KB

ROADMAP.md

File metadata and controls

64 lines (44 loc) · 3.74 KB

Roadmap

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, and mcp layers, until Phase 1 is complete. Pin to a specific commit or tag if you need stability.

Current Baseline

llm_invoke_cpp already has the main vertical slice in place:

  • a dependency-light func_registry core
  • 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.

Phase 1: Harden The Public Surface

  • Freeze and document the recommended entry points for each layer: func_registry, json_invoke, json_session_invoke, task_scheduler, runtime, and mcp.
  • 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.

Phase 2: Runtime Safety And Policy Controls

  • 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.

Phase 3: Protocol And Schema Coverage

  • 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.

Phase 4: Testing, CI, And Packaging

  • 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.

Phase 5: Performance And Operational Readiness

  • 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.

Near-Term Priorities

The highest-value next steps are:

  1. runtime safety controls that hosts can actually enforce
  2. stronger protocol/schema adapters for real LLM tool ecosystems
  3. broader CI and regression coverage for the already-implemented stack
  4. packaging and performance work that lowers adoption cost

Those items move the project from a capable prototype toward a stable embeddable runtime.