SWAYOM.AIv2.4
Infrastructure / Observability● Active development

Original project / Swayom Sharma

TraceCore

AI Execution Observability & Evaluation

See the execution.
Keep the relationships.

Local-first run and span observability with explicit instrumentation, persisted parent-child traces, deterministic evaluations, experiment comparisons, and retrospective governance.

  • Python
  • FastAPI
  • React
  • TypeScript
  • SQLAlchemy
Technical case studyReviewed 17 October 2026Static media / No hosted backend

01 / Genuine project captures

Inside TraceCore.
Evidence you can inspect.

Actual captures from the current local implementation. Select a view, then enlarge it to read the interface or response in full.

Recorded demonstration

The real workflow,
recorded locally.

A silent capture of the running project, with explanatory English captions. The recording preserves actual UI states and their stated limitations.

Press play to load the walkthrough.

Open recording ↗Read captions ↗

02 / Project overview

See the execution.
Keep the relationships.

A trace needs more than a list of log lines: stable run identifiers and explicit parent relationships make model, tool and workflow behavior inspectable. TraceCore validates that execution structure and preserves the telemetry supplied by the instrumented application.

The opt-in Python SDK exports completed run/span payloads. Ingestion checks roots, uniqueness and acyclic relationships, applies credential redaction, and stores the resulting records for the React console.

Evaluation, experiments, agent analytics and governance operate over those stored runs. Missing telemetry remains unavailable, and retrospective policy checks do not stop an already completed application run.

03 / Capabilities & evidence

Implemented work.
Clearly defined scope.

01Captured locally

Validated run & span ingestion

Single and bounded-batch endpoints validate stable IDs, a single root and resolvable acyclic parents. Duplicate run/trace ingestion is idempotent.

02Implemented

Explicit instrumentation

Python context managers and decorators capture observed workflows. Input/output capture is opt-in; the SDK does not automatically patch arbitrary frameworks or model clients.

03Captured locally

Trace explorer

Filter and page recorded runs, inspect timelines and hierarchy, and open span attributes, timestamps and available input/output evidence.

04Captured locally

Versioned evaluation evidence

Immutable datasets and evaluator definitions produce deterministic PASSED, FAILED or UNAVAILABLE case results. A configured model judge is separate and never counted as a deterministic pass.

05Implemented

Experiments & agent analytics

Compare explicitly mapped runs against a baseline, and summarize stored tool/retry/handoff evidence. Experiments do not execute candidate agents or select a winner automatically.

06Captured locally

Governance & monitoring

Versioned metadata policies create retrospective evidence and violations. Project metrics and threshold evaluation use explicit scopes, sample counts and unavailable values.

04 / Technical architecture

How the pieces connect.

  1. 01

    Explicitly instrumented application

    The SDK or caller submits actual run/span data. Success must be explicitly recorded by the application.

  2. 02

    FastAPI validation + redaction

    Payload limits, relationship validation and credential redaction precede persistence.

  3. 03

    SQLAlchemy trace records

    SQLite locally, PostgreSQL for configured deployments. Runs, spans, evaluations and versioned policy evidence remain queryable.

  4. 04

    Console + analytical services

    React trace inspection, deterministic evaluations, mapped experiments, agent analytics and retrospective governance read stored evidence.

The capture uses one small locally executed example. Empty experiments and unavailable percentiles are honest application states, not missing data replaced with invented comparisons.

05 / Verified technology

The actual building blocks.

API & instrumentation
Python · FastAPI · Pydantic · httpx SDK

Typed telemetry transport and explicit application instrumentation.

Console
React · TypeScript · Vite

Server-backed exploration of recorded execution and analytical records.

Persistence
SQLAlchemy · SQLite / PostgreSQL · Alembic

Relational storage with explicit versions and audit records.

Validation tooling
pytest · Vitest · Testing Library

Source includes ingestion, service and UI behavior checks; capture outcomes are recorded separately.

06 / Security & boundaries

Explicit safeguards.
Honest limits.

Controls described here are implementation details, not a blanket security certification.

  • Content capture is deliberate

    Decorator input/output collection is off by default. Credential redaction runs in SDK and ingestion, but is not comprehensive PII detection.

  • Scoped production access

    Production APIs require bearer credentials, roles and project/environment scopes. Browser tokens must never appear in published media.

  • Honest enforcement semantics

    Governance BLOCK is retrospective over stored runs; it is not a real-time application kill switch.

  • Operational limits

    Retention and alert evaluation are explicit operations; deployment needs an operator scheduler, reviewed destinations and storage/network controls.

07 / Development status

Active development.
Known limitations, documented.

Reviewed the current local Python service, documented instrumentation example and React/Vite console.

Source baseline: e5ae6c7 ↗. Source inspection, local demonstration and production verification are different evidence levels.

08 / Source references

Inspect the implementation.

Continue exploring

Built to be inspected.

Read the source, explore another project, or discuss the engineering.