Skip to content

Support serializable object as input to agent run #2329

@strawgate

Description

@strawgate

Description

I find myself building agents and always having to either 1) place their inputs in their deps_type 2) forcing the caller to know what information to provide the Agent in the user prompt or 3) providing a helper function that translates input into instructions before calling run

Placing required inputs in deps_type is awkward as ideally you'd share dependencies but inputs are not often shared when running multi agent

It would be nice if the agents had a definable input_model -- this would remove a lot of boiler plate for making agents callable as tools (and thus callable by other agents)

References

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions