run • AI Agent SDK

run: Run agents silently (production use).

run

Method

</div>

This is a method of the AgentTeam class in the agents module.

Run agents silently (production use).

Unlike .start() which shows verbose output, .run() executes silently for programmatic/production use.

Signature

python
def run(content: Any, return_dict: Any) -> Any

Parameters

ParamField Any

Optional content to add to all tasks’ context

ParamField Any

If True, returns the full results dictionary **kwargs: Additional arguments

Returns

ResponseField Any

The result of the operation.

Uses

  • start

Used By

Source

View on GitHub

praisonaiagents/agents/agents.py at line 2875