Skip to content

Instantly share code, notes, and snippets.

View dapi's full-sized avatar
🤝
Open to consulting on agentic developer workflows

Danil Pismenny dapi

🤝
Open to consulting on agentic developer workflows
View GitHub Profile

Да. Для обучающегося агента эта схема выглядит фундаментальнее, чем affordance → action → outcome.

Потому что affordance отвечает только на вопрос: «что среда позволяет сделать?». Но не отвечает: «почему агент выбирает именно это действие и чему он из результата научится?»

Более сильный цикл:

гипотеза → эксперимент → наблюдение → рефлексия → новая гипотеза

Причём affordance находится внутри стадии эксперимента:

Обзор подходов к структурно-семантическому RAG на базе графов знаний и онтологий

Обычный RAG хорошо решает поиск близких фрагментов текста, но плохо держит связи между сущностями, документами и шагами рассуждения. Поэтому в инженерной практике все чаще строят не только векторный индекс, но и структурированный слой знаний: граф сущностей, граф чанков, онтологию домена или гибрид этих представлений. Этот сдвиг не отменяет классический RAG [Lew20]. Он добавляет к нему явную память о связях, типах и путях, что особенно важно для многошаговых запросов, обзорных вопросов по корпусу и доменных систем, где важны точность и трассируемость [Edg24, Gut24, Zhu25, Wu25].

Литература показывает, что GraphRAG не является одной техникой. Это семейство систем с разными инженерными целями. Одни строят граф поверх самих документов и чанков, чтобы улучшить навигацию по корпусу [Edg24, Guo24, Zhu25, Xia24]. Другие подключают внешний граф знаний или доменную онтологию, чтобы опереться на уже нормализованные сущности и отношени

@niquola
niquola / 1-spec.md
Last active September 12, 2026 22:32
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 и закрытыми моделями.

module Simple
extend self
def hello
puts 'Hello'
end
end
Simple.hello
# => Hello
@rechner
rechner / freeipa-openvpn.md
Last active August 19, 2025 14:53
FreeIPA setup for OpenVPN logins

This article proved to be a decent starting point, but I was particularly interested in allowing password-based logins to OpenVPN using a username/password backed by FreeIPA (opposed to client certificates) as the identity provider.

  • IPA join your VPN machine: ipa-client-install --mkhomedir
  • Get a kerberos ticket: kinit
  • Create a Kerberos service principle and HBAC rule for openvpn access:
ipa service-add openvpn/`hostname`
  • Create new hbacrule in console, mark host as the VPN host, and whatever group you want to restrict access to:
# Assuming that HOSTNAME is enrolled to IPA realm already,
# run the following on HOSTNAME where RADIUS server will be deployed
# In FreeIPA 4.6+ host principal has permissions to create own services
kinit -k
ipa service-add 'radius/HOSTNAME'
# create keytab for radius user
ipa-getkeytab -p 'radius/HOSTNAME' -k /etc/raddb/radius.keytab
chown root:radiusd /etc/raddb/radius.keytab
chmod 640 /etc/raddb/radius.keytab
@aliesbelik
aliesbelik / benchmarking-tools.md
Last active September 4, 2026 23:45
Benchmarking & load testing tools
@egyjs
egyjs / Direct Link of YouTube videos.md
Last active April 7, 2026 15:43
PHP API To get Direct Link of YouTube videos
@TimJDFletcher
TimJDFletcher / GNUPG_agent_forwarding.md
Last active November 6, 2026 10:30 — forked from surhudm/GNUPG_agent_forwarding.md
GnuPG agent forwarding

Forward the GnuPG agent from macOS to Linux

Your private keys stay on the Mac, or on your YubiKey, and gpg on the Linux host uses them over SSH.

Last tested in October 2026 from macOS with GnuPG 2.5.24 and OpenSSH 10.5 to Debian 13 with GnuPG 2.4.7 and OpenSSH 10.0. You need GnuPG 2.1.17 or newer on both ends and OpenSSH 6.7 or newer.

On the Mac

Install GnuPG and a graphical pinentry. Passphrase and PIN prompts appear on the Mac, so a terminal pinentry won't work for a request that comes from the remote host.

@mdesantis
mdesantis / upgrade-postgres-9.6-to-10.md
Last active October 11, 2021 08:11 — forked from delameko/upgrade-postgres-9.5-to-9.6.md
Upgrading PostgreSQL from 9.6 to 10 on Ubuntu 16.04

TL;DR

Install Postgres 10, and then:

sudo pg_dropcluster 10 main --stop
sudo pg_upgradecluster 9.6 main
sudo pg_dropcluster 9.6 main