Use OpenClaw when you need to import existing workspace memory into Alice and then consume that imported state through the normal Alice continuity surfaces.
This path is import plus augmentation, not a second runtime.
- OpenClaw data is imported once into Alice continuity objects.
- Imported items keep explicit
OpenClawprovenance. - After import, use the same Alice brief, recall, resume, CLI, and MCP surfaces you already use for native Alice data.
Run the end-to-end import, replay, recall, and resume demo:
./scripts/use_alice_with_openclaw.shExpected JSON output:
status=passbefore.recall_returned_count=0for the generated demo userimport.first.status=okimport.second.status=noopafter.recall_source_labelsincludesOpenClawafter.resume_last_decision_source_label=OpenClawafter.resume_next_action_source_label=OpenClawchecksvalues are alltrue
Import augments Alice continuity retrieval. It does not replace:
- one-call continuity
- provider registration
- model-pack bindings
After import, these surfaces will include OpenClaw-backed continuity when it is relevant to the request:
- API:
POST /v1/continuity/brief - CLI:
alice brief - MCP:
alice_brief - targeted lookups:
alice_recall,alice_resume
Import the file-contract fixture:
./scripts/load_openclaw_sample_data.sh --source fixtures/openclaw/workspace_v1.jsonImport the directory-contract fixture:
./scripts/load_openclaw_sample_data.sh --source fixtures/openclaw/workspace_dir_v1Before import, scoped recall and resume usually return no OpenClaw-backed continuity for that user.
After import:
- recall returns imported continuity objects with
source_kind=openclaw_import - resume returns last-decision and next-action items with
source_label=OpenClaw - one-call continuity can include those imported objects in the same response bundle as native Alice continuity
- dedupe keys are deterministic for stable payloads
- replaying the same source for the same user does not create duplicates
- repeated replay returns
status=noop - duplicate skips are counted in
skipped_duplicates
OpenClaw is usually paired with the generic API or MCP integration path.
Typical flow:
- Import OpenClaw data into Alice.
- Query Alice through
POST /v1/continuity/brieforalice_brief. - Let the agent act on Alice output while preserving OpenClaw provenance in the response.
Generic starter examples:
docs/examples/generic_python_agent.pydocs/examples/generic_typescript_agent.ts
- file fixture:
fixtures/openclaw/workspace_v1.json - directory fixture:
fixtures/openclaw/workspace_dir_v1/
docs/integrations/importers.mddocs/integrations/one-call-continuity.mddocs/integrations/reference-paths.md