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.9.2
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.9.2.tar.gz | 63.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nerva_agent-0.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 138.5 kB
Release files / nerva_agent-0.9.2.tar.gz
| Download URL | nerva_agent-0.9.2.tar.gz |
|---|---|
| Size | 63.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28c3b28ccb564c4102b3c40afa8dc08b35a6d114bbf3bd894a99d67a77807865
|
|
BLAKE2b-256 checksum How to use checksums |
cfe707fd6be8630a1df6d8734df3f719e0dfc0a0b0aec85dc766cd148cad358a
|
| 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.9.2-py3-none-any.whl
| Download URL | nerva_agent-0.9.2-py3-none-any.whl |
|---|---|
| Size | 74.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
744cbb031d9e6d8b073b940a4c6dc03e29c7be854b6eb9faca98ade7bc7b6211
|
|
BLAKE2b-256 checksum How to use checksums |
673c10a59a658802f933646939e30b7afab1adcfdf3333fb64c7613f2e8e104c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|