Loading...
Loading...
RapidClaw is a Microsoft-cloud-native AI operations layer for RapidStart CRM — Dataverse as system of record, Azure as runtime, Teams as the user surface, and an operator console that keeps governance ahead of autonomy.
RapidClaw is a Microsoft-cloud-native AI operations layer for RapidStart CRM. It combines four substrates into one governed product.
The product is designed to let a customer deploy a governed, tenant-isolated AI agent environment into their own Azure subscription without requiring CLI-based setup. The primary operator experiences are a Dataverse-hosted setup wizard for provisioning, a RapidClaw Command Center web application for runtime operations, and a Microsoft Teams personal app for end-user interaction with the RapidClaw agent team.
This document describes the product as it exists now — not the earlier design target.
RapidClaw is not a generic chatbot and not a standalone CRM. It is an AI agent layer on top of RapidStart CRM, with three core responsibilities.
In practical terms, RapidClaw gives a RapidStart CRM customer:
By design, a fresh deployment is provisioned in a non-live posture. Agents, scheduled jobs, and other behaviors that could produce autonomous activity are not assumed to become active immediately at install time. Operators are expected to review and explicitly activate those capabilities in RapidClaw Command Center.
RapidClaw is built around a deliberate separation of concerns.
The browser is an operator console, not the deployment engine. The customer VM is a runtime substrate, not a source of business truth. Dataverse remains the canonical source for configuration, runtime metadata, policy, and audit records.
Reasoning is delegated to agents — but configuration, policy, status, and lifecycle remain deterministic and inspectable.
RapidClaw is intentionally split into four planes.
Authoritative business state, policy, audit, and deployment records. Setup web resource and model-driven app surfaces live here.
Orchestration, routing, release management, durable lifecycle control. Azure Functions, Durable Functions, Teams router, App Insights.
Dedicated resource group + Ubuntu VM in the customer's Azure subscription. Isolated execution of the agent system.
Provisioning, administration, advanced runtime access, end-user interaction.
RapidClaw is notable because it is not merely "integrated with Microsoft" — it is built almost entirely from Microsoft platform components.
RapidClaw extends the existing business application estate while staying inside the same control, identity, and data boundaries as the surrounding platform.
RapidClaw deploys into a customer-owned Azure subscription. The canonical runtime unit is a dedicated resource group and Ubuntu VM per customer deployment. The deployment process uses deterministic naming with a short deployment suffix to avoid stale-resource collisions and to support redeploy/reset flows cleanly.
Provisioning begins in the Dataverse-hosted RapidClaw setup wizard. Some steps are inherently user-scoped and browser-mediated:
RapidClaw does not treat deployment completion as permission to begin autonomous operation. New environments are provisioned in a controlled non-live state:
Infrastructure, runtime, and product surfaces exist. The environment is reachable and administrable.
Agent definitions, policies, Teams setup, mailbox setup, and schedules may already be present as managed artifacts.
Specific agents, schedules, and interaction surfaces have been explicitly activated for production use.
The deployment service currently exposes these first-class HTTP functions:
The service creates and updates fw_Deployment* records in Dataverse, runs Durable Functions orchestrators for long-running work, owns tenant-bound authorization checks, and coordinates ARM, Graph, and Dataverse operations.
RapidClaw is mid-migration from a browser-exposed deployment API key model toward Entra JWT-based backend authorization. Current code prefers JWT validation with strict tenant binding and retains a controlled legacy fallback for rollback safety. This is an important maturity step — it moves deployment authorization closer to standard Microsoft enterprise patterns.
Dataverse is the system of record for what RapidClaw is, what it is allowed to do, and what state it is in.
Local VM files, workspace prompts, temporary memory artifacts, and runtime-generated support files exist to help the runtime execute — but they are not the authoritative source of product truth.
fw_ClawConfig
Singleton-style environment / runtime configuration. Azure identifiers, deployment metadata, endpoint references, status fields.
fw_ClawAgent
Agent roster and provisioning metadata. Email/Teams enablement metadata. Runtime-facing identity records.
fw_ActionPolicy
Per-agent permission controls. Allow/deny decisions for action classes.
fw_AgentMemory
Long-term structured memory records synchronized from runtime memory systems.
fw_InteractionLog
Audit trail of runtime activity and decisions.
fw_Deployment / fw_DeploymentStep / fw_DeploymentEvent
Deployment state machine records. Step-level progress, failure detail, durable operator-visible progress surface.
If a runtime file and a Dataverse record disagree, the Dataverse record is authoritative.
The customer VM runs the RapidClaw runtime stack:
nginx + oauth2-proxyOpenClaw is the on-VM execution engine. RapidClaw layers agent workspaces, prompts, shared team policy files, Dataverse-anchored policy and memory boundaries, and operational integration with Teams and Command Center.
At deployment time, the installed OpenClaw version is the current version available at that moment, rather than a separately pinned long-term RapidClaw-specific runtime channel. Future OpenClaw runtime updates should therefore be treated as an explicit administrative action rather than implicit background behavior.
The underlying gateway/runtime, agent execution substrate, advanced runtime administration surface, and upstream plugin/runtime behavior.
Dataverse-centered control model, deployment & teardown orchestration, customer-facing Command Center, agent team definitions, policy model, Teams router/forwarder, and the productized lifecycle.
RapidClaw is not a cosmetic wrapper around OpenClaw. The core product value is in the governed operating model built around the runtime — not in exposing the runtime itself.
RapidClaw deploys a named agent team rather than a single monolithic assistant.
End users do not independently converse with all of these agents. In Teams and other normal product surfaces, the user interacts with the RapidClaw orchestrator. The orchestrator decides when specialist agents or reader agents should be involved, coordinates handoffs, and returns a unified response.
The shared workspace/_shared/AGENTS.md is authoritative for all agents, including delegated/sub-agent paths. It encodes environment identity, team roster, trust architecture, tool-use rules, Dataverse table conventions, and deliverable-file behavior for Teams file delivery.
One shared policy surface governs the agent team — making behavior more consistent and inspectable than ad hoc prompt sprawl.
RapidClaw distinguishes between provisioned, configured, and live. A fresh environment can be fully deployed without being allowed to act. Activation is the point at which a customer intentionally permits a role, schedule, or interaction path to participate in day-to-day operation.
RapidClaw today is best characterized as a bounded multi-agent assistant with selective automation, not as a fully autonomous back-office worker. It can answer and coordinate conversationally, route to specialist agents, write structured outputs and files, run optional background tasks, and perform CRM-adjacent actions within policy.
The more advanced "safe execution modes / approval-required runtime / durable interrupted-job review" model remains an explicit next-stage maturity target.
RapidClaw currently ships a personal-scope Teams bot app with scopes: ["personal"] and supportsFiles: true. This means a direct 1:1 chat-style assistant experience inside the RapidClaw app — not general @mention participation in arbitrary team or group chat contexts.
Teams access is not universal by default. The app must be deployed and made available through the Teams admin center, and access can be limited to specific users.
RapidClaw now provisions a customer-owned Azure Bot Service in the customer resource group. The Teams app points Bot Framework traffic at that customer-owned bot endpoint, and the bot forwards messages directly to the customer VM at /api/messages.
The Forceworks shared router still exists as a fallback and diagnostic path during transition, but it is no longer the intended primary path for day-to-day Teams conversations.
On the customer VM, rapidclaw-bot-forwarder authenticates Bot Service and legacy router traffic, extracts message text and conversation context, performs deterministic local replies and acknowledgement/progress messages when safe, invokes the appropriate OpenClaw agent via CLI, and returns replies through the Bot Framework adapter for the customer-owned bot path.
This path is functionally solid today, but still has meaningful latency overhead because it spawns the OpenClaw CLI/runtime path per message. Recent testing showed that direct Azure OpenAI calls from the VM are fast, while full OpenClaw CLI turns can be much slower even for small prompts. That makes Teams message latency a first-class roadmap item rather than a Teams/Bot Framework issue.
The current mitigation is intentionally conservative: simple bounded messages can receive deterministic local replies, longer orchestrator-led turns can receive a quick acknowledgement that RapidClaw is checking context, and specialist-coordinated turns may still take longer.
msteams plugin ingress assumptionsEnterprise trust is built not just on successful deployment, but on whether the operational surfaces tell the truth.
RapidClaw now has an initial Teams file-delivery bridge for agent-produced markdown deliverables. Agents write to a turn-specific outbox; the VM forwarder detects the files; the Teams delivery path can return FileConsentCard attachments back to Teams.
As of this snapshot, this is Phase A: visible file consent cards are supported, the full click-to-upload completion path is still in progress.
The operational web application deployed on the customer VM, exposed under /dashboard.
Command Center is where RapidClaw becomes a product rather than just a deployment.
The current Model Operations page is a non-functional preview. It is intentionally present so administrators can see the intended direction:
Command Center includes a Bug Report page that posts reports to Forceworks through a Power Automate workflow. The report includes user-entered issue details plus background context such as Command Center version, host, Dataverse URL, tenant id, browser, viewport, and optional screenshot content.
The current implementation treats a Power Automate NoResponse 502 as an accepted submission because that condition indicates the workflow was invoked but did not return an HTTP acknowledgement. The preferred flow configuration remains an explicit HTTP 200 response action.
OpenClaw Admin remains available for advanced users who want lower-level runtime access, diagnostics, or direct interaction with the underlying OpenClaw surface. It is not intended to be the primary day-to-day operating experience.
Command Center is where the product is operated. OpenClaw Admin is where advanced users manage the underlying runtime.
RapidClaw's current security story is stronger than "LLM with CRM access," but intentionally honest about what remains to be hardened.
RapidClaw is designed to degrade in understandable layers rather than treating every failure as a total product failure:
Not every partial failure should erase operator visibility. The product preserves truthful status even when a surface is degraded.
fw_Deployment* progressAfter deployment, operators use Command Center and Teams to interact with agents, manage deployment and runtime status, inspect Teams readiness, work with prompts and policies, control schedules, and decide what becomes active in production rather than inheriting a fully live runtime by default.
/api/messagesfw_Deployment* recordsReset and lifecycle teardown are now increasingly service-owned rather than browser-owned. This is a major maturity improvement — destructive orchestration moves into durable backend workflows with step tracking instead of a fragile page-local process.
The key point is not simply that these items remain. It is that RapidClaw already has a coherent, shippable product core while those next-stage controls are being added.
RapidClaw demonstrates a very specific pattern.
AI agents deployed into the customer's Azure estate, governed through Dataverse, surfaced through Teams, and operated through a platform-native control plane.
That matters because it aligns with real enterprise buying and architecture concerns:
This is not "AI glued onto CRM." It is a serious attempt to make AI operations feel native to the surrounding business cloud, identity, and collaboration stack.
RapidClaw today is —
Not any single model or prompt — but the combination of Microsoft-platform alignment, customer-owned runtime isolation, browser-first deployment, Dataverse-centered governance, Teams-native end-user access, and an increasingly durable backend orchestration layer.
That combination is the product.