Skip to content

Add workflows and code-execution examples with pluggable runners, advanced docs, and example task/docs wiring. - #42

Merged
vinodvx merged 2 commits into
mainfrom
examples/advanced-tools
Jul 9, 2026
Merged

Add workflows and code-execution examples with pluggable runners, advanced docs, and example task/docs wiring.#42
vinodvx merged 2 commits into
mainfrom
examples/advanced-tools

Conversation

@vinodvx

@vinodvx vinodvx commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Description

Adds two example-only custom-tool patterns that show how agents can run deterministic workflows and sandboxed code without built-in SDK tools:

agent_with_workflows — run_workflow tool backed by a pluggable WorkflowRunner (in-process default, Temporal via ORCHESTRATION_ENGINE=temporal)
agent_with_code_execution — execute_code tool backed by a pluggable SandboxRuntime (local os/exec default, Docker via SANDBOX_ENV=docker)
Also adds matching docs (examples/workflows, examples/code-execution, advanced/deterministic-execution, advanced/code-execution), updates docs.json, examples/README.md, running-examples.mdx, and wires both examples into taskfiles/examples.yml for local/temporal batch runs.

Type of change

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

Checklist

  • I have run make check
  • I have run task examples:all
  • 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

@mintlify

mintlify Bot commented Jul 9, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
agent-sdk-go 🟢 Ready View Preview Jul 9, 2026, 1:57 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@vinodvx
vinodvx merged commit abb12c9 into main Jul 9, 2026
4 checks passed
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@vinodvx
vinodvx deleted the examples/advanced-tools branch July 9, 2026 02:01
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.

1 participant