Skip to main content

Deterministic, artifact-first protein design runtime and CLI

Project description

Agentic Proteins

A deterministic, artifact-first protein design runtime and CLI — strict invariants, reproducible runs, and traceable outputs. Build reliable design workflows that are audit-ready and repeatable.

PyPI - Version Python 3.11+ Typing: typed (PEP 561) License: Apache-2.0 Documentation CI Status

At a glance: deterministic execution • artifact immutability • invariant enforcement • reproducible runs • API + CLI surfaces • structured telemetry
Quality: coverage floors enforced per module, benchmark regression gate active, docs linted and built in CI, no telemetry.


Table of Contents


Why Agentic Proteins?

Most protein design tooling prioritizes iteration speed. Agentic Proteins prioritizes repeatability, traceability, and audit-ready artifacts:

  • Determinism first for reliable experiments and CI validation.
  • Artifact immutability with hash-checked outputs.
  • Invariant enforcement for predictable execution paths.
  • Clear boundaries between deterministic execution and stochastic components.

Try It in 20 Seconds

pipx install agentic-proteins  # Or: pip install agentic-proteins
agentic-proteins --version
agentic-proteins run --sequence "ACDEFGHIKLMNPQRSTVWY"
agentic-proteins inspect-candidate <candidate_id>

Key Features

  • Deterministic execution — reproducible runs with seeded randomness.
  • Artifact-first workflow — immutable artifacts with stable hashes.
  • Invariant enforcement — fail-fast checks across runtime boundaries.
  • Dual surface — CLI and API share the same contracts.
  • Structured telemetry — correlation IDs and traceable logs.

Installation

Requires Python 3.11+.

# Isolated install (recommended)
pipx install agentic-proteins

# Standard
pip install agentic-proteins

Upgrade: pipx upgrade agentic-proteins or pip install --upgrade agentic-proteins.


Quick Start

# Discover commands/flags
agentic-proteins --help

# Run a deterministic design cycle
agentic-proteins run --sequence "ACDEFGHIKLMNPQRSTVWY" --seed 7

# Inspect artifacts
agentic-proteins inspect-candidate <candidate_id>

Artifacts & Reproducibility

Artifacts are immutable and hash-addressed. Reproducing a run verifies hashes before returning outputs.

agentic-proteins reproduce <run_id>

Docs: Execution Lifecycle · Invariants


API Surface

The HTTP API exposes the same contracts as the CLI.

Docs: API Overview · Schema


Built-in Commands

Command Description Example
run Execute a design run agentic-proteins run --sequence ...
inspect-candidate Inspect a candidate artifact agentic-proteins inspect-candidate <id>
reproduce Replay a run with hash checks agentic-proteins reproduce <run_id>
api Start the API server agentic-proteins api --host 0.0.0.0

Full surface: CLI Surface


Tests & Quality

  • Coverage floors: enforced per module in CI.
  • Benchmarks: regression gate on critical path.
  • Docs: linted and built in CI.

Quick commands:

make test
make lint
make quality

Artifacts: Generated in CI; see GitHub Actions for logs and reports.


Project Tree

api/            # OpenAPI schemas
config/         # Lint/type/security configs
docs/           # MkDocs site
makefiles/      # Task modules (docs, test, lint, etc.)
scripts/        # Helper scripts
src/agentic_proteins/  # Runtime + CLI implementation
tests/          # unit / integration / e2e

Docs & Resources


Contributing

Welcome. See CONTRIBUTING.md for setup and test guidance.


License

Apache-2.0 — see LICENSE. © 2025 Bijan Mousavi.

Changelog

All notable changes to agentic-proteins are documented here.
This project adheres to Semantic Versioning and the
Keep a Changelog format.

[Unreleased]

Added

  • (add new entries via fragments in changelog.d/)

Changed

  • (add here)

Fixed

  • (add here)

[0.2.1]

Added

  • Expanded unit and integration coverage with new invariants, API, and docs gates.
  • Additional tests for provider isolation, reproducibility, and abuse-case blocking.
  • Fancy PyPI readme fragments for README + changelog publishing.

Changed

  • Refactored tests/unit into a structured layout for clearer ownership.

Fixed

  • Coverage floors and CI gates stabilized around new test layout.

[0.2.0]

Added

  • Architecture invariants, threat model skeleton, and design debt ledger.
  • Reproducible runs via agentic-proteins reproduce <run_id> with hash checks.
  • Determinism tests, artifact immutability tests, and invariant regression coverage.
  • Provider isolation checks and chaos failure test for mid-run provider loss.
  • Benchmark regression gate and per-module coverage floors in CI.
  • Documentation system contracts, lint gates, and CLI surface audit coverage.
  • API error taxonomy enforcement, correlation ID logging test, and OpenAPI drift guard.
  • Dependency allowlist enforcement for SBOM changes.

[0.1.0]

Added

  • Deterministic, artifact-first execution engine with explicit run directories and state snapshots.
  • Agent-based architecture covering planning, analysis, execution, verification, and reporting.
  • End-to-end design loop with failure handling, stagnation detection, and human-in-the-loop gating.
  • CLI for running, resuming, inspecting, comparing, and exporting protein design runs.
  • Local and remote provider abstractions with explicit capability and requirement checks.
  • Structured reporting system with machine-readable artifacts and human-readable summaries.
  • Integrated evaluation pipeline supporting structure-based metrics and ground-truth comparison.
  • Reproducibility controls, observability hooks, and execution telemetry.
  • Example datasets and reference runs for local experimentation and validation.
  • Comprehensive test suite covering unit, integration, regression, and execution boundaries.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentic_proteins-0.2.2.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentic_proteins-0.2.2-py3-none-any.whl (169.1 kB view details)

Uploaded Python 3

File details

Details for the file agentic_proteins-0.2.2.tar.gz.

File metadata

  • Download URL: agentic_proteins-0.2.2.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agentic_proteins-0.2.2.tar.gz
Algorithm Hash digest
SHA256 78df90b5fff3d4492e1448794f69af4dd9e04b601838e22dc29ed552664967d4
MD5 f669160c3215fdcbac68c07976a4f285
BLAKE2b-256 3025d96ff16dd4d034f36e75a4c643b2f701e98154facd3e69cf3d3c2a1025a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_proteins-0.2.2.tar.gz:

Publisher: release.yml on bijux/agentic-proteins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentic_proteins-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agentic_proteins-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c7957f5a21263ac4f584e22edd7f66ed17957a1ea0ede35d5ca8e39cb9bf18f
MD5 475494c3113905e3d37c8f2081a78408
BLAKE2b-256 e37452b9a1dbc9cfb0c7f089eb3f27e78fc0df0ff59902e3dcd1b82b5cf8c9d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_proteins-0.2.2-py3-none-any.whl:

Publisher: release.yml on bijux/agentic-proteins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page