01 / External tool execution
Your tools run where your credentials live.
LLM workflows pause while your application executes tools locally. Credentials never leave your environment. Persisted pending calls survive crashes.
AI workflow orchestration
Grove orchestrates multi-step LLM workflows as DAGs and runs autonomous agents in sandboxed workspaces — routing across model providers, recording every node, and parking for a human when a step needs sign-off. One Rust service, on your Postgres, inside your VPC.
npm install @thedouglenz/grove-sdk TypeScript SDK · graph builder · SSE streaming · tool handlers
EVENTS SSE
Why Grove
The difference between a demo and a system you can run is everything around the model call. Grove is that everything.
Deploy in your own infrastructure. No data leaves your environment. Air-gap compatible for the most sensitive workloads.
EKS · AKS · GKE · on-prem Define workflows as directed acyclic graphs. Automatic parallel execution, fan-in/fan-out, conditional routing, and bounded refinement loops for generator-critic patterns.
map · merge · conditional · refine Goal-driven loops with allowlisted tools, per-run sandboxed workspaces, durable turn history, and budget caps. Sub-agent delegation with depth and fan-out limits. Resume from any crash.
ws_* · git_* · finish Anthropic Claude, OpenAI, Google Gemini, Azure OpenAI, and Vertex AI in a single workflow. Named model groups with automatic failover. Route per node. Prompt caching and per-token cost accounting keep spend visible and low. No vendor lock-in.
model group → failover chain First-class tenant entity with Postgres row-level isolation. Per-tenant secrets, LLM credentials, quotas, rate limits, and budget caps. Tenant lifecycle API with provision-and-key in one call.
POST /tenants PostgreSQL-backed crash recovery. Resume from the last checkpoint. Every execution persisted and auditable. Per-tool-call idempotency keeps side-effecting work at-most-once across crashes.
checkpoint · resume · at-most-once Platform architecture
Define workflows as DAGs or autonomous agents. Grove handles execution, parallelism, streaming, durability, and tenant isolation — in your infrastructure.
Callers
Your infrastructure
Deploys to AWS (EKS) · Azure (AKS) · GCP (GKE) · On-premise · Air-gapped
Context graph
Every context layer can tell an agent what your data means. None can tell you whether the agent then did the right thing. Grove maps every workflow, run, agent, tool, and the data it touches into a living, governed graph — and scores each path by whether its runs actually passed verification.
Drag nodes · click for detail
01 / Grounding
Projected from what your workflows and agents actually did — runs, tool calls, connector queries, outputs — not scraped from schemas. Rebuildable from the source of truth and eventually consistent with every execution.
02 / Authority
Each path is scored by the one signal a data ontology can't compute: the fraction of its runs that passed acceptance, weighted by usage and freshness. Ask "what's the trusted way we do X" — get the verified answer first.
03 / Interop
Grove imports business meaning from the context layer you already own — Unity Catalog, Genie Ontology — and emits lineage back. Portable across Databricks, Snowflake, and Microsoft.
04 / Governance
Every read is tenant-scoped and authorized through the same policy decision point as the rest of Grove. Query it from the operator console, from your agents as tools, or from external systems over MCP.
Capabilities
01 / External tool execution
LLM workflows pause while your application executes tools locally. Credentials never leave your environment. Persisted pending calls survive crashes.
02 / Crash recovery
PostgreSQL-backed checkpointing. Workflow runs resume from the last completed node; agent runs resume mid-turn with per-tool-call idempotency markers that keep side-effecting work at-most-once.
03 / Real-time streaming
SSE event streams deliver node-by-node progress to your UI. Live agent-run replay across replicas. No polling required.
04 / Model routing
Named model groups resolve to an ordered provider chain. A provider error moves the call to the next link, and every token is costed.
05
AES-256-GCM encryption at rest, plus a pluggable backend that can delegate to a HashiCorp Vault KV v2 mount for org-managed secret stores. Per-tenant namespace; never returned through the API.
06
Conditional branching, bounded refinement loops, and a Map node for fan-out over collections. Generator-critic patterns are first-class, not client-side hacks.
07
Built-in semantic search and entity-aware retrieval via Trailhead. Ground every workflow in your organization's documents and data.
08
S3, GCS, Azure Blob, or local — behind one trait. Operators register named storage profiles; workflows reference them by name. Swap providers with zero workflow changes.
09
The grove-scheduler workspace member runs cron triggers with HA-safe Postgres claims. Inbound webhook endpoints fire a workflow on every POST. Multi-replica safe; retries with exponential backoff.
10
Define an agent once — name, system prompt, tool allowlist, model — then run it against goals. Per-run sandboxed workspaces for file/shell/git tools, plus your own external MCP servers from a per-tenant catalog. Sub-agent delegation with depth and fan-out caps. Tenant-scoped git credentials.
11
Real tenant entity in Postgres with row-level isolation across workflows, runs, sessions, agents, skills, and secrets. Per-tenant quotas, rate limits, and budget caps. POST /tenants provisions a tenant and mints its first key in one call.
12 / Grove as MCP server
Workflows and skills surface to MCP clients (Claude Desktop, Claude Code, Cursor) as tools and prompts. grove__* provisioning built-ins let an MCP client author workflows and agents over the protocol. Two-key Invoke/Provision pattern keeps the LLM's authoring rights bounded.
13
Multi-turn conversation context with rolling summarization and hierarchical memory namespaces. Tool-based prompt enrichment lets agents promote relevant memories into the system prompt on demand.
Solutions
Automate due diligence, competitive analysis, and compliance research with multi-step AI workflows that query your internal data and deliver structured reports.
02Process contracts, filings, and technical documents at scale. Parallel extraction across financial, legal, and technical dimensions — unified into a single analysis.
03Deploy teams of specialist AI agents that analyze different dimensions of a problem in parallel, then merge findings into board-ready deliverables.
04Long-horizon AI tasks — investigate a failure, implement a feature, audit a repo — running in a per-run container sandbox with allowlisted file, shell, and git tools. Durable resume; budget caps; sub-agent delegation.
05Point Claude Desktop, Claude Code, or Cursor at Grove's MCP server and let the assistant build and publish the workflow it will then invoke. Two-key Invoke/Provision pattern bounds the LLM's authoring rights.
06Drop a Grove step into Airflow, dbt, or Dagster for classification, extraction, data-quality triage, or generate-and-vet checks. Not an orchestrator replacement — the LLM-heavy step your existing orchestrator was missing.
Case study
Salesforce, HubSpot, and event leads land in Databricks as the same people, spelled a dozen different ways. Deterministic SQL resolves the obvious duplicates cheaply; Grove brings an LLM to bear only on the ambiguous matches a rule engine can't settle — and writes nothing it can't defend.
Runs against real data in Databricks, through Grove.
rules alone vs. rules + Grove
held while recall nearly doubled
across three sources
ingest → block → adjudicate → resolve
Data custody
Grove is a service you run, not a service you send data to. Every execution is persisted where your compliance team can see it.
Security & complianceGrove
npm install @thedouglenz/grove-sdk