Use AgentWorks memory, evaluations, and release evidence
AgentWorks treats context, memory, tests, and release evidence as declared, inspectable inputs to an agent rather than state hidden inside a framework. That lets you explain why a run saw a piece of information, and why a release was allowed into an environment. In 1.15.0 these responsibilities are split: the runtime assembles context and keeps run memory; the test kit runs tests on your machine; and Flightdeck, which hosts the AgentWorks control plane, owns evaluation records, signed release evidence, and promotion gates.
| Capability | Where it lives in 1.15.0 |
|---|---|
| Context assembly and its explanation | The runtime, for every run |
| Conversation and working memory | The runtime, headless or connected |
Entity memory (remember, recall) | Flightdeck, for a runtime enrolled with it; a headless runtime has none |
| AgentTest and simulations | The test kit, on your machine, with no server |
| Evaluation datasets, evaluators, baselines | Flightdeck's hosted AgentWorks control plane; not served by the runtime |
| Signed release evidence and promotion gates | Flightdeck signs and gates; the runtime only verifies |
How is a run's context assembled?
spec.context in the AgentSpec sets the budget and policy, and the release pins it:
spec:
context:
maxTokens: 64000
loadingPolicy: ON_DEMAND # ALWAYS, ON_DEMAND, SEMANTIC, TOOL_TRIGGERED, SKILL_TRIGGERED or NEVER_INLINE
cacheAware: true
compaction: {enabled: true, threshold: 0.8, strategy: summary}
Reusable material is valid only for the same workspace, release, deployment revision, policy, and dependencies, and
run-specific input is rebuilt for every continuation. To see why a run received what it did, read
GET /api/v1/runs/{id}/context: it lists the context compiler's decisions (included, excluded, and compacted items,
their provenance, and token estimates against the budget) without the content itself, so the explanation never
becomes a second copy of a prompt or of retrieved personal data. It needs WORKSPACE_READ.
What memory does an agent keep?
spec.memory turns tiers on with enabled: true: conversation, working, semantic, and episodic.
- Conversation and working memory work on both kinds of runtime, scoped to the run's workspace and release policy.
- Entity memory is facts about a subject, such as a lead id, saved and read with the built-in tools
agentworks:remember:1.0.0andagentworks:recall:1.0.0. In 1.15.0 it exists only on a runtime enrolled with Flightdeck: Flightdeck keeps the facts, lists them, and forgets them. Facts belong to the workspace, so every agent of the workspace shares them and no other workspace reads them. A fact is masked before it is kept (a PAN becomes[PAN_1]), and lives foragentworks.memory.entity.time-to-live, 90 days by default. - Semantic retrieval: AgentWorks bundles no vector database and does not claim production vector retrieval. If you add a knowledge provider, document its authorization, retention, and failure behavior yourself.
How do you test an agent without a server?
The test kit is a JUnit library for agent tests and simulations. It replaces the model, tools, MCP and A2A peers, the clock, and the network with deterministic fakes, so the same seed reproduces the same trace. Expectations check the output, tool activity, policy decisions, usage, and failures, and the result is written as machine-readable evidence. Simulation recipes add seeded faults, such as timeouts, refusals, and malformed results, to test recovery and cleanup.
Run a project's tests with the CLI, which calls no server and passes the child process no AgentWorks credential:
agentworks test run
agentworks simulate run
The test kit is not in the released image or the published library set; using it requires authorized access to the private release tag. A passing simulation is engineering evidence, not evidence that a real provider or network was tested.
Where do evaluations run?
Not on the runtime. In 1.15.0 the runtime serves no evaluation API, and the CLI has no evaluation commands. Evaluation datasets, evaluators, and baselines are records of the AgentWorks control plane that Flightdeck hosts, and Flightdeck's AgentWorks Features page lists them read-only. Treat deterministic checks in the test kit as the evaluation you can run yourself in this release.
How do evidence and promotion gates control a release?
Releases, promotions, and their gates belong to Flightdeck. A release's page in Flightdeck creates a signed evidence bundle and an agent bill of materials (ABOM) for that exact release. An environment's page holds its promotion policy, a versioned JSON document of typed gates:
| Gate | What it requires |
|---|---|
REQUIRE_PRIOR_ENVIRONMENT | The release was deployed in the named environment first. |
CHANGE_FREEZE | Nothing; every promotion into the environment is denied. |
TEST, EVALUATION, SECURITY, COST, LATENCY | A recorded verdict of that kind, optionally with a status or a metric threshold. |
HUMAN_APPROVAL, SEPARATION_OF_DUTIES | An approval, and an approver who is not the person who produced the release. |
RELEASE_EVIDENCE | A valid signed evidence bundle for this release. |
A promotion whose required evidence is missing, revoked, or tied to another release fails closed, and the deployments
already serving keep their release. A runtime never signs evidence. It verifies it against the keys in
agentworks.release-evidence.trusted-public-keys.<id>, minus agentworks.release-evidence.revoked-key-ids, and a
runtime given a signing setting (active-key-id, private-key, or required) refuses to start and names what
replaced it. A headless runtime has no promotion: changing its runtime file is the change. See
releases and deployments.