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.8.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.8.0.tar.gz | 62.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nerva_agent-0.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 136.6 kB
Release files / nerva_agent-0.8.0.tar.gz
| Download URL | nerva_agent-0.8.0.tar.gz |
|---|---|
| Size | 62.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbce52aa1288cdd2b0b787a9b9b2adfbe5afbf9821022856205ac03c5600f4c5
|
|
BLAKE2b-256 checksum How to use checksums |
28a38a6b327488a43b12f99587acab7fd8eb84552a293c9d76175658f696615b
|
| 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.8.0-py3-none-any.whl
| Download URL | nerva_agent-0.8.0-py3-none-any.whl |
|---|---|
| Size | 73.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f63fbca6bf0576726a568eee42af625bc2f0b36ceaf62710715a8834188e6b18
|
|
BLAKE2b-256 checksum How to use checksums |
d85ca79fc6b973cf97f97aa8221f1be3275bb53c68182c8c3e859854c610df97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|