elsa-core/src/modules/Elsa.AI.Host
Sipke Schoorstra c66f9aed45
Add Weaver grounding tools
Adds Spec Kit-backed Weaver grounding tools for activities, workflow definitions, workflow proposals, runtime instances, incidents, and Studio capability discovery.
2026-06-08 15:40:10 +02:00
..
Context Add Weaver grounding tools 2026-06-08 15:40:10 +02:00
Endpoints/AI Add Weaver grounding tools 2026-06-08 15:40:10 +02:00
Extensions Add Weaver grounding tools 2026-06-08 15:40:10 +02:00
Features Add Weaver grounding tools 2026-06-08 15:40:10 +02:00
Options Add Weaver grounding tools 2026-06-08 15:40:10 +02:00
Permissions Implement Weaver AI Copilot core (#7523) 2026-06-04 11:35:44 +02:00
Services Add Weaver grounding tools 2026-06-08 15:40:10 +02:00
ShellFeatures Remove PackageManifestCategories and update feature categories to inline strings 2026-06-08 09:48:55 +02:00
Streaming Implement Weaver AI Copilot core (#7523) 2026-06-04 11:35:44 +02:00
Tools Add Weaver grounding tools 2026-06-08 15:40:10 +02:00
Elsa.AI.Host.csproj Add Weaver grounding tools 2026-06-08 15:40:10 +02:00
FodyWeavers.xml Implement Weaver AI Copilot core (#7523) 2026-06-04 11:35:44 +02:00
README.md Add Weaver grounding tools 2026-06-08 15:40:10 +02:00
Usings.cs Implement Weaver AI Copilot core (#7523) 2026-06-04 11:35:44 +02:00

Elsa AI Host

Elsa AI Host owns Weaver's provider-neutral server surface: chat orchestration, context resolution, tool registration, proposal governance, audit, and Studio-facing capabilities. Provider SDK types stay outside this module.

Grounding Tools

Built-in grounding tools are registered as IAITool implementations. Read-only tools are enabled by default; proposal tools must be enabled explicitly before a provider can invoke them.

Activity tools:

  • activities.search
  • activities.getDescriptor

Workflow definition tools:

  • workflows.search
  • workflows.getDefinition
  • workflows.getDefinitionGraph
  • workflows.findUsages

Proposal-only tools:

  • workflows.validateDraft
  • workflows.proposeCreate
  • workflows.proposeUpdate

Runtime inspection tools:

  • instances.search
  • instances.get
  • instances.getExecutionHistory
  • instances.getActivityState
  • incidents.search
  • incidents.get

The tools read from Elsa server-side sources such as IActivityRegistry, IWorkflowDefinitionStore, and IWorkflowInstanceStore. If a source is not registered, the tool returns an unavailable result and /ai/capabilities reports the disabled reason for Studio.

All tool results are bounded by AIHostOptions.Grounding, redacted before returning to the model or Studio, and audited by the existing AI Host tool invocation path.

Proposal Safety

workflows.proposeCreate and workflows.proposeUpdate write only to IAIProposalStore. They do not persist workflow definitions. Approval and apply remain separate governed actions.