Skip to main content

openral-reasoner

OpenRAL S2 reasoner — the event-driven slow planning loop (CLAUDE.md §3 Layer 4). ReasonerCore consumes a WorldState snapshot plus rolling event buffers (failures, perception events, operator prompts) and emits exactly one typed ReasonerToolCall per tick via the LLM's structured tool-use API — no free-form JSON. The ROS-side reasoner_node (in packages/openral_reasoner_ros/) wraps this core with rclpy subscriptions and dispatch plumbing.

Layer

CLAUDE.md §3 Layer 4 — S2 slow reasoning: event-driven with a ~0.2 Hz heartbeat, sitting between the WorldStateAggregator and the S1 skill executor. Dispatch is direct typed tool calls.

Design

  • ROS 2 reasoner supervisor: direct typed tool-call dispatch.
  • Symbolic S2 reasoner: authored playbooks, self-maintained memory, success-gated task queue.
  • VLM-adjudicated completion, grounding-before-decompose, detection identity.

Public surface

from openral_reasoner import (
    ReasonerCore, ReasonerTickResult,          # the S2 tick loop
    ToolPalette, build_tool_palette,           # registry -> LLM tool palette
    AnthropicToolUseClient,                    # provider clients
    OpenAICompatibleToolUseClient,
    build_tool_use_client_from_env,            # model-first env selection
    ContextRenderer,                           # WorldState/event -> prompt context
    MemoryStore, MissionState,                 # self-maintained memory + mission ladder
    CriticWatchdog, SpatialMemoryQuerier,      # critic gating + spatial recall
    plan_active_search,                        # active-search frontier planning
)
  • ReasonerCore — the tick loop: render context → call the LLM with the tool palette → validate into a ReasonerToolCall → bounded replanning ladder on failure (retry → param-tweak → substitute-skill → goal-replan → human-handoff).
  • AnthropicToolUseClient / OpenAICompatibleToolUseClient — concrete ToolUseClient implementations; selected at activate-time from the curated openral_core.REASONER_MODELS registry via OPENRAL_REASONER_MODEL. OPENRAL_REASONER_ENDPOINT overrides where the model runs. No hidden default.
  • ToolPalette / build_tool_palette — generated from the local skill registry, rebuilt on /openral/skill_registry_changed.
  • MemoryStore, MissionState, evaluate_task_verdict — self-maintained memory and success-gated task queue.

See docs/methods/06-reasoning-wam-safety-observability.md for the full symbol inventory and docs/reference/reasoner-design.md for the design walkthrough.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openral_reasoner-0.3.1.tar.gz (97.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openral_reasoner-0.3.1-py3-none-any.whl (99.6 kB view details)

Uploaded Python 3

File details

Details for the file openral_reasoner-0.3.1.tar.gz.

File metadata

  • Download URL: openral_reasoner-0.3.1.tar.gz
  • Upload date:
  • Size: 97.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for openral_reasoner-0.3.1.tar.gz
Algorithm Hash digest
SHA256 56e92c59d113c800330d8f2c06f5e5ebab9c285957adec39bbc6e8ee69122643
MD5 9933781969f451a1d947f821595d8d44
BLAKE2b-256 919dfbb1945e89d0be0ef2824534a05253e53dc1ada8d8dc5bcf68bd4051c363

See more details on using hashes here.

Provenance

The following attestation bundles were made for openral_reasoner-0.3.1.tar.gz:

Publisher: release-pypi.yml on OpenRAL/openral

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file openral_reasoner-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for openral_reasoner-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40b580b08fb1aef33ec7e89f85aea9d2d141a1a3946d01e6d8357abd7bf48277
MD5 775c6716432fd9f4ba22a486888473f0
BLAKE2b-256 a22caef95a3264ec609fd8a29733ec9ca02926937a5ac83a85ee24c2b441551d

See more details on using hashes here.

Provenance

The following attestation bundles were made for openral_reasoner-0.3.1-py3-none-any.whl:

Publisher: release-pypi.yml on OpenRAL/openral

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page