New

Update runner to new packages (#67)

Dmitry Pasiukevich
2 months ago

Commit: 363d074

Date: August 13, 2025 at 3:04 PM

  • Add agent_context implementation.

It's mostly a placeholder for now.

agent.NewContext(...) will be used by the runner or agent packages to

create a new context for each agent Run call.

  • Update runner from types package.

Now runner uses new packages: session, agent.

There is only types.AgentRunConfig but this will be updated in

subsequent PRs.

Remove internal runner -- because callback logic (the only logic there)

is now moved to agent, wrapping each agent Run.

  • Update workflow agents to use new packages.

Workflow agents are now structured as:

agent/workflowagents

loopagent/

sequentialagent/

And they are created now with

loopagent.New(...)

sequentialagent.New(...)

  • review comments