Tao Chen
3fb7a03e05
Improve samples
2026-04-20 16:29:53 -07:00
Tao Chen and GitHub
0fcd71dbeb
Python: Add special handling for workflows ( #5298 )
...
* Add special handling for workflows
* Address comments
2026-04-16 17:55:45 -07:00
Tao Chen
55e0705923
Merge branch 'main' into feature/python-foundry-hosted-agent-vnext
2026-04-16 13:55:04 -07:00
Tao Chen
892d88df28
Merge branch 'main' into feature/python-foundry-hosted-agent-vnext
2026-04-15 20:59:51 -07:00
Tao Chen and GitHub
8f7fd9525d
Python: Add OpenAI types to default checkpoint encoding allow list ( #5297 )
...
* Add OpenAI types to default checkpoint encoding allow list
* Address comments
2026-04-16 12:58:28 +09:00
Tao Chen and GitHub
3225a59fd3
Python: Upgrade agentserver packages ( #5284 )
...
* Upgrade agentserver packages
* Fix new types
2026-04-15 14:16:37 -07:00
Tao Chen and GitHub
9e3983e547
Move samples ( #5281 )
2026-04-15 11:33:15 -07:00
Tao Chen and GitHub
383a2afca2
Python: Refine samples and upgrade packages ( #5261 )
...
* Refine samples and upgrade pacakges
* Upgrade to a new package that fixes a bug
* Update model env var
2026-04-15 10:46:19 -07:00
Tao Chen
0402b1aac4
Merge branch 'main' into feature/python-foundry-hosted-agent-vnext
2026-04-14 10:32:14 -07:00
Tao Chen and GitHub
7bb0feca59
Python: Move InMemory history provider injection to the first invocation ( #5236 )
...
* Move InMemory history provider injection to the first invocation
* Add tests
2026-04-14 07:13:42 +00:00
Tao Chen
448f46aff2
Merge branch 'main' into feature/python-foundry-hosted-agent-vnext
2026-04-13 16:47:46 -07:00
Tao Chen and GitHub
9ce2aafff7
Add tests and more content types ( #5235 )
...
* Add tests
* fix tests and sample
* Fix formatting
* Remove function approval contents
2026-04-13 16:12:02 -07:00
Tao Chen and GitHub
a98a585afb
Update dependency ( #5215 )
2026-04-10 16:10:35 -07:00
Tao Chen and GitHub
615ef9049f
Python: Wrapper + Samples 1st ( #5177 )
...
* Experiment
* Update dependency and add non streaming
* Add more samples
* Rename samples
* Add invocations
* Comments 1
* Comments 2
* Comments 3
* Improve README
* Add local shell sample
* WIP: Add eval and memory samples
* Update user agent prefix
* Update user agent prefix doc
2026-04-10 10:18:32 -07:00
e94cfc6aef
Python: Remove pre-release flag from agent-framework installation ( #5082 )
...
* Remove pre-release flag from agent-framework installation
* README: remove --pre from Python Quickstart pip install comment
Agent-Logs-Url: https://github.com/microsoft/agent-framework/sessions/c2444957-235e-43a1-9777-df9fdf12919b
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
2026-04-03 16:47:23 +00:00
Tao Chen and GitHub
62595b233f
[BREAKING] Python: Refactor workflows kwargs ( #5010 )
...
* Refactor workflows kwargs usage
* Update sample
* Add tests
* Update samples
* Fix formatting
* Comments
* Comments 2
* Comments 3
* Fix test and typing
2026-04-02 09:40:39 +00:00
Tao Chen and GitHub
3d87cec304
Python: Fix SK migration samples ( #5047 )
...
* Fix SK migration samples
* Fix env vars for SK
* Hard code model for sheel tool samples
2026-04-02 08:40:34 +00:00
95550dd0dc
Python: Enforce Foundry package unit test coverage ( #5036 )
...
* Enforce Foundry package unit test coverage
* Sort ENFORCED_TARGETS alphabetically in python-check-coverage.py
Agent-Logs-Url: https://github.com/microsoft/agent-framework/sessions/ed0b81ed-c267-4ee0-9655-56c4b3066fad
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
2026-04-01 17:37:27 +00:00
86f8efc8ff
Python: Fix observability samples ( #5016 )
...
* Fix observability samples
* Update python/samples/02-agents/observability/configure_otel_providers_with_parameters.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/02-agents/observability/agent_observability.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update python/samples/02-agents/observability/agent_observability.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-01 17:12:03 +00:00
Tao Chen and GitHub
e43fc8ccec
Python: Fix migration samples ( #5015 )
...
* Fix migration samples
* Fix migration samples 2
* Fix formatting
* Comments
2026-04-01 06:32:30 +00:00
Tao Chen and GitHub
016daf3b98
Python: Fix samples ( #4980 )
...
* First samples 1st batch
* Fix sample paths
* Fix workflow samples
* Fix workflow dependency
* Correct env vars
* Increase idle timeout
* Fix workflows HIL sample
* Fix more workflow samples
2026-03-31 15:20:35 +00:00
63dee91a5f
.NET: Improve observability sample ( #4917 )
...
* Improve .Net observability sample
* Update dotnet/samples/02-agents/AgentOpenTelemetry/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-26 17:33:22 +00:00
Tao Chen and GitHub
4b533608b6
Python: Update sample validation scripts ( #4870 )
...
* Update sample validation scripts
* Adjust prompt
* Update autogen-migration samples
* Add fix suggestion
* Split jobs
* Add .env
* Create trend report
* Add timestamp
* Add more env vars
* Comments
* force node24
* force node24
* force node22
2026-03-25 01:21:32 +00:00
Tao Chen and GitHub
51828abed4
[BREAKING] Python: Add context mode to AgentExecutor ( #4668 )
...
* Add context mode to AgentExecutor
* Fix unit tests
* Address comments
* Address comments
* REvise context mode and add tests
* Add chain config to sequential builder
* Add sample
* Fix pipeline
* Address comments
* Address comments
2026-03-20 18:27:02 +00:00
Tao Chen and GitHub
b1866bd279
Python: Fix missing status input for OpenAI responses API ( #4626 )
...
* Fix missing status input for OpenAI responses API
* Fix mypy
* Address comments
* Remove raw_rep restore
* Do not set status if it's None
2026-03-11 21:20:23 +00:00
Tao Chen and GitHub
55fc882ca8
Python: Fix store=False not overriding client default ( #4569 )
...
* Fix store=False not overriding client default
* Address comments
* Fix unit tests
* Fix integration tests
* Fix tests
2026-03-10 18:44:59 +00:00
Tao Chen and GitHub
1a8729d5a7
Python: Fix workflow tests pyright warnings ( #4362 )
...
* Fix workflow tests pyright warnings
* Update uv.lock
* Fix pyright
* Comments
* Update root pyproject pyright setting
* Update core pyproject pyright setting
* Update core pyproject pyright setting
2026-03-03 21:52:05 +00:00
Tao Chen and GitHub
d7abfcd444
Move sample validation script from samples/ to scripts/ ( #4400 )
2026-03-02 23:36:18 +00:00
7d374f00bb
Python: Fix samples discovered by auto validation pipeline ( #4355 )
...
* Fix samples discovered by auto validation pipeline
* Update python/samples/02-agents/devui/in_memory_mode.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-02 16:24:20 +00:00
Tao Chen and GitHub
c45d47d4b2
Python: Tuning auto sample validation workflow ( #4218 )
...
* Tuning validate-01-get-started
* Add gh token
* Add model
* enable debug log
* bump up timeout for testing purposes
* Test cli is working
* Fix end quote
* Run gh auth
* Run gh auth trail 2
* Run gh auth trail 3
* Test token
* Add zcure login
* Add zcure login 2
* Add zcure login 3
* Add zcure login 4
* Extract common actions
* Extract common actions 2
* Correct env vars
* Print outputs to action console
* Disable end-to-end samples
* Fix ruff errors
* Fix ruff errors 2
* Revert workflow changes to fix tests
* Revert workflow changes to fix tests 2
* Revert workflow changes to fix tests 3
* Revert workflow changes to fix tests 4
2026-02-27 11:45:10 +09:00
Tao Chen and GitHub
f77f40b987
Python: Fix workflow runner concurrent processing ( #4143 )
...
* Fix workflow runner concurrent processing
* Comments 1
* Add test
2026-02-24 16:36:04 +00:00
Tao Chen and GitHub
b7efaae709
Python: Automate sample validation ( #4193 )
...
* Automate sample validation: part 1
* Automate sample validation: part 2
* Create GH workflow
* comments
* Fix mypy
2026-02-24 01:08:16 +00:00
20af5ad945
Python: Add more unit test coverage gates ( #4104 )
...
* Add more unit test coverage gates
* Fix missing `files` parameter in `print_coverage_table()` docstring (#4106 )
* Initial plan
* Update print_coverage_table docstring to document files parameter
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com >
2026-02-19 22:57:21 +00:00
Tao Chen and GitHub
396807ab17
Fix workflow samples for bugbash: part 2 ( #4061 )
2026-02-19 04:20:56 +00:00
Tao Chen and GitHub
7cee839982
Python: Fix workflow samples for bugbash: part 1 ( #4055 )
...
* Fix workflow samples for bugbash: part 1
* Fix mypy
* Fix tests
2026-02-18 23:08:53 +00:00
Tao Chen and GitHub
df58775d64
Python: Improve Azure AI Search package test coverage ( #4019 )
...
* Improve Azure AI Search package test coverage
* Fix pipeline error
2026-02-17 23:19:58 +00:00
Tao Chen and GitHub
9a369c69c0
Python: Add missing system instruction attr to invoke_agent span ( #4012 )
...
* Add missing sysmte instruction attr to invoke_agent span
* Temp remove azure search gate
* fix pipeline error
2026-02-17 20:49:12 +00:00
e064f943ae
Python: Remove duplicate samples ( #3899 )
...
* Remove duplicate samples
* Correct paths
* Update readme
* Update readme
* Fix ruff
---------
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com >
2026-02-12 23:46:41 +00:00
Tao Chen and GitHub
1441fd903c
Python: Fix non-ascii chars in span attributes ( #3894 )
...
* Fix non-ascii chars in span attributes
* Comments
2026-02-12 22:53:32 +00:00
Tao Chen and GitHub
7db6c4ab4e
[BREAKING] Python: Checkpoint refactor: encode/decode, checkpoint format, etc ( #3744 )
...
* WIP: Checkpoint refactor: encode/decode, checkpoint format, etc
* WIP: Remove workflow ID in checkpoints
* Refactor checkpointing
* Add get_latest tests
* Increase test coverage
* Fix formatting
* Fix unit tests
* Fix samples
* fix unit tests
* fix pipeline
* Copilot comments
* Fix tests
* Fix more tests
* Address comments part 1
* Address comments part 2
* Comments
2026-02-11 20:57:15 +00:00
Tao Chen and GitHub
654f099c42
Python: Add more packages to unit test coverage gate ( #3831 )
...
* Add more packages to unit test coverage gate
* Trigger workflow
* Remove azure ai search
* Add purview
* Add declarative to coverage report
2026-02-11 19:37:38 +00:00
Tao Chen and GitHub
e3b4b6662b
.NET: Workflow telemetry opt in ( #3467 )
...
* feat(workflows): Make telemetry opt-in via WithOpenTelemetry()
- Add WorkflowTelemetryOptions class with EnableSensitiveData property
- Add WorkflowTelemetryContext to manage ActivitySource lifecycle
- Add WithOpenTelemetry() extension method on WorkflowBuilder
- Update all workflow components to use telemetry context:
- WorkflowBuilder, Workflow, Executor
- InProcessRunnerContext, InProcessRunner
- LockstepRunEventStream, StreamingRunEventStream
- All edge runners (Direct, FanIn, FanOut, Response)
- Telemetry is now disabled by default
- Users must call WithOpenTelemetry() to enable spans/activities
BREAKING CHANGE: Workflow telemetry is now opt-in. Users who relied on
automatic telemetry must add .WithOpenTelemetry() to their workflow builder.
* refactor: Pass telemetry context as parameter instead of via interface
- Remove IWorkflowContextWithTelemetry interface
- Add internal ExecuteAsync overload that accepts WorkflowTelemetryContext
- Public ExecuteAsync delegates with WorkflowTelemetryContext.Disabled
- InProcessRunner passes TelemetryContext when calling ExecuteAsync
- BoundContext now implements IWorkflowContext (not the removed interface)
* Add optional ActivitySource parameter to WithOpenTelemetry
Allow users to provide their own ActivitySource when enabling telemetry,
giving them better control over the ActivitySource lifecycle. When not
provided, the framework creates one internally (existing behavior).
Changes:
- Add optional activitySource parameter to WithOpenTelemetry() extension
- Update WorkflowTelemetryContext to accept external ActivitySource
- Add unit test for user-provided ActivitySource scenario
* Add component-level telemetry control with disable flags
Allow users to selectively disable specific activity types via
WorkflowTelemetryOptions. All activities are enabled by default.
New disable flags:
- DisableWorkflowBuild: Disables workflow.build activities
- DisableWorkflowRun: Disables workflow_invoke activities
- DisableExecutorProcess: Disables executor.process activities
- DisableEdgeGroupProcess: Disables edge_group.process activities
- DisableMessageSend: Disables message.send activities
Added helper methods to WorkflowTelemetryContext for each activity type
and updated all activity creation sites to use them.
* Implement EnableSensitiveData to log executor input/output
When EnableSensitiveData is true in WorkflowTelemetryOptions, executor
input and output are logged as JSON-serialized attributes in the
executor.process activity.
New activity tags:
- executor.input: JSON serialized input message
- executor.output: JSON serialized output result (non-void only)
Added suppression attributes for AOT/trimming warnings since this is
an opt-in feature for debugging/diagnostics.
* Refactor activity start methods to centralize tagging logic
Move tagging logic into WorkflowTelemetryContext methods:
- StartExecutorProcessActivity now accepts executorId, executorType,
messageType, and message; sets all tags including executor.input
when EnableSensitiveData is true
- Added SetExecutorOutput method to set executor.output after execution
- StartMessageSendActivity now accepts sourceId, targetId, and message;
sets all tags including message.content when EnableSensitiveData is true
Simplified Executor.cs and InProcessRunnerContext.cs by removing
inline tagging code. Added message.content tag constant.
* Revert Python changes
* Update samples and code cleanup
* Fix file formatting
* Add comment
* Add telemetry configuration to declarative workflow
* Remove delays in tests
* Address comments
2026-02-09 23:10:50 +00:00
Tao Chen and GitHub
d1205896a1
Fix subworkflow duplicate request info events ( #3689 )
2026-02-05 16:51:04 +00:00
a971d24f1e
[BREAKING] Python: Fix workflow as agent streaming output ( #3649 )
...
* WIP: with_output_from
* Add with_output_from to other modules; next: workflow as agent
* WIP: remove agent run events
* orchestrations
* WIP: update samples; next start at guessing_game_With_human_input.py
* Update all samples
* WIP: consolidate workflow as agent streaming vs non-streaming
* Consolidate workflow as agent streaming vs non-streaming
* Move request info event processing to a share method
* Final pass on the samples
* Fix mypy
* Fix mypy
* Comments
---------
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com >
2026-02-05 00:16:45 +00:00
Tao Chen and GitHub
0fcf075ea7
Python: Add sample on how to share a thread between agents in a workflow ( #3405 )
...
* Add sample on how to share a thread between agents in a workflow
* Fix sample
* Fix formatting
* Comments
* comment
2026-01-30 18:07:58 +00:00
Tao Chen and GitHub
0a0de4ac21
Python: Add coverage threshold gate for PR checks ( #3392 ) ( #3510 )
...
* Python: Add coverage threshold gate for PR checks (#3392 )
- Add python-check-coverage.py script to enforce coverage threshold on specific modules
- Modify python-test-coverage.yml to run coverage check after tests
- Initial enforced module: agent_framework_azure_ai at 85% threshold
- Other modules are reported for visibility but don't block merges
* Fail if module not found
* Force unit test job to run
* Comment 1
* Fix coverage check to use full package paths for submodule support
* Update report format
2026-01-29 23:58:52 +00:00
Tao Chen and GitHub
739edc7307
[BREAKING] Python: Add factory pattern to GroupChat and Magentic ( #3224 )
...
* group chat
* magentic
* Fix tests
* AI comments
* Unifiy error message and add warning
* misc
* Add overload
* Collapse orchestrator params
2026-01-28 17:00:20 +00:00
Tao Chen and GitHub
6c956ec596
Python: Add more specific exceptions to Workflow ( #3188 )
...
* Add more specifc workflow exceptions
* Fix tests
* AI comments
* Misc
2026-01-14 20:10:52 +00:00
Tao Chen and GitHub
0b152418b6
[BREAKING] Python: Refactor orchestrations ( #3023 )
...
* Group chat refactoring Part 1; Next: HIL and handoff
* Add agent approval flow; next samples
* WIP: samples
* WIP: HIL samples
* Group chat HIL working; next: handoff
* Fix group chat tool approval sample
* WIP: refactor handoff; next handoff handling
* Handoff done; next handoff samples and concurrent and sequential
* Handoff samples, concurrent, and sequential done; next Magentic
* WIP: magentic; next test with samples + HIL
* Magentic Working; next fix all samples and tests
* Fix handoff samples; next tests
* WIP: fixing tests; some orchestration as agent samples are failing
* Group chat unit tests done
* Handoff unit tests done
* Remove old orchestration_request_info and fix related tests
* Magentic unit tests done
* Fix samples
* Fix test
* Fix test 2
* mypy
* Address comments
* Update readme
* Address comments
* Address comments 2
* Replace display name
2026-01-13 18:40:26 +00:00
Tao Chen and GitHub
b4f2709b6d
Python: Workflow add option to visualize internal executors ( #2917 )
...
* Workflow add option to visualize internal executors
* Address Copilot comments
2025-12-18 14:04:03 +00:00
Tao Chen and GitHub
8fca71e5ad
[BREAKING] Python: Add factory pattern to handoff orchestration builder ( #2844 )
...
* WIP: Factory pattern to handoff
* Add factory pattern to concurrent orchestration builder; Next: tests and sample verification
* Add tests and improve comments
* Fix mypy
* Simplify handoff_simple.py
* Simplify handoff_autonoumous.py and bug fix
* Update readme
* Address Copilot comments
2025-12-16 23:38:33 +00:00
Tao Chen and GitHub
e0ff153ee9
Python: Remove warnings from workflow builder on not using factories ( #2808 )
...
* Revert concurrent
* Fix comments
2025-12-12 07:56:16 +00:00
Tao Chen and GitHub
191779ce80
Python: Add factory pattern to concurrent orchestration builder ( #2738 )
...
* Add factory pattern to concurrent orchestration builder
* Update readme
* Address AI comments
* Fix unit tests
* Fix import
* Prevent multiple calls to set participants or factories
* Add comments
* Mitigate warnings
* Fix mypy
* Address comments
* Address Copilot comments
* Fix tests
2025-12-11 01:23:28 +00:00
Tao Chen and GitHub
523305ac62
Python: Add factory pattern to sequential orchestration builder ( #2710 )
...
* Add factory pattern to sequential orchestration builder
* Use temp list to avoid override
* Add sample and some other fixes
* Fix comments
* Small fix
* Update readme
2025-12-10 18:16:10 +00:00
d7ca96923b
Python: Update fan in fan out sample to show concurrency ( #2705 )
...
* Update fan in fan out sample to show concurrency
* Update python/samples/getting_started/workflows/parallelism/fan_out_fan_in_edges.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Victor Dibia <chuvidi2003@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-08 19:53:37 +00:00
Tao Chen and GitHub
f2ed5b55f6
Python: WorkflowBuilder registry ( #2486 )
...
* Add workflow builder factory pattern
* Add internal edge groups to registered executors; next samples
* Update samples: Part 1
* register -> register_executor
* update hil samples
* Update other samples
* Update agent samples
* Update doc string
* Add new sample
* Fix mypy
* Address comments
* Fix mypy
2025-12-05 05:26:10 +00:00
Tao Chen and GitHub
d858c23bab
Fix observability module mypy error ( #2641 )
2025-12-04 19:11:05 +00:00
Tao Chen and GitHub
5353b9a2f0
Update Workflow Viz sample comments ( #2361 )
2025-11-20 23:34:27 +00:00
Tao Chen and GitHub
02af2bc0ef
Python: Remove duplicated workflow observability sample ( #2357 )
...
* Remove duplicated workflow observability sample
* Fix link
2025-11-20 21:06:12 +00:00
Tao Chen and GitHub
c361ad8d33
Python: Add checkpoint save and restore hooks to executor ( #2097 )
...
* Add checkpoint hooks
* Deprecate get_executor_state and set_executor_state
* Fix tests and samples
* Add doc strings
* Add sample
* Fix import
* Address comments and fix tests
* Address comments
* conditional import
2025-11-17 18:19:01 +00:00
Tao Chen and GitHub
580a0c431a
Python: Update hosted agent samples with agent manifests ( #2240 )
...
* Add agent manifests
* Correct agent manifest
* Correct agent manifest 2
* use resource substitution
* address comments
2025-11-15 01:10:57 +00:00
Tao Chen and GitHub
a2a9922cde
Add hosted agent samples ( #2205 )
2025-11-14 02:32:10 +00:00
Tao Chen and GitHub
348ac764e6
Add samples for web search and image gen tools ( #2155 )
2025-11-12 23:58:23 +00:00
Tao Chen and GitHub
cd9073aa11
Python: Handle agent user input request in AgentExecutor ( #2022 )
...
* Handle agent user input request in AgentExecutor
* fix test
* Address comments
* Fix tests
* Fix tests
* Address comments
* Address comments
2025-11-11 18:59:57 +00:00
Tao Chen and GitHub
448aff536a
Python: Fix Model ID attribute not showing up in invoke_agent span ( #2061 )
...
* Best effort to surface the model id to invoke agent span
* Fix tests
* Fix tests
2025-11-10 22:32:04 +00:00
9b471cc479
Add simple workflow sample that mixes agents and executors ( #1946 )
...
* Add workflow mix agent executor samples
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-05 22:40:25 +00:00
Tao Chen and GitHub
3f835c8118
.NET: AgentHostExecutor should use agent DisplayName as Executor ID ( #1840 )
...
* AgentHostExecutor should use agent DisplayName as Executor ID
* Address comments
* Remove unintended changes
* Remove unintended changes
* Fix tests and address comments
2025-11-05 22:16:53 +00:00
Tao Chen and GitHub
552f7c781d
.NET: Make sure Workflow activities are as expected ( #1903 )
...
* Make sure Workflow activities are as expected
* misc
* Copliot comments
* Fix unit tests
* Improve test stability
* Fix unit tests
* Fix formatting
2025-11-05 00:37:31 +00:00
Tao Chen and GitHub
b0ee7028a6
.NET: Add workflow as an agent with observability sample ( #1612 )
...
* Add workflow as an agent with observability sample
* Address comment
* Fix formatting
* enable sensitive data
* enable sensitive data for sub agents
* adjust aggregator handlers
2025-11-03 20:36:33 +00:00
Tao Chen and GitHub
68b6a55757
[BREAKING] Python: Remove request_type param from ctx.request_info() ( #1824 )
...
* Remove request_type param from ctx.request_info()
* Address comments
2025-10-31 14:31:15 +00:00
7431b46bf0
Add community readme ( #1817 )
...
* Add community readme
* Update COMMUNITY.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-30 20:29:01 +00:00
Tao Chen and GitHub
943d92674e
[BREAKING] Python: Replace RequestInfoExecutor with request_info API and @response_handler ( #1466 )
...
* Prototype: Add request_info API and @response_handler
* Add original_request as a parameter to the response handler
* Prototype: request interception in sub workflows
* Prototype: request interception in sub workflows 2
* WIP: Make checkpointing work
* checkpointing with sub workflow
* Fix function executor
* Allow sub-workflow to output directly
* Remove ReqeustInfoExecutor and related classes; Debugging checkpoint_with_human_in_the_loop
* Fix Handoff and sample
* fix pending requests in checkpoint
* Fix unit tests
* Fix formatting
* Resolve comments
* Address comment
* Add checkpoint tests
* Add tests
* misc
* fix mypy
* fix mypy
* Use request type as part of the key
* Log warning if there is not response handler for a request
* Update Internal edge group comments
* REcord message type in executor processing span
* Update sample
* Improve tests
2025-10-29 23:31:23 +00:00
Tao Chen and GitHub
1fbdcf8268
Python: Fix type compatibility check ( #1753 )
...
* Fix type compatibility check
* Address comments
2025-10-29 00:48:01 +00:00
Tao Chen and GitHub
31701dbb92
[BREAKING] Python: Refactor Checkpointing for runner and runner context ( #1645 )
...
* Refactor Checkpointing for runner and runner context
* exception
* Fix formatting
* Comments
* rename
* Add detailed doc string
2025-10-24 03:34:55 +00:00
Tao Chen and GitHub
7c1e3db846
.NET: AIAgentHostExecutor to use ToAgentRunResponse ( #1439 )
...
* AIAgentHostExecutor to use ToAgentRunResponse
* Only run agent in stream mode when emit event is true
2025-10-20 17:50:12 +00:00
083d0de3f3
Code clean up: Checkpoint and WorkflowBuilder ( #1557 )
...
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com >
2025-10-20 16:34:06 +00:00
Tao Chen and GitHub
fc12ab9fed
Python: Refactor RequestInfoExecutor ( #1403 )
...
* Refactor RequestInfoExecutor
* Update AI script
* Fix formatting
* Address comments
* fix unit test
2025-10-13 19:18:17 +00:00
Tao Chen and GitHub
2397795c1d
Python: Fix deadlock in Magentic workflow ( #1325 )
...
* Fix deadlock in Magentic workflow
* Fix unit test
2025-10-09 00:23:46 +00:00
Tao Chen and GitHub
c2c8ec3d4e
Python: Reorganize workflows modules ( #1282 )
...
* Reorganize modules
* Fix unit tests
* Remove submodules
2025-10-08 17:04:06 +00:00
Tao Chen and GitHub
df5477921b
.NET: Add Orchestration SK->AF migration samples ( #1044 )
...
* Add Orchestration SK->AF migration samples
* fix samples
* clean up
* Add handoff
* Comments
* Address comments
* Fix build error
* Comments
2025-10-07 18:54:41 +00:00
Tao Chen and GitHub
042099009f
.NET: Workflow observability ( #959 )
...
* Add basic Workflow telemetry
* Add sample
* Add source propagation for executor spans
* Fix tests and address comments
* Fix formatting
* Fix declarative unit tests
* Address comments
* Remove Microsoft.Extensions.AI.Agents.EnableTelemetry
* Formatting
* Formatting
* Formatting
* fix solution
* Address comments
* Add workflow json definition for serialization
* Formmating
* Address comments
2025-09-30 23:40:04 +00:00
Tao Chen and GitHub
f7e9490494
Python: Update installation instructions ( #1026 )
...
* Update installation instructions
* address comments
2025-09-30 19:28:54 +00:00
Tao Chen and GitHub
0d0231b512
Quick fix to make VS Code Extension port functional ( #941 )
2025-09-26 16:26:56 +00:00
Tao Chen and GitHub
a480ccfd16
[BREAKING] Python: Observability cleanup ( #905 )
...
* Further observability cleanup and update telemetry samples
* Add VS Code Extension config
* Fix unit tests
* Fix unit tests
* Add more comments
* Remove live metric
2025-09-25 18:50:50 +00:00
Tao Chen and GitHub
36933de345
Python: Clean left-over WorkflowCompletedEvent ( #884 )
...
* Clean left-over WorkflowCompletedEvent
* Improve comments
* Fix type check error
2025-09-24 00:52:51 +00:00
b28e1db478
Python: Allow union types in FanIn edge group ( #868 )
...
* Improve type utils
* Add sample
* Add Union
* Add more test cases
* Add more test cases
* Fix RequestResponse typing to only coerce mapping original_request
---------
Co-authored-by: Evan Mattson <evan.mattson@microsoft.com >
2025-09-23 21:02:00 +00:00
Tao Chen and GitHub
89c8418705
.NET: Workflow getting started samples in .Net (Second batch) ( #650 )
...
* Add loop and agents in workflows samples
* Add foundry agent and workflow as agent samples
* Checkpoint sample WIP
* Checkpoint sample 1 Done
* Add HIL samples
* Fix formatting
* Force folder name change step 1
* Force folder name change step 2
* Fix formatting
* Fix formatting
* Add checkpoint and rehydrate sample
* _Foundational
* Fix formatting
2025-09-10 18:47:13 +00:00
Tao Chen and GitHub
cd0587c5f6
.NET: Workflow getting started samples in .Net (First batch) ( #554 )
...
* First batch of workflow getting started samples in .Net
* Add Switch Case Edge group
* Add multi selection group
* Add comments
* Add readme
* Fix formatting
* clean project file
* WIP: Revise sample structures
* Update readme
* Update readme
* Fix file encoding
* Update sample format
* Address comments
* Fix formatting
* Remove unwanted file
* Fix unit tests
* Remove unwanted file
2025-09-05 19:10:00 +00:00
Tao Chen and GitHub
15f0147164
Add message id to OpenAI chat response update ( #561 )
2025-08-29 19:52:30 +00:00
Tao Chen and GitHub
beb5218838
Python: Clean up and formatting ( #487 )
...
* Clean up and formatting
* Fix mypy
* Bug fix
2025-08-26 20:21:32 +00:00
Tao Chen and GitHub
c0c49d31d0
Enable Mypy for Workflow ( #433 )
2025-08-15 22:57:28 +00:00
ed86baa6cb
Python: Workflow Edge Groups ( #393 )
...
* Introducing edge groups
* Add conditional and partitioning edge groups; next add samples and tests
* Add unit tests
* Add samples
* Address comments 1
* Address comments 2
* Update conditional edge group to take in cases and default
* Minor updates to sample
* Collapsing Paritioning Edge group and Conditional Edge group to source edge group
* Improve sample clarity
* Name consolidation
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
2025-08-15 18:11:35 +00:00
c8694a8c76
Python: Define Workflow and Executor APIs ( #272 )
...
* Workflow init commit
* Add samples and clean up
* ExecutionContext -> WorkflowContext
* Address comments 1
* Fix mypy
* flatting folder structure, and rename contexts
* Remove add_loop
* Add map reduce sample, remove Activation conditions
* Add AgentExecutor and allow multiple handlers per executor
* Minor improvement
* Add RequestInfoExecutor
* Add unit tests part 1
* Address comments 2
* Pre-commit update
* Add run method and more unit tests
* Add xml docs
* run_stream -> run_streaming
* message_handler -> handler
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
Co-authored-by: Evan Mattson <evan.mattson@microsoft.com >
2025-08-06 23:26:15 +00:00