FabricFabricHarness
Examples

Examples

Runnable agents demonstrating fabric-harness features and deploy targets.

Every example below is a self-contained workspace under examples/ in the fabric-harness repo. Clone, install, and run.

Quickstart

git clone https://github.com/Fabric-Pro/fabric-harness
cd fabric-harness/examples/<example-name>
pnpm install
pnpm fh agents             # list defined agents
pnpm fh run <agent-name>

By feature

ExampleWhat it showsDeploy target
hello-worldBare minimum: one agent, one prompt.Node
minimalStrict-import variant — no defaults injected.Node
with-configWorkspace-level config.ts overrides.Node
with-approvalImperative approval gate via session.approval.request().Node
with-checkpointSnapshot a session, restart from a labeled checkpoint.Node
with-skillsession.skill() invocation with typed result.Node
with-taskLong-running tasks with checkpoints.Node / Temporal
with-toolsCustom tool schemas.Node
with-local-shellLocalSandboxEnv shell tool.Node

Deploy targets

ExampleTarget
with-dockerDocker sandbox
with-kubernetesKubernetes pod
with-cloudflare-sandboxCloudflare Containers sandbox
with-cloudflare-workers-aiCloudflare Workers AI binding (zero-API-key)
with-azureAzure ACA / AKS
with-daytonaDaytona remote sandbox
with-modalModal sandbox
with-s3-sourceMount an S3 prefix as a filesystem source
with-temporalDurable Temporal worker

Realistic use cases

ExampleWhat it does
code-reviewReview a PR diff, produce inline comments.
issue-triage-ciGH Actions agent that triages new issues.
bug-reproducerGenerate a minimal reproduction from a bug report.
data-analystMount a CSV; answer SELECT-style questions.
support-agentKB-grounded customer support.
support-agent-cloudflare-r2Same, deployed on Cloudflare with R2-backed KB.
support-agent-foundrySame, on Azure AI Foundry Hosted Agent.
changelog-writerDrafts release notes from git log.
incident-runbookRuns a runbook against an alert payload.
api-docs-generatorGenerate API docs from source.
schema-migrationPlan a database schema migration.
test-generatorGenerate Vitest tests from source.
dependency-auditorAudit npm dependencies for risk.
coding-agent-liteMinimal Claude-Code-style coding agent.
remote-coding-agentCoding agent in a remote sandbox.
release-notesCompose release notes from PRs and commits.
voice-data-collectorVoice intake — Realtime API + bring-your-own audio I/O.

Need a connector?

When no example covers the provider you want, scaffold one in your own project:

fh add daytona | claude
fh add https://your-provider.example.com --category sandbox | claude
fh add daytona --pr           # open a draft PR with a stub

See the connector catalog for the spec.