Skip to content

Add in-process local runtime and dual-runtime examples with Task automation#19

Merged
vinodvx merged 2 commits into
mainfrom
feat/in-process-runtime
Jun 4, 2026
Merged

Add in-process local runtime and dual-runtime examples with Task automation#19
vinodvx merged 2 commits into
mainfrom
feat/in-process-runtime

Conversation

@vinodvx

@vinodvx vinodvx commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Description

  • Add in-process runtime — zero setup, no Temporal required; full feature parity (tools, MCP, A2A, sub-agents, streaming, AG-UI, approvals, conversation, observability)
  • Sub-agents run recursively in-process with all events fanning in to the parent stream automatically
  • Refactor sub-agent routing to pluggable per-runtime design — each runtime owns its own route structures; pkg/agent is runtime-agnostic
  • Refactor examples to support both runtimes via AGENT_RUNTIME=local (default, zero setup) / AGENT_RUNTIME=temporal
  • Add Task-driven examples automation to run the suite on local and Temporal, with combined runs and pass/fail reports
  • Update docs — README and CONTRIBUTING for dual-runtime support

Test plan

  • [*] go test ./... passes
  • [*] In-process examples run without Temporal server
  • [*] Temporal examples run with Temporal server
  • [*] Sub-agent delegation and event fan-in verified on both runtimes
  • [*] Depth limiting enforced on both runtimes
  • [*] task examples:local, task examples:temporal, and task examples:all complete with reports

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • [*] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • [*] Documentation update
  • [*] Refactor / chore

Related issues

Close #12

Checklist

  • [*] I have run make lint and make test locally
  • [*] I have run make tidy if I added or removed dependencies
  • [*] Commit messages follow conventional commits (e.g. feat:, fix:, docs:)
  • [*] I have added/updated tests for my changes
  • [*] Documentation is updated if needed

vinodvx added 2 commits June 3, 2026 00:02
…gent routing to pluggable SubAgentSpec architecture, and update docs
…ports to validate all examples with multiple runtimes
@vinodvx vinodvx merged commit 375eb3d into main Jun 4, 2026
5 checks passed
@vinodvx vinodvx deleted the feat/in-process-runtime branch June 4, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Local runtime — agent loop

1 participant