Skip to content

add parsl to agents #72

@miketynes

Description

@miketynes

Right now the agents perform computation themselves. We want to achieve concurrency through parsl.

The SC25 MOFA example is an OK starting point (https://github.com/academy-agents/sc25-agentic-mof-workflow/tree/main/mofa/agentic) but we also want to do things a little more explicitly and avoid the parsl decorators if we can. We can use a ParslPoolExecutor for this: https://parsl.readthedocs.io/en/stable/stubs/parsl.concurrent.ParslPoolExecutor.html#parsl.concurrent.ParslPoolExecutor
give each agent one of these and then handle work by pulling from the agent's queue, and use wrap_future for compatibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions