Skip to content

Support Dynamic Workflows for agents other than main.agent.md #109

Description

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  1. Create an agent file whose name is not main.agent.md, such as report.agent.md.
  2. Add workflows.enabled: true to its front matter.
  3. Start the Function App.
  4. Observe that the setting is ignored and the runtime logs that workflows.enabled is only honored on main.agent.md.

Any log messages given by the failure

workflows.enabled is only honored on main.agent.md; ignoring workflows for agent <name>

Expected/desired behavior

Any discovered *.agent.md should be able to opt into Dynamic Workflows independently. Workflow control tools, the system prompt addendum, and the effective workflow-tool allowlist should be scoped to that agent rather than being restricted to the filename main.agent.md.

OS and Version?

All supported platforms.

Versions

Dynamic Workflows v1.

Mention any other details that might be useful

The current implementation marks an agent as main only when its source filename exactly equals main.agent.md (config/loader.py), and app.py only calls build_workflow_integration for that agent. This forces applications to rename an otherwise appropriately named agent merely to enable workflows and prevents multiple workflow-enabled agents in one Function App.

Acceptance criteria should include per-agent enable/disable behavior, per-agent workflows.exclude, isolation of tool inventories and system addenda, and tests with multiple workflow-enabled agents. Related umbrella proposal: #90.


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions