Skip to content

[Feature]: support using OpenCode agents in custom hats #147

@francocalvo

Description

@francocalvo

Use case

When using a multi hat ralph loop, it would be excellent to be able to pass the --agent flag to Opencode.
For example, I already have the 'planner' and 'builder' agents for me, with it's own permissions, default model and so on.

Proposed solution

Add the 'agent' property to the custom hat configuration.

Area

CLI

Backend(s) impacted

No response

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions