Cloudflare Worker that serves the cycls.ai Agents collection as a public REST API.
Content is managed manually in src/agents.ts — edit that file and deploy.
Live: https://cms.cycls.ai
| Method | Path | Description |
|---|---|---|
| GET | /agents |
List all agents |
| GET | /agents/:slug |
Get agent by slug |
{
"id": "f7G8U77EM",
"slug": "haseef",
"title": "Haseef",
"title_ar": "حصيف",
"categories": ["legal"],
"tags": ["legal", "saudi-law", "research"],
"tag1": "legal",
"tag2": "saudi-law",
"tag3": "research",
"description": "Specialized legal assistant for...",
"description_ar": "مساعد قانوني متخصص...",
"link": "https://haseef.cycls.ai/",
"icon": "https://framer.com/m/Haseef-1plJjA.js",
"icon_svg": "<svg ...>...</svg>"
}All agents live in src/agents.ts as a typed array — this is the single source of truth.
- Edit
src/agents.ts(add, remove, or update an agent) npm run deploy
Each agent needs a unique slug. Arabic fields (title_ar, description_ar) and
icon / icon_svg are optional.
npm install
npm run dev
# http://localhost:8787/agentsnpm run deploy- Hono — web framework
- Cloudflare Workers — runtime