Skip to content

Comments

Add OpenClaw integration#21

Draft
Copilot wants to merge 1 commit intomainfrom
copilot/add-openclaw-feature
Draft

Add OpenClaw integration#21
Copilot wants to merge 1 commit intomainfrom
copilot/add-openclaw-feature

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

Adds OpenClaw as a session-based conversational AI platform integration alongside the existing ManyChat, BotBuilders, and MoltBook integrations.

Backend

  • app/integrations/openclaw.pyOpenClawIntegration class with HMAC-SHA256 webhook signature verification (X-OpenClaw-Signature), Pydantic models for messages/sessions/responses, and async methods for the full session lifecycle
  • app/routes/openclaw.py — FastAPI router at /integrations/openclaw/ exposing: POST /webhook, POST /send-message, POST /session/create, GET /session/{id}, POST /session/update, POST /session/close, GET /session/{id}/history
  • app/settings.pyopenclaw_api_key and openclaw_webhook_secret settings
  • app/main.py — Router registered alongside other integrations

Config & Docs

  • backend/.env.exampleOPENCLAW_API_KEY / OPENCLAW_WEBHOOK_SECRET entries
  • INTEGRATIONS.md — Full endpoint reference and usage examples

Example

from app.integrations.openclaw import OpenClawIntegration

integration = OpenClawIntegration(api_key="...", webhook_secret="...")

# Create action response for downstream processing
response = integration.create_action_response(
    action="transfer_funds",
    parameters={"amount": 100, "currency": "USD"},
    session_id="sess_123"
)
Original prompt

Add OpenClaw


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add OpenClaw feature Add OpenClaw integration Feb 19, 2026
Copilot AI requested a review from lippytm February 19, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants