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.9.2.tar.gz (15.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.9.2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nerva_core-0.9.2.tar.gz
  • Upload date:
  • Size: 15.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.9.2.tar.gz
Algorithm Hash digest
SHA256 5d70a512fb9e7f0ed0b4cd1b76b4a53b5c142628fa4820a172ab784c3b16699b
MD5 802c9e0e2f7961984a94e3f04e7a449d
BLAKE2b-256 7c30b7efb5cf9d600ba805bac2859fa08e90d8a206e5a8f9c4ff2c980e9d35f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nerva_core-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 16.3 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.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 292e145c001f6ab8ac13d06ee39970ba820f44b8102f830ba32c8ab1812f8c1b
MD5 19a3439282ffa3adc0e4b881a766d257
BLAKE2b-256 3eb5150fb9f9dff8a4770498eb5e4858f5ae52853a4653605f12420c67f5c11f

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