{config, ...}: {
  programs.agent-lib = {
    enable = true;
    lockFile = config."m3ta-home".paths.srcRoot + "/agent-sources.lock.json";

    targets.pi.enable = true;
    targets.opencode.enable = true;

    profiles.default = {
      sources = {
        m3ta-agents = {
          agents = {
            all = true;
          };
          skills = {
            all = true;
            exclude = ["brainstorming" "pdf" "systematic-debugging" "xlsx"];
          };
        };
        anthropic.skills = {
          all = true;
          exclude = ["skill-creator"];
        };
        basecamp.skills.all = true;
        kestra.skills.all = true;
        mattpocock.skills = {
          all = true;
        };
        superpowers.skills = {
          all = true;
        };
        vercel.skills.all = true;
      };
    };
  };
}
