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_loop—AgentLoop.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.
Metadata
Release files for nerva-agent 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nerva_agent-0.3.0.tar.gz | 52.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nerva_agent-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 115.3 kB
Release files / nerva_agent-0.3.0.tar.gz
| Download URL | nerva_agent-0.3.0.tar.gz |
|---|---|
| Size | 52.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
979bf0741b8d8816c0cb393de6f471808e012fea706d53b4d94a94de7cc0d367
|
|
BLAKE2b-256 checksum How to use checksums |
ea8c579486e968c73b06cb10e08c80492d768ee7acb178639cc778e9816a3bab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|
Release files / nerva_agent-0.3.0-py3-none-any.whl
| Download URL | nerva_agent-0.3.0-py3-none-any.whl |
|---|---|
| Size | 62.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38b8c534b80463fe996da5f01ea56ee1d85ef2f482ebe03933d5d93490f9c737
|
|
BLAKE2b-256 checksum How to use checksums |
01e9b1a2ce6298a51740737fb5425214860599eca7206b5b371d6c1007927cfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|