Skip to content

armgit / chops

Public Imported from GitHub
0

Your AI agent skills, finally organized. A macOS app to browse, edit, and manage skills across Claude Code, Cursor, Codex, Windsurf, and Amp.

379 B
Raw Blame
import Foundation

/// Returns the right transport for a given agent ID. Both supported agents are driven
/// directly via the user's installed CLI.
@MainActor
enum AgentFactory {
    static func make(for agentId: AgentID) -> any AgentSession {
        switch agentId {
        case .claude: return ClaudeCLIAgent()
        case .codex:  return CodexCLIAgent()
        }
    }
}