Interfaces¶
This section explains which commands, APIs, imports, schemas, and artifacts agentic-proteins is prepared to stand behind as real surfaces.
These pages explain the public face of agentic-proteins. They help a caller separate deliberate contracts from incidental visibility before a dependency hardens around the wrong surface.
Treat the interfaces pages for agentic-proteins as the bridge between implementation detail and caller expectation. They should show what the package is prepared to defend before a dependency forms.
Visual Summary¶
flowchart LR
page["Interfaces<br/>clarifies: identify contracts | see caller impact | review compatibility"]
classDef page fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a,stroke-width:2px;
classDef positive fill:#dcfce7,stroke:#16a34a,color:#14532d;
classDef caution fill:#fee2e2,stroke:#dc2626,color:#7f1d1d;
classDef anchor fill:#ede9fe,stroke:#7c3aed,color:#4c1d95;
classDef action fill:#fef3c7,stroke:#d97706,color:#7c2d12;
surface1["HTTP app in src/agentic_proteins/api/app.py"]
surface1 --> page
surface2["shared API schema in apis/agentic-proteins/v1"]
surface2 --> page
surface3["CLI entrypoint in src/agentic_proteins/interfaces/cli.py"]
surface3 --> page
proof1["apis/agentic-proteins/v1/schema.yaml"]
page --> proof1
proof2["apis/agentic-proteins/v1/schema.yaml"]
page --> proof2
proof3["execution store records"]
page --> proof3
review1["tests/e2e for governed flow behavior"]
review1 -.raises compatibility pressure on.-> page
review2["tests/regression for compatibility and behavior drift detection"]
review2 -.raises compatibility pressure on.-> page
review3["tests/api, tests/integration, and tests/e2e for surface and workflow coverage"]
review3 -.raises compatibility pressure on.-> page
class page page;
class surface1,surface2,surface3 positive;
class proof1,proof2,proof3 anchor;
class review1,review2,review3 caution;
Pages in This Section¶
- CLI Surface
- API Surface
- Configuration Surface
- Data Contracts
- Artifact Contracts
- Entrypoints and Examples
- Operator Workflows
- Public Imports
- Compatibility Commitments
Read Across the Package¶
- Foundation when you need the package boundary and ownership story first
- Architecture when the question becomes structural, modular, or execution-oriented
- Operations when the question becomes procedural, environmental, diagnostic, or release-oriented
- Quality when the question becomes proof, risk, trust, or review sufficiency
Concrete Anchors¶
- CLI entrypoint in src/agentic_proteins/interfaces/cli.py
- HTTP app in src/agentic_proteins/api/app.py
- shared API schema in apis/agentic-proteins/v1
- apis/agentic-proteins/v1/schema.yaml
Use This Page When¶
- you need the public command, API, import, schema, or artifact surface
- you are checking whether a caller can safely rely on a given entrypoint or shape
- you want the contract-facing side of the package before building on it
Decision Rule¶
Use Interfaces to decide whether a caller-facing surface is explicit enough to depend on. If the surface cannot be tied back to concrete code, schemas, artifacts, examples, and tests, treat it as unstable until that evidence is visible.
What This Page Answers¶
- which public or operator-facing surfaces
agentic-proteinsis really asking readers to trust - which schemas, artifacts, imports, or commands behave like contracts
- what compatibility pressure a change to this surface would create
Reviewer Lens¶
- compare commands, schemas, imports, and artifacts against the documented surface one by one
- check whether a seemingly local change actually needs compatibility review
- confirm that examples still point to real entrypoints and not to stale habits
Honesty Boundary¶
This page can identify the intended public surfaces of agentic-proteins, but real compatibility depends on code, schemas, artifacts, examples, and tests staying aligned. If those disagree, the prose is wrong or incomplete.
Next Checks¶
- move to operations when the caller-facing question becomes procedural or environmental
- move to quality when compatibility or evidence of protection becomes the real issue
- move back to architecture when a public-surface question reveals a deeper structural drift
Purpose¶
This page explains how to use the interfaces section for agentic-proteins without repeating the detail that belongs on the topic pages beneath it.
Stability¶
This page is part of the canonical package docs spine. Keep it aligned with the current package boundary and the topic pages in this section.