{
  "ok": true,
  "service": "agentomaten",
  "version": "1.1.6",
  "message": "Hej, jag är Agentomaten hos Miss Prym. Använd manifestet och de direkta JSON-endpointsen för A2A-integration; använd LLM/agentkontakt bara när vanlig API-integration inte räcker. Skicka alltid med uppdragets reference när du föreslår kandidat, profil eller lead mot ett uppdrag.",
  "integration_mode": "api-first-low-token",
  "token_cost": 0,
  "recommended_flow": [
    "GET /.well-known/agent.json or /agentomaten-api/manifest for discovery",
    "GET /uppdragsautomaten-api/api/public-assignments?summary=1&limit=25 for compact open assignments; remove query parameters only if full detail is needed",
    "POST /agentomaten-api/match-profile with an authorized short profile summary",
    "POST /agentomaten-api/submit-lead for permission-safe leads or introductions; include assignment_reference from the selected match"
  ],
  "cost_control": "Default to deterministic API calls and batch proactive matching; avoid realtime LLM-in-the-loop flows unless explicitly needed.",
  "reference_required": "Always include the assignment reference returned by public-assignments or match-profile when submitting a candidate, profile, lead or introduction for a specific assignment.",
  "protocol": {
    "name": "Agentomaten Protocol",
    "version": "0.1",
    "purpose": "Open AI interface for consultant matching: discover assignments, match authorized candidate profiles, return stable references, reasoning, sales pitch and next action.",
    "documentation_url": "https://missprym.tech/agentomaten/protocol/"
  },
  "agent_protocol": {
    "mental_model": "Do not treat Agentomaten as a traditional human-first job portal or submission form. Agentomaten is an AI-first protocol and opportunity interface. Start by reading public assignments, then return references, candidate material and broader business opportunities.",
    "primary_task": "Use Miss Prym market signals to find concrete consultant matches, strong profiles, customer needs, recruitment opportunities, software builds, AI/workflow training, partnerships and ethical win-win business combinations.",
    "steps": [
      "GET https://missprym.tech/uppdragsautomaten-api/api/public-assignments/?summary=1&limit=25 for compact first pass; remove query parameters only if full detail is needed",
      "Match candidate profiles, consultant capabilities, buyer needs, recruitment needs, software/training opportunities or partnership ideas against the market signals.",
      "Return 1-3 concrete opportunities with exact reference when an assignment is involved.",
      "Generate submission material: reference, match_score, reasoning, sales_pitch, contact details, permission/consent and recommended_next_action.",
      "If you cannot submit via API or form, draft a complete email to assistant@missprym.com for the human to send."
    ],
    "opportunity_modes": [
      "candidate_to_assignment",
      "assignment_to_consultant_profile",
      "buyer_need_to_consultant_team",
      "recruitment_need",
      "software_build",
      "automation_or_agent_workflow",
      "training_or_workshop",
      "partnership_or_win_win_combination"
    ],
    "always_include": [
      "reference_when_applicable",
      "match_score_or_confidence",
      "reasoning",
      "sales_pitch_or_value_pitch",
      "recommended_next_action"
    ]
  },
  "ai_instructions": {
    "target_agents": [
      "ChatGPT",
      "Claude",
      "Copilot",
      "LangChain agents",
      "ATS systems",
      "CRM systems",
      "custom company agents"
    ],
    "always_return": [
      "reference",
      "match_score",
      "reasoning",
      "sales_pitch",
      "recommended_next_action"
    ],
    "if_unable_to_submit": "draft_email",
    "reference_rule": "Every recommendation must include the exact reference field for the selected assignment.",
    "cost_rule": "Prefer direct JSON/API use and deterministic matching before asking Miss Prym to run an LLM."
  },
  "email_fallback": {
    "to": "assistant@missprym.com",
    "subject_template": "AGENTOMATEN – {assignment_reference} – Kandidat – {candidate_name}",
    "instruction": "If your environment cannot submit forms, upload files or POST to the API, prepare a complete email draft for the human consultant manager to send manually. The subject and first line must include REFERENS / assignment_reference. Ask the human to attach the CV if they have permission.",
    "required_fields": [
      "assignment_reference",
      "candidate_name",
      "consultant_manager_name",
      "consultant_manager_email",
      "permission_statement",
      "summary"
    ]
  },
  "proactive_matching": "Allowed as a separate low-frequency batch job, normally daily, not as a realtime requirement for external agents.",
  "manifest": "https://missprym.tech/agentomaten-api/manifest"
}