Skip to content

v0.1 API Surface

This page describes the public surface intended to be stable for the v0.1 line.

Core graph

  • ArgumentGraph, ArgumentUnit, Relation, TextSpan, EvidenceItem
  • ArgumentGraph.add_claim, add_support, add_attack, attach_evidence
  • EvidenceCard, SupportingDocument, ArgumentBundle, ArgumentBundleGraph
  • ArgumentGraph.diagnostics, critique
  • ArgumentGraph.save(path) and ArgumentGraph.render(path, engine="graphviz")

Reasoning

  • compute_credibility for warrant-gated credibility propagation
  • Reasoner with credibility/gate_scores tasks

IO + validation

  • arglib.io.dumps/loads
  • arglib.io.validate_graph_payload

CLI

  • arglib dot
  • arglib diagnostics
  • arglib validate

AI evaluation

  • arglib.ai.score_evidence
  • arglib.ai.validate_edges