Skip to content
System One

keeltrace/hermes-nerve

An asynchronous Jev integration for Hermes Agent that supervises turn admission, tool-call gating and context curation in the background, using up to sixteen typed choice, score and noul questions per call.

keeltrace/hermes-nerve on GitHub

Stars
21
Forks
4
Language
Python
License
MIT
Last push
22 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

    a=p.parse_args()
    c=OpenJevClient(base_url=a.base_url,token=a.token or None,expected_identity=a.expected_identity or None,timeout=a.timeout)
    version=c.version()
    r=c.system_one(state={'message':'duplicate charge; please refund today'},questions={
        'route':{'type':'choice','instructions':'Which team?','criteria':{'billing':'charges/refunds','technical':'bugs'}},
        'urgent':{'type':'noul','instructions':'Does this need prompt handling?'}
    })
    assert r.provider=='OpenJev' and r.transport=='openjev-local-http' and not r.live_provider_call
    assert set(r.answers)=={'route','urgent'}
    print(json.dumps({'ok':True,'provider':r.provider,'model':r.model,'version':version,'usage':r.usage,'latency_ms':round(r.latency_ms,3)},sort_keys=True,default=str))
    return 0
if __name__=='__main__': raise SystemExit(main())

View in scripts/check_openjev_sidecar.py

Open on GitHub

More like this

Use cases this is tagged with