Skip to main content

Core domain and application logic for Identa

Project description

Identa Core 🧠

The engine room of Identa. This package contains the pure domain logic, ports, and application handlers following a strict Hexagonal Architecture and CQRS pattern.

Architecture

Identa Core is designed to be framework-agnostic and side-effect free. It enforces a clean separation between "how we evaluate" and "how we store/trace".

Hexagonal Layers

  1. Domain: Pure Pydantic models (Runs, Spans, AgentStructure) and core logic (Metric computation, Migration validation).
  2. Ports: Abstract interfaces for storage and artifacts.
  3. Application:
    • Commands: Mutation logic (Start Run, Log Results).
    • Queries: Data retrieval logic (List Runs, Get Comparison).
  4. Persistence (Adapters): Concrete implementations of ports (SQLite, Local Filesystem).

Key Components

  • Evaluation Engine: The loop that executes agents against test suites and computes metrics.
  • Tracing Service: A context-aware span collector.
  • Migration Engine: Logic to validate and apply model-binding swaps.
  • Reproduction Engine: Logic to replay experiments with structural drift detection.

Development

This package is managed by uv.

# Run unit tests
uv run pytest tests/

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

identa_core-0.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

identa_core-0.1.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file identa_core-0.1.0.tar.gz.

File metadata

  • Download URL: identa_core-0.1.0.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for identa_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b325457f968bfdb5fbe63686950a8efcf7199053cd98adf46ccc115e46f16c81
MD5 8ce7b67a27515d3e36d7275872a2889b
BLAKE2b-256 3a05f423db0fdcfe4493206ed70241b2f17b0b267b6996ecb50dc7a5daabff1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for identa_core-0.1.0.tar.gz:

Publisher: release.yml on Identa-agent/Identa

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

File details

Details for the file identa_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: identa_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for identa_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf527f484f86776b8dc00466ec6feef7e41368bc9aa28071d5d85f5b0c6ef97b
MD5 6d1f43876c026a816691d8338493e253
BLAKE2b-256 4d0e5f660285995da56aace92757bd8443befed1c1260645e44b132d77c4f40e

See more details on using hashes here.

Provenance

The following attestation bundles were made for identa_core-0.1.0-py3-none-any.whl:

Publisher: release.yml on Identa-agent/Identa

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