Skip to content

Instantly share code, notes, and snippets.

View niquola's full-sized avatar

Nikolai Ryzhikov niquola

View GitHub Profile
@niquola
niquola / materialize-prior-art-research-en.md
Created June 2, 2026 18:58
Prior art for $materialize freshness control across analytical platforms (SQL-on-FHIR issue #326)

$materialize: prior art for freshness control in analytical platforms

Research in support of the SQL-on-FHIR $materialize operation design (issue #326). Question: how does the industry (a) create / refresh / drop materializations, and (b) let clients control acceptable data staleness? Sourced from official documentation (links at the bottom).

The current $materialize proposal uses 3 HTTP verbs on one URL (POST = create-or-refresh idempotently, GET = status, DELETE = drop), an async poll pattern, a parameter expressing acceptable staleness (working name freshnessTarget / maxAge, a Duration; absent = manual, 0 = always-live, PT5M = lag ≤ 5 min, server may accept or reject), and a validAsOf output reporting actual freshness.


Databases & warehouses

@niquola
niquola / 1-spec.md
Last active May 6, 2026 14:08
Agent Relay Protocol - Draft Spec

Agent Relay Protocol

Статус: Draft Дата: 2026-03-07


1. Problem Statement

Агенты всё чаще работают не в изоляции, а вместе с людьми — в общем коде, общих документах, общих задачах. Индустрия уже построила работающие продукты: Devin, GitHub Copilot coding agent, Cursor Cloud Agents, Factory Droids, Replit Agent. Каждый из них реализует один и тот же паттерн — shared human/agent workspace — но делает это по-своему, с проприетарными API и закрытыми моделями.

@niquola
niquola / research-rlm-agents-2026-01-25.md
Created January 25, 2026 00:14
RLM for Agents - Deep Research (Recursive & Reasoning Language Models)

RLM для Agents: Глубокий Research

Дата: 2026-01-25 Автор: Claude Research Agent

TL;DR

RLM имеет два значения в контексте AI agents:

  1. Recursive Language Models — inference-time стратегия для обработки неограниченного контекста через рекурсивные self-calls
@niquola
niquola / sl.md
Created April 16, 2026 15:45
Possible Futures with AI — sl.md

Possible Futures with AI

an semi-astrological essay for IT people and not only

Nikolai Ryzhikov


What will happen with your job and company in the next 2-5 years?


@niquola
niquola / slides.md
Created April 16, 2026 15:44
Possible Futures with AI — presentation slides (reveal.js markdown)

Will your company exist in 5 years?

Note: Pause. Let the silence work. Look around the room. Then click to the title.


@niquola
niquola / wsjet-ru.md
Last active April 4, 2026 18:02
Wsjet: гипермедиа-виджеты для взаимодействия агента и человека

Wsjet: гипермедиа-виджеты для агентных воркспейсов

TL;DR

Агент создаёт скрипт → в UI появляется ⚡ виджет → пользователь взаимодействует → всё в браузере, без серверов. Скрипт на любом языке, который говорит HTML через stdout. CGI 2026.

Архитектура

graph TB
@niquola
niquola / wsjet.md
Last active April 4, 2026 14:12
Wsjet: CGI-style widgets for agentic workspaces

Wsjet: Hypermedia Widgets for Human-Agent Collaboration

The Insight

In agentic workflows, communication between human and AI is mostly text — chat messages back and forth. But many interactions are better served by structured UI: a form to fill, a table to review, a dashboard to monitor, a diff to approve.

What if the agent could create UI as easily as it creates files?

What is Wsjet?

@niquola
niquola / cql-to-omop.md
Last active March 27, 2026 11:58
Translating CQL to OMOP CDM SQL: Chlamydia Screening Measure (CMS153)

Translating CQL to OMOP CDM SQL: Chlamydia Screening (CMS153)

This document demonstrates how Clinical Quality Language (CQL) artifacts — both quality measures (CQM) and clinical decision support (CDS) — can be expressed as SQL against the OMOP Common Data Model.

The example uses two versions of the same clinical logic: the Chlamydia Screening for Women measure (CMS153 / NQF0033).


@niquola
niquola / SKILL.md
Last active March 23, 2026 10:34
OMOP CDM Knowledge Graph — Claude Code skill (omop-kg)
name omop-kg
description OMOP CDM Knowledge Graph — ontology of 643 canonical concepts, 1067 relationships, 1099 doc chunks with embeddings. Extracted from CommonDataModel docs + The Book of OHDSI. Use when user asks about OMOP CDM tables, fields, concepts, ETL, cohorts, vocabularies, or needs to search OMOP documentation.
allowed-tools Bash(curl *https://omop-kg.apki.dev*)

OMOP CDM Knowledge Graph

643 canonical concepts, 1057 raw extractions, 1067 canonical relationships, 1099 chunks, 66 pages, 1666 embeddings.

@niquola
niquola / additional-resources-full-report.md
Last active March 19, 2026 15:23
FHIR Additional Resources: Knowledge Graph vs Web Search Evaluation

FHIR Additional Resources: Comprehensive Report

1. What Are Additional Resources?

Additional Resources is a formal extensibility mechanism introduced in FHIR R6 that allows new resource types to be defined outside the core FHIR specification while still functioning as first-class FHIR resources. They are defined in Implementation Guides (called "Incubator IGs"), published on their own release cycles, and are expected to eventually migrate back into the core specification once stable.

The mechanism exists because R6 is the first fully normative FHIR release — once published, no breaking changes are allowed. Resources that are still immature (FMM 0-2) cannot be frozen normatively, so they need an alternative development pathway.

"Our market feedback is very strong that further change to the FHIR resources is getting very expensive, and one of the few incentives for the market to move to R6 is stability." — Grahame Grieve, FMG communication to committees (Aug 2025)