--- name: catagent description: Compute catalyst adsorption energies (metal, bimetallic, high-entropy alloy, rutile oxide surfaces) with a machine-learned interatomic potential through CatAgent (https://catagent.schoung.com). Two modes - (1) remote, call the public CatAgent HTTP API and let ccel-mace run MACE/UMA, (2) local, import the vetted catagent_harness.py next to your own MACE install. Triggers - /catagent, "adsorption energy", "흡착 에너지", "binding energy on Pt", "site scan", "HEA OH", "rutile cus", "coverage series", "CO on Cu facets", "catagent" --- # CatAgent skill CatAgent turns one plain-language question ("CO adsorption energy on Pt(111) by site") into a relaxed slab + adsorbate calculation with a machine-learned interatomic potential (MLIP) and returns numbers, a plot and a rendered structure. Web UI: https://catagent.schoung.com. Source of this skill: https://github.com/s-choung/Research-Skills/tree/master/skills/catagent. Use it when the user wants demo-grade (fmax 0.1 eV/A, 60 steps, 36-atom slab) adsorption energies in about 1 to 4 minutes, not publication-grade DFT. ## 0. Decide the mode | Mode | When | What you need | |---|---|---| | **Remote** (default) | You have internet and no MLIP installed | `curl` only. Compute runs on ccel-mace (16-core CPU). One job at a time, 6 min hard cap. | | **Local** | User has `mace-torch` (or `fairchem-core`) installed and wants to keep data local | `catagent_harness.py` from this folder, `ase >= 3.23`, `mace-torch` | Both modes use the same harness API (section 3), so a script written for one runs in the other. ## 1. Remote mode: HTTP API Base URL `https://catagent.schoung.com`. All bodies are JSON. Long stages return `{"jobId": ...}` immediately; poll `GET /api/simjob?id=` every 5 s until `status == "done"`, then read `.result`. ### 1.1 Plan (LLM, ~5 s) ```bash curl -s https://catagent.schoung.com/api/plan \ -H 'content-type: application/json' \ -d '{"message": "Pt(111)에서 CO 흡착 에너지를 ontop, bridge, fcc, hcp site별로 비교해줘.", "model": "openai/gpt-6-luna"}' ``` Response: `{"parsed": {"status": "spec"|"need_clarification", "tags": {...}, "spec": {...}}, "raw": "...", "usage": {...}}`. If `status` is `need_clarification`, ask the user the listed `questions` and call `/api/plan` again with the answer appended to the message. Keep the whole `spec` object; every later stage takes it. ### 1.2 Write the script (LLM, ~15 s) ```bash curl -s https://catagent.schoung.com/api/codewrite \ -H 'content-type: application/json' \ -d '{"spec": , "mlip": "mace-small", "query": "", "model": "openai/gpt-6-luna"}' # -> {"jobId": "job_..."} then poll /api/simjob?id=job_... ``` `result.code` is a python script that only imports from `catagent_harness`. `mlip` is one of `mace-small` (default, fastest), `mace-medium`, `uma-s`. You may also write the script yourself with section 3 and skip this call. ### 1.3 Static audit (LLM, ~3 s, optional but recommended) ```bash curl -s https://catagent.schoung.com/api/audit -H 'content-type: application/json' \ -d '{"spec": , "code": "