Agentic Framework for Secondary Analysis R&D
the DIY experience
scidm-claude: an AI agent environment built on Claude Code —
design, features, and use in research and development
Denis Kaznadzey · 2026-10-15
What this talk covers
1
Background
From a bare language model to orchestrated agents.
3 slides
2
Architecture and features
AUpdate system
BAgent account
CLaunchers
DTrac + SVN
EKagebunshin
FShintenshin
GTotalrecall
HMetempsychosis
IPhoenix
JOrchestration
KProtocols
LClusters
3
Use cases on Thermo work
User experience in development tasks.
4
Outlook
From a continuously emerging prototype to a generalized framework.
1 · BACKGROUND
Four tiers of LLM-based systems
1 · BACKGROUND
From language model to agent
1 · BACKGROUND
What a bare agent lacks for R&D work — and what scidm-claude supplies
A · DELIVERY
A continuously emerging prototype
A · DELIVERY
Frequent, seamless delivery: the update system
The gap
Claude Code installs per host; its configuration is a hand-kept, per-user directory.
›
Out there
Configuration management (Ansible, Nix), vendor-managed settings, plugins — no live agent state, no secrets, no two install flavours.
›
scidm-claude
SVN as the single source; tested on branches; one command updates any host inside a transaction.
B · SECURITY
A separate account for the agent: security by the operating system
The gap
The agent runs with all of the invoking user's rights — the harness compensates with permission prompts, or with none at all.
›
Out there
Harness sandbox (shell only), containers, VMs — safe, but cut off from the LAN, shares, cluster and display.
›
scidm-claude
The agent is its own Unix user; group permissions decide what it may touch — and the kernel enforces it.
C · LAUNCH
The launcher: where a session is assembled
The gap
The harness takes one endpoint, one tool set and one set of credentials from its environment.
›
Out there
Settings files, managed settings, per-project configuration — configuration, not session assembly.
›
scidm-claude
One launcher, many names; six-axis profiles; secrets read only after switching to the agent account.
C · LAUNCH
Profiles and backends: same harness, many brains
D · RECORD
Document everything, in structured form: Trac + SVN
The gap
Agent work evaporates with the terminal scroll — decisions, reasons and reviews are lost.
›
Out there
GitHub / GitLab issues, JIRA + Confluence — hosted or heavy; not built as an agent's notebook.
›
scidm-claude
Self-hosted Trac + SVN, written by the agents: a ticket for every change, a signed comment for every step.
D · RECORD
What a record looks like: one review, as Trac shows it
E · MEMORY
Kagebunshin: memory shared by every instance
The gap
Built-in memory: per harness, per project, per host; a flat index; nobody reviews what gets written.
›
Out there
Memory services (Mem0, claude-mem, Letta): vector stores, often hosted, opaque, without reviewed merges.
›
scidm-claude
Plain Markdown records in an SVN "hot repository": synced to every host, merges audited, semantic search.
E · MEMORY
From need to mechanism
E · MEMORY
How the memory learns
F · PROMPT
Shintenshin: the system prompt, assembled for the task
The gap
Default prompt: fixed, generic, written for coding. CLAUDE.md arrives as a message after it — it adds, never replaces.
›
Out there
Replace/append flags, output styles; prompt tools (Langfuse, promptfoo, DSPy) built for application prompts.
›
scidm-claude
Modules assembled per purpose at launch; live-synced; each change approved; the agent reviews each edition.
F · PROMPT
Inside the current prompt
F · PROMPT
Rules, guidance and guardrails: three tiers
G · ARCHIVE
Totalrecall: every session archived and searchable
The gap
Transcripts stay on one machine, are deleted by default after 30 days, and cannot be searched by content.
›
Out there
Longer retention; per-machine exporters and viewers of transcripts.
›
scidm-claude
Hooks archive every checkpoint to shared storage; a per-host index; full-text and lineage search.
H · CONTEXT
Metempsychosis: context that moves between sessions and hosts
The gap
Sessions live on one machine; forks start only from the current point; lineage cannot be queried.
›
Out there
Harness branch, fork and rewind; vendor-side stores (SDK session store on S3, Redis, Postgres; cloud sessions); LangGraph time travel.
›
scidm-claude
Every turn snapshotted to the shared storage: load, branch or fork any turn of any session on any host.
I · CONTEXT
Phoenix: tasks longer than the context window
The gap
When the context overflows, the harness compacts it in place — lossy, often disastrous mid-task.
›
Out there
Manual compaction with instructions, a configurable window; handover tools in other agents (Cline's new_task).
›
scidm-claude
The agent writes the handover while its context is rich; the launcher starts a fresh successor automatically.
J · WORK
Orchestration: the agent as a team lead
The gap
One agent, one context, one model: long work bloats the context; independent work runs in series.
›
Out there
Harness subagents (a baseline agent without knowledge of the system's facilities); multi‑agent frameworks.
›
scidm-claude
Subordinates through the same launchers — full rules and memory; the right model per task; every return verified.
K · PROTOCOLS
Protocols: recording what was learned
The gap
Learned techniques live in one person's head or one session's context — and are lost.
›
Out there
Agent skills, SOPs with MUST/SHOULD/MAY steps, spec-driven task lists: the agent follows them, but control flow stays in prose.
›
scidm-claude
Protocols in shared memory: each lesson recorded once, with its origin, applied in every session on every host.
K · PROTOCOLS
Reviews: the most useful protocols
K · PROTOCOLS
Production-system design review
K · PROTOCOLS
Why prose protocols are not enough
The gap
Prose protocols drift: steps skipped, instructions narrowed, interpretation shaped by context.
›
Out there
Workflow engines and agent frameworks: a new runtime, code first — the agent no longer reads the procedure.
›
scidm-claude
Codified protocols: a structured language the agent interprets, with execution state and trace kept in files.
K · PROTOCOLS
Codified protocols: a protocol as a program
L · CLUSTERS
Clusters: memory, archives and instances
The gap
One user, one machine: configuration and learning do not travel; no notion of a group of instances.
›
Out there
Managed settings and plugin marketplaces distribute configuration — they do not bring learning back.
›
scidm-claude
Memory clusters per kage base; archive clusters on shared storage; standalone instances without servers.
L · CLUSTERS
The fleet today
AND MORE
And more
Session nicknames
an offline worker names each session and summarizes it; the handle in every signature
Reflection
/reflect consolidates a session into memory; runs in the background on a topic change
Secrets registry
one file per secret, readable only by the agent account; never in a launch command
Trac MCP server
our fork: custom fields, raw TracWiki, workflow actions for agents
Worker connections
named endpoints for background jobs: Anthropic, OpenAI, local Ollama
Graphical display
with a grant, the agent opens IGV and viewers on the operator's screen
Language servers
code intelligence for Python and Bash, usable by IDEs too
Time awareness
current time on every prompt and tool result
Guard hooks
block filesystem-wide find sweeps; refuse sessions during an update
Codex peer
an OpenAI Codex environment alongside, sharing group and repository
Web chat archive
full-text search over exported web-chat transcripts
Version stamps
every session knows its build: version, code and memory revisions
PUTTING IT TOGETHER
The architecture on one page
3 · USE CASE
Work track: reference trust in the ITD detector
3 · USE CASE
Reference trust: the first exchange
3 · USE CASE
Reference trust: a code review, and the locus–sequence rule
3 · USE CASE
Reference trust: a goal check, then a clean redesign
3 · USE CASE
Reference trust v2: what was built
3 · USE CASE
Reference trust: eight minutes to an IGV view — then a protocol
3 · USE CASE
Tests and test data
3 · USE CASE
Work track: read-end profiles for TMAP's REPAiR
3 · USE CASE
Read-end profiles: the first exchange
3 · USE CASE
Read-end profiles: chemistry corrected, a hypothesis returns
3 · USE CASE
Read-end profiles: lost work found, the thread picked up
3 · USE CASE
Read-end profiles: profile reproduced, swapped rule caught
4 · OUTLOOK
Outlook: Agentic Framework v2
Thank you
Questions?
scidm-claude — Agentic Framework for Secondary Analysis R&D:
the DIY experience
Denis Kaznadzey · 2026-10-15