Skip to content
Optophi / EcosystemPYCHARTER · OPEN-SOURCE FOUNDATION

Build pipelines with AI.
Keep the standard.

Turn pipeline definitions and data requirements into versioned, executable configuration. Give people and agents a repeatable way to build, run, and check the work.

MAKE THE REQUIREMENT VISIBLE

Good data has a definition.

Change the sample. See which record fails and why. The same contract supplies the check each time. The panel beside it is a recorded PyCharter 0.0.67 run: good rows are kept, and the row with amount -5 is quarantined with its reason.

SAMPLE PRICE BATCH
Read dataCheck requirementsInspect output
Synthetic price records checked against a positive-close requirement
SymbolDateCloseCheck
DEMO2026-10-1212.50
SAMPLE2026-10-128.25
Both records meet the requirement.

The same contract. A corrected input. A repeatable check.

Recorded PyCharter 0.0.67 results · synthetic dataRun the real check
RECORDED QUARANTINE · PYCHARTER 0.0.67
Accepted, quarantined, and failed row counts from the recorded run
AcceptedQuarantinedFailed
310
One quarantined order and the reason PyCharter recorded
OrderAmountReason
ORD-1004-5Column 'amount': Input should be greater than or equal to 0 (found -5)
1 row quarantined. 3 accepted. 0 failed.

ORD-1004: Column 'amount': Input should be greater than or equal to 0 (found -5) The reason code is validation_failed.

Recorded PyCharter 0.0.67 · synthetic orders · static copy of that run. The quarantined count is the number of rows in the quarantine file.Run record
THE MANIFEST IS THE HANDOFF

New agent.
Same requirements.

The specification lives with your project. The next developer or agent can inspect the pipeline, understand its requirements, and check a proposed change.

Pipeline standards travel with the configuration, across models and maintainers.

AGENT SESSION ABuild the pipeline
Versioned manifestsPipeline · contract · run evidence
AGENT SESSION BInspect, extend, check again
A REAL STARTING POINT

Declare it.
Run it. Check it.

This local template reads orders and enforces their contract before writing an output file. Download the two manifests and the sample input into one directory.

Download sample input
python -m pip install "pycharter==0.0.67" "sqlalchemy[asyncio]"
pycharter pipeline validate pipeline.yaml
pycharter pipeline run pipeline.yaml

Python 3.11+ · local file input and output · no API key needed. A successful run replaces accepted.jsonl. Change an amount to −5 and rerun to see the load stop.

pipeline.yaml
api_version: pycharter.io/v2
kind: Pipeline
metadata:
  name: orders_feed
  version: "1.0.0"
spec:
  steps:
    - id: read_orders
      type: extract
      source:
        type: file
        path: orders.jsonl
        format: jsonl
    - id: write_orders
      type: load
      input: read_orders
      target:
        type: file
        path: accepted.jsonl
        format: jsonl
        mode: overwrite
      contract:
        ref:
          type: file
          path: orders-contract.yaml
        validate: true
        coerce: true
        on_error: fail
Read orders. Check the contract before writing.

The contract block is the enforcement point. A failed record stops this file loader; a previous output file is not proof of a successful new run.

Draft review checkpoint

Native review unavailable

Native preview and checks are not connected in this view. Review the draft with a supported PyCharter runtime before running it.

Reading, copying or downloading these bytes does not validate or run a pipeline.

Requirements stay explicit.

Sources, destinations, and contract checks live in reviewable files.

Checks hold their place.

Attach the contract where it must be enforced. Every candidate faces the same declared requirements.

Operations stay inspectable.

Use run results to diagnose failure. Add scheduling, independent health checks, and recovery through a qualified deployment.

From a checked file to an operated data feed.

Local validation and the file pipeline above are available in the pinned release. Continuous monitoring, durable publication, and recovery depend on the connector and deployment profile. See the capability guide before adopting a production workflow.

View capability status
KEEP BUILDING WITH OPTOPHI

Keep your requirements close.

Feedback