**Copyright is not the primary or sufficient answer** for protecting the core of tensors, harness systems, or unique AI infrastructure. You’re right that it doesn’t cover the underlying mathematical foundations — things like multi-dimensional arrays (tensors), linear algebra operations, probability distributions, sampling methods, or abstract algorithmic ideas. Copyright protects *specific expressions* (e.g., the exact source code you wrote to implement something), not the ideas, math, or functionality itself.<grok:render card_id=“5ec53b” card_type=“citation_card” type=“render_inline_citation”><argument name="citation_id">62</argument></grok:render>
### Layered Protection: The Real Answer
Companies (especially in AI) use a **portfolio or layered approach** combining several tools. No single method is perfect, especially for fast-moving fields like agent harnesses (the orchestration layer around models: routing, memory management, tools, context handling, sandboxes, feedback loops, etc.).
Here’s how it works in practice for unique infrastructure:
1. **Copyright (baseline, limited protection)**
- Automatically protects your original code implementing the harness or tensor operations.
- Covers things like specific implementations, documentation, or user interfaces.
- **Does not protect**: The underlying math, algorithms as ideas, model architectures in the abstract, training methods, or data structures conceptually.
- Easy and cheap, but weak against someone who reimplements the same functionality differently.
2. **Patents (stronger exclusionary rights, where eligible)**
- Can protect *novel, non-obvious technical methods or systems* — for example, a specific new routing algorithm in a harness, an innovative memory architecture, or a particular optimization technique for tensor operations that provides a technical improvement.
- Hardware-related aspects of infrastructure are often easier to patent.
- **Limitations**: Abstract ideas, pure math, or obvious applications of existing ML techniques are often not patentable (especially in the US under current eligibility rules). The process is slow and expensive, and patents become public. Many AI companies file selectively for key inventions while relying on other protections for the rest.<grok:render card_id=“691798” card_type=“citation_card” type=“render_inline_citation”><argument name="citation_id">48</argument></grok:render>
3. **Trade Secrets (often the most practical and heavily used for AI internals)**
This is frequently the **core strategy** for proprietary harness systems, model parameters/weights (if not released), training/fine-tuning processes, data curation methods, specific optimizations, and confidential configurations.<grok:render card_id=“682cb7” card_type=“citation_card” type=“render_inline_citation”><argument name="citation_id">27</argument></grok:render>
Trade secrets protect information that:
- Has independent economic value from not being generally known, and
- Is subject to reasonable efforts to keep it secret.
**What can typically be protected as trade secrets**:
- Proprietary algorithms and optimization techniques (including how you handle tensors or probability in your system).
- Specific harness implementations: custom orchestration logic, memory systems, routing decisions, tool integrations, or feedback mechanisms that aren’t publicly disclosed.
- Training data selection/curations, fine-tuning processes, and model parameters.
- Internal know-how, failed experiments, and configuration details.
**How companies actually protect them** (reasonable measures required by law):
- **Contracts**: NDAs with employees, contractors, and partners; employment agreements with confidentiality clauses; restrictive licenses if any part is shared.
- **Access controls**: Need-to-know basis, role-based permissions, logging/monitoring of access.