Skip to main content

Local tool-calling agent engine: a model-agnostic loop over local LLMs (the Revenant harness).

Project description

nerva-agent

The agent engine behind Revenant: a model-agnostic, tool-calling loop over local LLMs. Provides the loop, the tool registry, a dual tool-call protocol (native tool_calls + a prompt-based fallback for models without a tool template), read/write/edit/bash tools, task-based model routing, and hardware-aware capacity tuning.

pip install nerva-agent

What's in it

  • agent_loopAgentLoop.run(goal): call → parse action → (approve) → dispatch → observe → repeat.
  • agent_tools / agent_protocol — tool registry + parse_action (native + prompt-based).
  • agent_fs_tools / agent_edit_tools / agent_bash_tool — path-confined, approval-gated tools.
  • agent_router — route each turn to the best local model per role.
  • agent_capacity / agent_native_tools — hardware detection + native-tool auto-detection.

Depends on nerva-core. Powers revenant-cli.

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nerva_agent-0.1.0.tar.gz (26.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nerva_agent-0.1.0-py3-none-any.whl (30.7 kB view details)

Uploaded Python 3

File details

Details for the file nerva_agent-0.1.0.tar.gz.

File metadata

  • Download URL: nerva_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for nerva_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bfe8b4528d772eb9b72fbfd36f1d24fa012595ad458f72a4f1d12b388ac961ea
MD5 2e0e264f4723944aa9e27ce2d1783d26
BLAKE2b-256 ff169523556edd8257636fea37a80f4acf53d66319e15b33505dec6e5db757d1

See more details on using hashes here.

File details

Details for the file nerva_agent-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nerva_agent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.1

File hashes

Hashes for nerva_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e8d037e69331eabdde85d4e660785306001a0b674fe2d9c832bdfbd3bb823a6
MD5 8464477cd4f2e10ce93eaeb9c1081124
BLAKE2b-256 d168534620d1114695ad2e3e3899fdf42639f1d430c2395933e6d93c71213eee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page