CoolFace
Apppublic

elmatador0197/Hermes-Crewai

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
App README

Hermes External Swarm — CrewAI

Multi-agent crew (Researcher → Writer) for the Hermes Agent edge platform. CrewAI = orchestration commander; LLM via LangChain ChatGroq (Groq, fast). Runs as Python on HF Spaces because it cannot run native on Cloudflare edge.

API

  • —GET /health → { "ok": true, "engine": "crewai" }
  • —POST /run (header Authorization: Bearer <PROXY_TOKEN>)
  • —body: { "topic": "..." } (also accepts task)
  • —returns: { "ok": true, "result": "...", "engine": "crewai", "retries": 0, "trace_id": "..." }

Secrets (HF Space → Settings → Variables and secrets)

  • —GROQ_API_KEY — LLM provider key (server-side only)
  • —PROXY_TOKEN — shared secret, must match the Worker's PROXY_TOKEN
  • —MODEL_NAME (optional) — default llama-3.3-70b-versatile
⚠️ HF free tier sleeps after ~48h idle. The edge Worker degrades gracefully ({ ok:false, fallback:true }) when this Space is offline. Not an SLA.