from_template
Method
This is a method of the Agent class in the agent module.
Create an Agent from a template.
Signature
def from_template(uri: str, config: Optional[Dict[str, Any]], offline: bool) -> 'Agent'
Parameters
Template URI (local path, package ref, or github ref)
No description available.
No description available.
Returns
Configured Agent instance
Usage
- "./my-template" (local path)
- "transcript-generator" (default recipes repo)
- "github:owner/repo/[email protected]" (GitHub with version)
- "package:agent_recipes/transcript-generator" (installed package)
config: Optional configuration overrides
offline: If True, only use cached templates (no network)
**kwargs: Additional Agent constructor arguments