Metadata-Version: 2.4
Name: oqllm-proxy
Version: 0.8.2
Summary: High-throughput multi-format reverse proxy for POA and LLM decisions
Project-URL: Homepage, https://proxy.oqllm.com
Project-URL: Source, https://github.com/oqllm/proxy
License: CLONERD / WELLMANIFEST PROPRIETARY SOURCE CODE LICENSE & STRICT ANTI-AI / ANTI-MINING RESERVATION OF RIGHTS
        
        Copyright (c) 2026 Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410. All rights reserved.
        Właścicielem oprogramowania jest Tomasz Sapletta Prototypowanie.pl NIP: 5881918662, REGON: 220665410.
        
        ================================================================================
        IMPORTANT NOTICE - PROPRIETARY AND CONFIDENTIAL
        ================================================================================
        
        This software, source code, documentation, specifications, schemas, models,
        algorithms, and associated digital assets ("the Software") are the confidential
        and proprietary intellectual property of Tomasz Sapletta Prototypowanie.pl
        (NIP: 5881918662, REGON: 220665410) and its licensors.
        
        The Software is NOT licensed under any open source, free software, or
        source-available license (such as MIT, Apache 2.0, BSD, GPL, AGPL, BSL, or SSPL).
        All rights not expressly granted under a separate, signed written commercial
        agreement executed by Tomasz Sapletta Prototypowanie.pl are strictly reserved.
        
        ================================================================================
        SECTION 1. STRICT PROHIBITION ON ARTIFICIAL INTELLIGENCE & MACHINE LEARNING INGESTION
        ================================================================================
        
        Under no circumstances may any portion of the Software, whether in human-readable
        source code, compiled binary, abstract syntax tree (AST), intermediate representation,
        documentation, ticket history, or commit metadata, be:
        
        1.1. Ingested, scraped, crawled, harvested, indexed, tokenized, cached, or stored
             for the purpose of training, pre-training, fine-tuning, evaluating, or weighting
             any artificial intelligence system, machine learning model, large language
             model (LLM), code-generation model, neural network, diffusion model, or
             multimodal model.
        
        1.2. Used by, or fed into the training datasets, prompt contexts, retrieval-augmented
             generation (RAG) stores, vector databases, or telemetry caches of any commercial
             or non-commercial AI system, including but not limited to:
             - GitHub Copilot / Microsoft Copilot (Microsoft Corporation)
             - OpenAI ChatGPT, Codex, GPT-4, GPT-5, o-series, and related APIs (OpenAI Inc.)
             - Google Gemini, PaLM, Codey, Vertex AI, and DeepMind systems (Google LLC / Alphabet)
             - Anthropic Claude, Constitutional AI, and related models (Anthropic PBC)
             - Meta LLaMA, Code Llama, and related foundation models (Meta Platforms, Inc.)
             - Amazon CodeWhisperer, Bedrock, and Titan models (Amazon.com, Inc.)
             - Mistral AI, Cohere, Cursor AI, Tabnine, Replit Ghostwriter, or any automated
               code-synthesis engine or AI coding assistant.
        
        1.3. Processed or analyzed by any automated tool, bot, crawler, or scraper to generate
             synthetic code, code suggestions, autocomplete suggestions, embeddings, or
             derivative software models.
        
        ================================================================================
        SECTION 2. STATUTORY RESERVATION OF RIGHTS (EU DIRECTIVE 2019/790)
        ================================================================================
        
        2.1. In accordance with Article 4(3) of Directive (EU) 2019/790 of the European
             Parliament and of the Council on copyright and related rights in the Digital
             Single Market, the rights holder hereby EXPRESSLY RESERVES ALL RIGHTS
             regarding Text and Data Mining (TDM) for this Software, its source repositories,
             documentation, schemas, and all associated materials.
        
        2.2. Any extraction, automated reading, indexing, or reproduction of the Software
             for text and data mining purposes within the meaning of Directive (EU) 2019/790
             is strictly prohibited without prior written authorization from the rights holder.
        
        2.3. This reservation applies worldwide and is declared in machine-readable form
             within the repository metadata, headers, and this License specification.
        
        ================================================================================
        SECTION 3. HOSTING & PLATFORM PREEMPTION CLAUSE
        ================================================================================
        
        3.1. The presence of this source code or repository on any third-party hosting service,
             code forge, version control platform, or cloud provider (including but not
             limited to GitHub, GitLab, Bitbucket, or AWS) does NOT constitute a waiver,
             license grant, or implied consent to the hosting provider, its parent,
             subsidiaries, or third parties to:
             (a) use the Software for machine learning training, telemetry harvesting, or
                 model improvement;
             (b) distribute or reproduce the Software to other users or automated agents;
             (c) index the Software in any public search or retrieval system.
        
        3.2. Any terms of service, platform agreements, or automated licenses purporting
             to grant the platform operator an implied, royalty-free, or transferable
             license to utilize hosted code for artificial intelligence development, model
             training, or feature synthesis are hereby explicitly rejected, preempted,
             and declared null and void with respect to this Software.
        
        ================================================================================
        SECTION 4. PROHIBITED USES & RESTRICTIONS
        ================================================================================
        
        Except as expressly authorized under a valid, executed commercial enterprise license
        with Tomasz Sapletta Prototypowanie.pl, you may NOT:
        - Copy, modify, adapt, translate, reverse engineer, decompile, or disassemble the Software.
        - Distribute, sublicense, rent, lease, lend, sell, or publicly display the Software.
        - Use the Software to provide competitive time-sharing, SaaS, cloud twin, or virtualization services.
        - Remove, alter, or obscure any proprietary notices, copyright labels, or license files.
        
        ================================================================================
        SECTION 5. ENFORCEMENT & REMEDIES
        ================================================================================
        
        Any breach of this License, including unauthorized scraping, tokenization, or ingestion
        into an artificial intelligence system, constitutes willful copyright infringement,
        unauthorized access, and breach of contract. Tomasz Sapletta Prototypowanie.pl reserves
        the right to seek immediate injunctive relief, statutory damages, compensation for commercial
        harm, and mandatory destruction of all derivative model weights, embeddings, and training
        caches containing representations of the Software.
        
        For licensing inquiries and commercial authorization, contact: legal@clonerd.com / tom@prototypowanie.pl
