Skip to content

Local Development

Agentwerke is a .NET solution with a React/Vite web UI and Docker-based local stacks.

Prerequisites

  • .NET SDK from global.json
  • Node.js 20 for the web UI and docs site
  • Docker and Docker Compose for local stacks
  • PostgreSQL when running without Compose

Build the solution

From the repository root:

bash
dotnet restore Agentwerke.sln
dotnet build Agentwerke.sln
dotnet test Agentwerke.sln --no-build

The main CI path excludes the E2E suite unless the full docker stack is running.

Run the API

bash
dotnet run --project src/Agentwerke.Api/Agentwerke.Api.csproj

The OpenAPI document is served at:

text
/openapi/v1.json

Run the web UI

bash
cd web
npm ci
npm run dev

The Vite dev server proxies /api to the local API when VITE_API_BASE_URL is not set.

Run the docs site

bash
cd docs.agentwerke.de
npm ci
npm run dev

Build the static docs artifact:

bash
npm run build

Preview the built artifact:

bash
npm run preview

Common local stacks

StackCommand
Quickstartdocker compose -f docker/docker-compose.quickstart.yml up --build
Developmentdocker compose -f docker/docker-compose.yml up --build
Manual testingdocker compose -f docker/docker-compose.manual.yml up --build
E2Edocker compose -f docker/docker-compose.e2e.yml up --build

Repository map

PathPurpose
src/Agentwerke.ApiASP.NET Core host.
src/Agentwerke.ApplicationUse cases and orchestration contracts.
src/Agentwerke.DomainDomain model.
src/Agentwerke.InfrastructureEF Core, Postgres, outbox, dispatch worker.
src/Agentwerke.WorkflowsBPMN validation and workflow engine.
src/Agentwerke.AgentsAgent orchestration, model clients, gateways, prompt assembly.
src/Agentwerke.AgentSecOpsPolicy evaluation and governance.
src/Agentwerke.SandboxesSandbox lifecycle providers.
src/Agentwerke.IntegrationsGitHub, CI/CD, and external connectors.
src/Agentwerke.StorageArtifact and blob abstractions.
src/Agentwerke.ObservabilityLogs, metrics, and tracing.
webReact/Vite web UI.
docs.agentwerke.deStatic documentation site.
docsRaw design, operation, and reference docs used as source material.

Development safety

  • Do not commit local settings or secret files.
  • Keep agent/tool permissions narrow when adding workflows.
  • Use the mock provider for deterministic tests before using a real model.
  • Verify evidence-pack behavior when adding new agent interactions, tools, or policy decisions.
  • Run relevant tests before opening a PR.

Apache-2.0 open core. Enterprise-only capabilities are labeled in context.