Skip to main content
Research / Research Discipline
Research Discipline Krama Vesh Verifiable Self-Improvement Hardware Isolation

Krama and Vesh: Adaptive, Self-Improving Agent Runtimes

Our philosophy for general agency: ordered, evidence-backed self-improvement (Krama) and task- and expert-adaptive execution (Vesh) inside isolated sandboxes.

Architectural Dimensions

Core Research Focus & Comparative Framework

Research Focus TensorForge Approach Conventional Baseline Research Status
Capability Evolution Krama (Evidence-Gated Self-Improvement) Static Post-Deployment Harnesses Active Investigation
Runtime Adaptation Vesh (Task- and Expert-Adaptive Form) Single Fixed Prompt and Tool Set Active Investigation
Execution Boundary Hardware-Isolated Sandboxes Shared Host Containers Active Investigation
Evaluation Standard Long-Horizon State and External Checks Multiple-Choice Static Benchmarks Active Investigation

Core Research Thrusts & Vectors

01
Ordered, evidence-gated self-improvement across real engineering and analytical workloads (Krama)
02
Task- and expert-adaptive runtime assembly matching domain tools and verification standards (Vesh)
03
Persistent goal and state tracking that outlives finite single-session context windows
04
Hardware-isolated sandbox execution treating model-generated actions as untrusted
05
Grounded evaluation against compilers, test suites, and explicit domain invariants

The Problem With the “AGI” Label

“Artificial general intelligence” has become a marketing slogan. Across product announcements and research narratives, the term is used to imply that one monolithic model will soon absorb every cognitive task. As an engineering specification, that label explains very little. A model that scores well on static benchmarks still breaks on multi-day work, loses track of constraints halfway through a task, and fails to adjust to the habits and standards of the person using it.

Real general capability in software looks different from a single giant model answering isolated prompts. It looks like a system that improves through its own experience under strict verification, and adapts its working shape to both the problem in front of it and the expert steering it. Those two ideas are what we are building as Krama and Vesh.

Why Static Agents Hit a Ceiling

A language model by itself has no durable memory of what failed yesterday, no independent check on its own output, and no way to hold long-horizon goals intact once its context window fills up. Engineers wrap the model in a harness of prompts, tools, memory, and checks to make it useful. Yet most agent harnesses remain frozen on the day a developer ships them. When the agent hits a recurring failure mode, someone must read the logs, guess a fix, and edit the configuration by hand.

Scaling the base model alone does not remove this bottleneck. A stronger model inside a static wrapper still repeats the same structural mistakes over long horizons: it forgets intermediate facts, accepts unverified steps that compound into failure, and forces every user into one rigid workflow.

Krama: Ordered Self-Improvement Under Evidence

Krama (from the Sanskrit word for ordered progression) is our philosophy and research direction for agents that become measurably more capable through the work they perform.

An agent ought to learn from every task it executes, including the ways it fails. When a workflow stalls, drops a constraint, or wastes compute, the system should refine how it approaches similar work in the future. That refinement must remain bounded. Unchecked self-modification degrades faster than a frozen system: an optimizer left free to alter its own grading criteria will game the score, overwrite earlier capabilities while chasing a narrow metric, or fill its memory with noisy advice.

For self-improvement to hold up in practice, proposing a change must remain separate from accepting it. Proposals are cheap; independent evidence is decisive. A refinement enters standing behavior only after unseen evaluations confirm that it improves outcomes without regressing earlier skills. Capability grows step by step, in an ordered sequence where each gain is earned and reversible.

Vesh: Shape-Shifting to the Task and the Expert

General intelligence is often pictured as a single fixed persona that handles every request the same way. In practice, a systems programmer debugging a race condition, a clinical researcher auditing trial data, and an analyst reviewing regulatory filings need different capabilities. They rely on different tools, different standards of proof, and different tolerances for risk. Even one practitioner needs brief, lightweight answers for small questions and strict multi-step discipline for a week-long project.

Vesh (from the Sanskrit word for assumed form or guise) embodies the principle that an agent should change its working shape to match both the problem and the expert at the controls. For each job, Vesh assembles only the capabilities, tools, memory depth, and verification rigor that the task demands, leaving out everything the problem does not need. Equally important, it conforms to the practitioner, adopting the vocabulary, workflow boundaries, and review habits of the domain expert.

Hardware Isolation and Grounded Verification

Philosophy without execution discipline produces demos that fail outside controlled benchmarks. Both Krama and Vesh treat autonomous agents as untrusted processes until their outputs are verified.

Model-proposed actions run inside hardware-isolated sandboxes with strict network boundaries and clean rollback on failed checks. When an external oracle fails, whether a compiler diagnostic, a test suite, or a domain invariant, the runtime captures the exact failure signal and restores a valid checkpoint before continuing. Grounded verification keeps iteration anchored to reality rather than model self-assessment.

Earned Generality

Calling a system “AGI” adds nothing to what it can build, verify, or sustain. The meaningful step toward general capability is simpler to state and harder to engineer: an agent that holds reliable state across long horizons, earns its improvements against independent evidence, and reshapes itself around the problem and the expert using it. That is the standard behind Krama and Vesh.

Scholarly Citation (BibTeX)
@article{tensorforge2026kramavesh,
  title={Krama and Vesh: Adaptive, Self-Improving Agent Runtimes},
  author={{TensorForge Autonomous Systems Group}},
  journal={TensorForge Technical Reports},
  volume={1},
  pages={49--72},
  year={2026},
  url={https://www.tensor-forge.ai/research/agent-harnesses}
}
← Return to Research Hub View Technical Articles →