License-File: LICENSE
License-File: LICENSE.md
Requires-Python: >=3.10
Provides-Extra: fleet
Requires-Dist: subactor-subllm<2,>=1.14; extra == 'fleet'
Provides-Extra: test
Requires-Dist: pytest>=8.0.0; extra == 'test'
Provides-Extra: urtlog
Requires-Dist: uritime-urtlog>=0.3.0; extra == 'urtlog'
Description-Content-Type: text/markdown

# oqllm-proxy

High-throughput, ultra low-latency (<50ms) reverse proxy and multi-format router for the **Procedure-Oriented Architecture (POA)** and **subllm** ecosystem.

## Features

- **Multi-Format Ingestion:** Accepts queries across 4 distinct formats:
  - `proc://` URIs (e.g. `proc://dockuri/ops/container/list`)
  - `urn:` URN blocks (e.g. `urn:paxlet:t:dash#view`)
  - Natural Language in Polish and English (`"wylistuj kontenery"`, `"scan invoices"`)
  - Voice Transcriptions (`"Hey Asa, wykonaj zadania"`)
- **Microsecond Decision Engine:** Typical decisions execute in **0.01ms – 0.05ms** (<50ms limit).
- **SubLLM Integration:** Seamless failover to `subllm.decisions` System One router for high-ambiguity situations.
- **OpenAI-Compatible Passthrough:** Supports streaming and buffered completions forwarding with model aliasing (`oqlos/system-one-router`, `subllm/auto`, `poa/v1`).

## Running Locally

```bash
pip install -e .
oqllm-proxy serve --host 127.0.0.1 --port 11437
```

## Running Tests

```bash
pytest -q
```

## Documentation & Standards

- [Documentation Index](docs/README.md)
- [Error Catalog](errors/README.md)
- [Agent Standards](AGENTS.md)
