An AI agent that takes your work one useful step further — guided by your goals, the context of your project, and what it can learn from working with you.
Step Beyond helps an agent see what a task needs beyond the words of a prompt. It draws on available knowledge, project context, your stated preferences, and observable outcomes from earlier work to complete missing pieces and anticipate a useful next step. That might mean catching an overlooked edge case, preparing a follow-up artifact, or checking a result before handing it back.
As feedback and previous decisions become available, the agent can use them to better judge what helps you, what you prefer, and when to stop. It takes extra action when it is useful, within scope, and authorized; otherwise, it prepares or proposes the next step. “Only this” keeps the work focused on your request.
The goal: more complete work, fewer avoidable follow-ups, and initiative that fits the way you work. Each result comes with an account of what was checked and what remains uncertain.
The project combines a portable agent skill with a TypeScript reference runtime. Learning across sessions depends on the history or memory your host makes available and the integration you configure. The agent uses observable feedback; it does not treat silence as approval or assumptions as established preferences.
Version 4.0.0-alpha.3 · Hybrid prompt and TypeScript reference implementation
Polski · ChatGPT edition · Specification · Runtime API
Quick start · Architecture · Example · Operating contract · Evaluations
Choose the path that matches your goal:
| Goal | Start here |
|---|---|
| Add the workflow to an existing agent | Install the portable skill |
| Develop or integrate the TypeScript packages | Run the reference runtime |
| Use the instructions in ChatGPT | ChatGPT edition |
Requirements: Node.js 20 or newer.
git clone https://github.com/aievolutionpl/step-beyond.git
cd step-beyond
npm ci
npm run validatenpm run validate runs typechecking, the test suite, and the deterministic
runtime replay. This validates the reference implementation; it does not start
a chatbot, web server, or live-model benchmark.
For example, from a TypeScript module in this workspace:
import {
classifyAction,
detectStrictScope,
} from '@step-beyond/runtime-core';
const scope = detectStrictScope('Fix only the typo, nothing else.');
console.log(scope.active); // true: optional extras are suppressed
const decision = classifyAction({
kind: 'publish_external',
withinScope: true,
});
console.log(decision.class); // ASK: intent alone does not authorize publicationSee docs/runtime.md for API examples, store operations,
adapter wiring, and degradation behavior.
Run from the cloned repository. Choose one command for your host; --always-on
also writes standing instructions, so review the host guide before enabling it.
scripts/install.sh # every supported host found in $HOME
scripts/install.sh --host codex # claude | codex | hermes | all
scripts/install.sh --always-on # also write the standing instruction block| Host | Skill location | Always-on instruction |
|---|---|---|
| Claude Code | ~/.claude/skills/step-beyond/ or the plugin |
plugin SessionStart hook or CLAUDE.md block |
| Codex | ~/.agents/skills/step-beyond/ |
AGENTS.md block |
| Hermes | ~/.hermes/skills/step-beyond/ |
SOUL.md block |
In Claude Code the repository also installs as a plugin:
/plugin marketplace add aievolutionpl/step-beyond. For any other host, copy
skills/step-beyond/ into its skill directory or inject
skills/step-beyond/templates/core-injection.txt
as standing instructions. Per-host rules are in the
host guide.
Use the dedicated ChatGPT instructions for Custom GPT, Project Instructions, or chat-based use. Without a connected runtime, those instructions remain prompt-only.
The simplest integration loads the skill into your agent’s host. The agent receives the workflow instructions and continues using its existing model and tools. The skill installer does not automatically wire up the runtime packages.
| Component | What you connect | What the host provides |
|---|---|---|
| Skill | Instructions and relevant reference material | Context loading, model access and tools |
| Runtime | Policy calls, intent hypotheses and action candidates | Structured inputs and handling of decisions |
| Adapter | Execution callbacks and capability detection | Actual operations and host permissions |
| Store and verification | State records, checks and evidence | Storage location and results of executed checks |
For a runtime integration, your application passes proposals to the controller, handles its decisions, invokes permitted operations through the adapter, and records the returned evidence. Installing dependencies alone does not establish that connection. See the runtime API and host guide for the integration contracts.
| Moment | What the agent does | What you receive |
|---|---|---|
| Understand | Inspects the existing project and form requirements | A solution that fits the application |
| Build | Implements fields, validation and state handling | A complete form within the agreed scope |
| Assess the next step | Considers tests and deployment; checks authority | Local verification and a separate publication decision |
| Verify | Runs available checks and names gaps | Evidence, such as “validation checked; email delivery untested” |
This illustrates the intended workflow, not a benchmark result. The model proposes actions; effectiveness depends on the host, integration and checks actually performed.
These names describe user-facing capabilities. They do not replace the canonical
v4 lifecycle in SPEC.md.
| Superpower | The instinct it installs | |
|---|---|---|
| 🧠 | RECALL | Uses relevant, attributable user context without turning guesses into facts |
| 🔎 | SCAN | Reads the live project: stack, history, conventions, rules, and current constraints |
| 🔍 | EXPAND | Reconstructs the intended outcome instead of following the shortest literal interpretation |
| 🎨 | POLISH | Builds a complete professional baseline inside the requested scope |
| ➕ | EXTEND | Selects optional actions by value, permission, cost, risk, and verifiability |
| 🔮 | ANTICIPATE | Recognizes likely next needs without silently exceeding the user's authority |
| ✅ | VERIFY | Connects each material claim to a check and names anything left unverified |
| 📈 | SELF-IMPROVE | Learns from observable outcomes through auditable, reversible records |
CONTEXT → INTENT → DECIDE → BUILD → INITIATIVE → EXECUTE → VERIFY → DELIVER → LEARN
| Capability label | Canonical lifecycle stage |
|---|---|
| RECALL | CONTEXT |
| SCAN | CONTEXT |
| EXPAND | INTENT + DECIDE |
| POLISH | BUILD |
| EXTEND | INITIATIVE + EXECUTE |
| ANTICIPATE | INITIATIVE + DECIDE |
| VERIFY | VERIFY |
| SELF-IMPROVE | LEARN |
DELIVER leads with the result and reports only claims supported by the
verification ledger. Internal reasoning may be compressed, but derived skills and
adapters preserve the lifecycle semantics and order.
Step Beyond combines a portable agent skill with a TypeScript reference runtime. The model interprets the request and proposes actions. The controller resolves structured intent hypotheses, classifies permissions before scoring initiative, and records verification evidence. The host adapter connects these decisions to execution tools; the store persists scoped state and audit history.
These components require integration with an agent. Missing execution capabilities limit verification; missing storage rules out durability claims. The runtime API examples describe the concrete integration contracts.
Use the skill to guide an existing agent, or integrate the runtime when you need explicit policy decisions and auditable state:
| Mode | What you get | What you do not get |
|---|---|---|
| prompt-only | Portable reasoning, strict-scope instructions, permission-aware decisions, claim discipline | Enforced persistence, shared state, deterministic permission gates, or audit guarantees |
| runtime-backed | The portable layer plus the reference policy controller, store, adapter contract, verification ledger, and eval runner | A claim that every model or host behaves correctly without adapter-specific behavioral evidence |
verified is an evidence status, not a marketing label. It applies only to the
adapter, host, model, and behavior covered by repeated recorded measurements.
| Package | Responsibility |
|---|---|
@step-beyond/runtime-core |
Intent decisions, strict scope, permissions, adaptive initiative, verification, learning, and turn control |
@step-beyond/runtime-store |
Namespace isolation, secret rejection, atomic JSON state, audit history, correction, deletion, and rollback |
@step-beyond/adapter-reference |
Capability detection, explicit degradation, local execution, and publication permission boundaries |
@step-beyond/eval-runner |
Fresh adapter instances, comparison arms, repetitions, raw evidence, and cost/token/latency/consent metrics |
The runtime packages have no production dependencies. Development uses
TypeScript, node:test, and tsx.
Most prompts are short because the user does not know what a specialist would specify. The agent rebuilds the missing brief (goal, audience, deliverable, quality bar, constraints, done-state) from the conversation, memory, the project, and expert defaults, and asks at most one question.
Before delivery it predicts the user's likely next requests from stated goals, open loops, observed request sequences, gaps in the result, and the direction of the session. Each prediction lands on one rung:
| Rung | When | What happens |
|---|---|---|
DO_AHEAD |
Confident, cheap, local, reversible, separable from the requested result | Done now, verified, disclosed in one line with how to drop it |
PREPARE |
Likely but large, or it would change the requested result | Staged, not applied |
PROPOSE |
Plausible, or the action needs permission | One concrete offer |
HOLD |
Weak evidence, strict scope, or the per-turn budget is spent | Nothing |
Hits and misses are recorded from the user's next message and adjust how far the
agent goes next time. See the
anticipation and
prompt upgrade references.
The prediction hit rate is unmeasured until the Series E cases in
evals/cases.md are run.
The agent creates multiple materially distinct intent hypotheses. Confidence and mistake cost determine whether it proceeds, discloses an assumption, asks one question, or requests permission.
Phrases such as only, just, nothing else, tylko, and nic więcej
activate strict scope. Strict scope disables optional actions and unsolicited
proposals. It still permits work required for the requested result to function
and checks required for honest reporting.
| Class | Meaning |
|---|---|
AUTO |
Cheap, reversible, local, and within scope |
AUTO_WITH_DISCLOSURE |
Reversible local action based on a material assumption |
ASK |
Publication, sending, material cost, credentials, security, destructive work, irreversible work, or high-cost ambiguity |
FORBIDDEN |
Authority escalation, secret exfiltration, unjustified sensitive-memory persistence, or work outside granted authority |
The runtime classifies permission before it scores initiative. fast,
standard, and exploratory modes change the action threshold. strict removes
optional actions and unsolicited proposals. V4 uses this adaptive budget instead
of the fixed v3 5/3/1 ceiling.
The user model distinguishes facts, preferences, constraints, observations, hypotheses, trajectories, open loops, and negative feedback. Each record carries provenance, scope, confidence, timestamps, origin, sensitivity, and status.
The reference store:
- keeps project facts outside user memory;
- rejects likely credentials before persistence;
- supports inspection, correction, soft deletion, audit history, and rollback;
- treats silence and unobservable usage as
unknown; - isolates user records from global heuristic revisions.
When a host already provides memory, rules, skills, or verification, the adapter assigns one owner to each record and one verification record to each material claim. See the adapter contract.
| Status | Meaning |
|---|---|
verified |
The stated scope was checked and passed |
partially_verified |
Named checks passed; named scope remains unchecked |
unverified |
No meaningful execution evidence supports the claim |
An unavailable integration does not erase a useful artifact. The agent narrows or removes the unsupported claim. The verification reference defines evidence handling; the slop index defines observable detection and repair rules for text, code, web, images, and data visualizations.
npm test
npm run typecheck
npm run eval:runtimeeval:runtime is a deterministic replay smoke test. It checks runtime policies,
the runner, and assertions. It does not measure live model or host behavior.
A behavioral report must preserve raw transcripts and artifacts, name every
model/prompt/runtime/adapter version, and record repetitions, parameters, tokens,
cost, latency, and consent violations. The release-gate and sample-size rules live
in evals/README.md. New reports start from
evals/results/TEMPLATE.md, where each case remains
NOT RUN until evidence exists.
Historical Markdown reports keep the limitations recorded when their runs took place. They do not establish current v4 pass rates.
SPEC.md normative behavior
skills/step-beyond/ portable skill and references
skills/step-beyond-chatgpt/ prompt-only ChatGPT adapter
packages/runtime-core/ policy and lifecycle controller
packages/runtime-store/ auditable JSON user-model store
packages/adapter-reference/ reference capability adapter
evals/runner/ repeatable evaluation harness
evals/cases.md behavioral case catalog
evals/results/ templates and recorded reports
scripts/install.sh installer for Claude Code, Codex, Hermes
hooks/hooks.json Claude Code plugin SessionStart hook
docs/runtime.md runtime API and degradation guide
examples/ worked v4 traces
Version 4 remains an alpha reference implementation. The repository includes a
tested TypeScript controller, store, adapter contract, and deterministic eval
harness. Production host adapters and behavioral claims need repeated
adapter-specific runs before they can carry verified status.
Created with obsessive attention to detail by
https://www.aievolutionpolska.pl/ · https://aievolutionlabs.io/
MIT License — Use it. Remix it. Ship it. Just don't remove the attribution.


