Skip to main content

Offline local-LLM layer (Ollama / OpenAI-compatible) with SQLite storage and profiles.

Project description

nerva-core

The offline local-LLM layer for the Revenant toolchain: a thin client for Ollama / OpenAI-compatible local servers, plus SQLite-backed conversation storage, model profiles, and a local memory index. Pure standard library — no third-party dependencies.

pip install nerva-core

What's in it

  • local_llm_writerChatConfig, call_model, call_model_message (native tool_calls), stream_model — for Ollama and OpenAI-compatible backends.
  • aibot_storage — SQLite conversation store (source of truth) + summaries + episodes.
  • aibot_profiles — model / style / generation profiles and role resolution.
  • aibot_memory — a local semantic-recall adapter.

Used by nerva-agent (the agent engine) and revenant-cli (the coding 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_core-0.2.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

nerva_core-0.2.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file nerva_core-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for nerva_core-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e9bac4b348c9bb839e49b720ffff8fbf24c2138a5a8534007e52aa489c1d242e
MD5 13b0d4535d8ccd739d5a4c162a475caa
BLAKE2b-256 920edac940927f4f09a8508a229944015308d8349ba1e846a3fe12dae3b5d39d

See more details on using hashes here.

File details

Details for the file nerva_core-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for nerva_core-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1249b3e890c914ad2ac823025d21582138216d2a70349d50a81cb47aa90abf62
MD5 5b5d3e0550aee65c3bd8d24ec22b0320
BLAKE2b-256 f18e1afb6415b4e0716f47cfcee659a8cf1f55398ff38c95f9a6391972728b7e

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