Active Labs
Research that earns its way into production through reproducible evidence.
I use these laboratories to evaluate architectural choices from cloud, data and AI engineering work. Each experiment starts with a simpler baseline and a concrete failure mode to investigate.
Publication status
Status labels describe the internal research lifecycle. They do not imply a public repository, a supported release, or independently verified results. Client code stays confidential. Reusable notes and reference implementations are published when they can be shared with their evaluation context.
Explore the local engineering tools: browser-based exercises, separate from the research projects below.
Research Laboratories
Inference Fabric
Purpose: Faster model responses without losing answer quality or hiding operating costs.
Starting point: One server batching incoming requests, tested with cold and warm caches at matched quality. Compare vLLM or SGLang; consider Dynamo and LMCache for a specific bottleneck, not as a mandatory bundle.
Measure: Time to the first token, a text fragment (TTFT), and gaps between tokens (ITL). Record tail latency (p95/p99), requests completed within the latency target, queueing, memory and cost per successful task.
Test failures: Overload, cancellation, cache eviction, fallback loops, cross-tenant cache leaks and a failed prompt-processing worker.
Next evidence: A reproducible load sweep, changing one optimization at a time. Separating prompt processing from output generation must pay for cache transfer and extra capacity. Speculative decoding must justify draft-model memory and acceptance rate. Dynamo architecture guide.
Data Fabric
Purpose: Keep analytical results consistent when query engines, catalogs or storage change.
Starting point: DuckDB or Polars over Parquet with explicit schemas. Evaluate Iceberg with a REST catalog for shared, multi-engine tables; compare DuckLake's SQL catalog and concurrency model.
Measure: Result equivalence, decimal precision, timestamps, nulls, freshness and full versus incremental ingestion. Evaluate hybrid retrieval separately against keyword and vector search before adding a graph.
Test failures: Interrupted inserts/deletes, incompatible schema changes, concurrent writers, expired snapshots and recovery. Replay duplicate and out-of-order source changes before connecting a live change-data feed.
Next evidence: A reader/writer compatibility matrix and recovery transcript. The Iceberg v3 specification defines deletion vectors and row lineage; each engine still needs tests. DuckLake catalog choices have different concurrency limits.
Agent Fabric
Purpose: Resume AI workflows safely without repeating writes or letting a model grant itself permission.
Starting point: One agent with structured tools and bounded execution. Add LangGraph or Pydantic AI when durable checkpoints justify orchestration. Keep application state separate from transport state. Pin tool-protocol (MCP) revisions; consider agent-to-agent (A2A) communication only across independently operated agents.
Measure: Completed tasks, elapsed time, token cost, tool calls, retries and denied actions. Check identity, tenant scope and arguments outside the model; a classifier does not grant authority.
Test failures: Expired credentials or approvals, duplicate delivery, cancellation and hostile tool output. Isolate execution; cap time, tokens, tool calls and retries.
Next evidence: Failure traces demonstrating that replay cannot repeat an approved write. Use durable state and idempotent operations, not an assumption that model output is deterministic. LangGraph persistence and A2A 1.0.
Engineering Fabric
A study of how logs and data dependencies can guide a reviewable code repair.
Internal scope: Log-based diagnosis, dbt lineage and proposed patches, with affected dependencies and validation in an isolated environment.
Limit: A proposed fix must reproduce the failure, pass regression checks and receive human review before application. Producing a patch does not prove that a production incident is resolved.
Eval Fabric
A repeatable way to compare prompts, retrieval and agent workflows.
Internal scope: An evaluation harness with versioned datasets, deterministic assertions and calibrated scoring rubrics. Candidate tools include Pytest, Promptfoo, DeepEval and Phoenix.
Limit: Reserve unseen regression tasks, retain failed trials and calibrate model judges against human labels. Track task success, unauthorized actions, latency and cost separately. Several judges can share one bias; agreement alone is not ground truth. Evaluation methodology.
Knowledge Fabric
Find relevant knowledge without retaining stale or withdrawn information.
Starting point: Compare keyword and vector retrieval using PostgreSQL/pgvector or Qdrant before adding graph-based memory.
Evidence needed: Run unseen tasks with recorded sources and validity dates. Delete a source and verify that derived records cannot retrieve it again. Compare answer relevance, freshness and maintenance cost. Consider Graphiti or a graph database only when relationship queries improve those tasks enough to justify extraction and ongoing upkeep.
Governance Fabric
Make architecture decisions and policy exceptions easier to review.
Starting point: Architecture decision records checked with Open Policy Agent (OPA) and Conftest, using explicit rules and testable exceptions.
Evidence needed: Compare accepted and rejected examples, preserve the policy revision and identify who can approve an exception. Agents may identify missing evidence and draft a review; they must not grant themselves authority. A named owner accepts exceptions, while deterministic checks enforce the decision. Record the evidence behind each proposed policy change.
Platform Fabric
Make deployments reproducible and recovery something a team can rehearse.
Starting point: Terraform/OpenTofu, GitOps and Kubernetes controls around a documented deployment and restore procedure.
Evidence needed: Recreate an environment, restore its state and demonstrate a rollback with the intended runtime and drivers. Introduce Crossplane, dynamic resource allocation (DRA) or an inference gateway only for a demonstrated platform requirement. Record compatibility, capacity ownership and the steps needed when a dependency fails; another control layer must justify its operating work.
Fabric Ops
Connect each useful result with its real cost and operational evidence.
Starting point: Application outcomes, OpenTelemetry signals and billing data normalized with the FOCUS cost format.
Evidence needed: Account for retries, idle capacity, data transfer and telemetry retention in cost per successful task. Enforce budgets during execution; a dashboard cannot stop excess consumption. Compare read-only AI-assisted investigation with a human runbook, keeping sources and measuring false positives. Any proposed remediation still requires review and explicit authority before writes.
Streaming Fabric
Decide whether fresher data is worth continuously operating more services.
Starting point: Batch processing over Parquet/DuckDB. Trial Kafka 4.3, Flink and ClickHouse 26.8 LTS in stages, not as a required bundle.
Evidence needed: Measure freshness, processing delay, concurrent queries and cost. Replay duplicates and late events from known positions, rebuild the destination and compare results. Test schema changes, overload and consumer failure. The radar links versions and sources. This studies continuous data delivery; Data Fabric studies engine and catalog compatibility.
Experience Lab
Help people understand an engineering tool and interpret its result.
Starting point: Guided examples and native HTML controls. Use Tools to compare progressive help, command suggestions and failure explanations with technical and non-technical visitors.
Evidence needed: Task completion, result comprehension, recovery from errors and keyboard/touch journeys. Review reduced motion, zoom and assistive technology alongside the UX/UI principles. These user sessions have not been conducted. Adding visual complexity needs evidence that it helps people complete the intended task.
Engineering Foundation
| Principle | Operational commitment |
|---|---|
| Open source first | Record licenses, model terms and an exit path; managed services remain an explicit option. |
| Local first | Reproduce behavior locally; do not infer production concurrency or resilience from a laptop run. |
| Portable by contract | Test schemas, auth, SQL semantics and failure behavior across named targets. |
| Evaluate before deployment | Version workloads and acceptance thresholds before comparing candidates. |
| Human authority | Enforce tool scope and approval checks in code, outside model judgment. |
| Cost-aware execution | Include retries, idle hardware, operations and failed tasks in the denominator. |
Current compatibility watch: MCP 2026-07-28 changes the transport lifecycle; dbt Core v2 is at release candidate 1 and DuckDB 2.0 is an alpha; GenAI telemetry has its own evolving conventions repository. The Emerging Tech radar records the primary sources and adoption conditions for these changes.
Evidence Contract
Before publishing a performance claim, attach:
- Reproduction: code revision, dataset/version, seed where applicable, hardware, drivers, runtime, model weights, precision and dependency lock.
- Workload: arrival pattern, concurrency, prompt/output lengths, cache state, warm-up policy, repetitions and raw failures.
- Comparison: the baseline, quality threshold, latency percentiles, useful throughput, confidence or variance, and total cost assumptions.
- Operations: authorization tests, recovery/rollback evidence, known limitations and the conditions that would invalidate the result.
No percentage saving or latency target on this page is presented as a measured result. Architecture selection starts in Production Blueprints; candidate evaluation lives in Emerging Tech.