Contributing
Aquifer is built to be extended without forking the core. Two rules govern every contribution:
- Neutrality. Extract objective facts only — no judgments, scores or verdicts.
- Lean core. The core depends on interfaces, never on concrete adapters.
The interfaces
| Interface | Responsibility |
| --- | --- |
| Connector | Pull from a source and normalise to Document |
| Embedder | Text → vector |
| VectorStore | Persist and search chunks plus metadata |
| Inferencer | Structured-output LLM client |
| SemanticIndexer | Extract neutral metadata from a document |
| Interceptor | Cross-cutting hooks and authorization |
Adding a connector
- Declare the source type.
- Implement the
Connectorinterface. - Register it in the connector factory.
- Extend discovery so the source is created.
- Register a semantic prompt template.
- Add tests and evaluation examples.
Adding an interceptor
Interceptors are the seam for cross-cutting behaviour — for example restricting queries to a tenant's repositories before retrieval. Register them through configuration.
Licensing
Distributed under BSL 1.1. By contributing you agree that your contributions are licensed under the same terms.
Canonical documentation: contributing guide