NousResearch/hermes-agent · error · ValueError
no_agent=True requires a script — with no agent and no scrip
Error message
no_agent=True requires a script — with no agent and no script there is nothing for the job to run.
What it means
Error "no_agent=True requires a script — with no agent and no script there is nothing for the job to run." thrown in NousResearch/hermes-agent.
Source
Thrown at cron/jobs.py:1563
"""Shared create/update validation for job execution-mode invariants.
ONE owner for the class: create_job and update_job both call this so an
invariant enforced at create time cannot be violated through the update
door (monitor jobs silently degrading when no_agent is flipped on, etc.).
"""
if monitor_script and monitor_url:
raise ValueError(
"monitor_script and monitor_url are mutually exclusive — a job "
"can only have one monitor source."
)
if (monitor_script or monitor_url) and no_agent:
raise ValueError(
"monitor_script/monitor_url cannot be combined with no_agent=True — "
"the whole point of a monitor job is to suppress or wake the AGENT "
"based on source changes. Use a plain no_agent script job instead."
)
if no_agent and not script:
raise ValueError(
"no_agent=True requires a script — with no agent and no script "
"there is nothing for the job to run."
)
def create_job(
prompt: Optional[str],
schedule: str,
name: Optional[str] = None,
repeat: Optional[int] = None,
deliver: Optional[str] = None,
origin: Optional[Dict[str, Any]] = None,
skill: Optional[str] = None,
skills: Optional[List[str]] = None,
model: Optional[str] = None,
provider: Optional[str] = None,
base_url: Optional[str] = None,
script: Optional[str] = None,View on GitHub (pinned to c896c09c42)
Solutions
- Provide a script for the no_agent job, or set no_agent=False so the agent runs.
When it happens
Trigger: Thrown at cron/jobs.py:1563 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of NousResearch/hermes-agent@c896c09c42 (2026-08-14).
Data as JSON: /api/errors/f9c26ccab7b8ec64.
Report an issue: GitHub.