Metadata-Version: 2.4
Name: opencontext-core
Version: 1.1.0
Summary: Core context engineering runtime for OpenContext Runtime
Author: OpenContext Runtime maintainers
License-Expression: MIT
Project-URL: Homepage, https://github.com/CesarMSFelipe/OpenContext-Runtime
Project-URL: Documentation, https://github.com/CesarMSFelipe/OpenContext-Runtime#readme
Project-URL: Issues, https://github.com/CesarMSFelipe/OpenContext-Runtime/issues
Project-URL: Source, https://github.com/CesarMSFelipe/OpenContext-Runtime
Keywords: ai,llm,context-engineering,security,prompt-engineering
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Security
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.6
Requires-Dist: PyYAML>=6.0
Requires-Dist: tree-sitter>=0.24
Requires-Dist: tree-sitter-python>=0.25
Requires-Dist: watchdog>=6.0
Requires-Dist: rich>=13.0
Requires-Dist: prompt-toolkit>=3.0
Dynamic: license-file

# opencontext-core

Core, provider-neutral runtime for OpenContext Runtime.

This package contains project indexing, retrieval, context packing, redaction, prompt assembly,
trace persistence, safety policy checks, and runtime-first setup APIs. It intentionally avoids
FastAPI, CLI framework imports, provider SDKs, vector databases, LangChain, and LlamaIndex.

Most integrations should start with:

```python
from opencontext_core import OpenContextRuntime

runtime = OpenContextRuntime()
runtime.setup_project(".")
prepared = runtime.prepare_context("Review authentication", max_tokens=6000)
```
