Skip to content

Commit ae099cf

Browse files
Document multi-graph backfill and submit-without-polling in the skill. (#9)
Agents should enqueue all episodes across graphs and sources without polling between adds, then poll once on the last episode when retrievability matters. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent b77f86e commit ae099cf

5 files changed

Lines changed: 29 additions & 3 deletions

File tree

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "building-with-zep",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"description": "Build and configure applications that use Zep — agent memory built on temporal Context Graphs. Bundles the building-with-zep skill (how to reason about and build on Zep) and the Zep documentation MCP server (real-time docs search).",
55
"author": {
66
"name": "Zep",

.codex-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "building-with-zep",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"description": "Build and configure applications that use Zep — agent memory built on temporal Context Graphs. Bundles the building-with-zep skill (how to reason about and build on Zep) and the Zep documentation MCP server (real-time docs search).",
55
"author": {
66
"name": "Zep",

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ Claude Code also uses it for update detection. Bump it with
1111

1212
## Unreleased
1313

14+
## 0.4.3 — 2026-08-26
15+
1416
### Changed
1517

1618
- Make `assets/logo.png` exactly square (704×704) so it meets Cursor
1719
Marketplace’s 1:1 logo requirement.
20+
- Document multi-graph backfill guidance in the building-with-zep skill:
21+
submit all episodes to all graphs without waiting for processing between
22+
graphs or sources, and poll only once on the last episode when retrievability
23+
matters (applies to `thread.add_messages`, `graph.add`, batch, and
24+
`zep-ingest` alike).
1825

1926
## 0.4.2 — 2026-08-18
2027

plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
33
"name": "building-with-zep",
4-
"version": "0.4.2",
4+
"version": "0.4.3",
55
"description": "Build and configure applications that use Zep — agent memory built on temporal Context Graphs. Bundles the building-with-zep skill and the Zep documentation MCP server.",
66
"author": {
77
"name": "Zep",

skills/building-with-zep/SKILL.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ claims) — good retrieval draws on both. See
126126
retrievable (seconds or more). Design for eventual availability rather than
127127
reading back immediately; check status when it matters via
128128
[Check ingestion status](https://help.getzep.com/check-data-ingestion-status).
129+
**Submit all episodes without polling between adds** — for
130+
`thread.add_messages`, `graph.add`, batch, or `zep-ingest` alike — and
131+
**poll only once, on the last episode**, when you need retrievability.
132+
Expected wait time scales with total episode count in that graph.
129133

130134
## Implementation: scope → ingest → retrieve
131135

@@ -186,6 +190,21 @@ docs (see the [index](#documentation-index)) rather than guessing.
186190
(`zep-ingest`, or [batch ingestion](https://help.getzep.com/adding-batch-data)
187191
for large volumes) and live/streaming updates (`thread.add_messages` /
188192
`graph.add`).
193+
- **Multi-graph backfills — enqueue everything, then wait once.** Graphs do
194+
not share a processing queue; one graph finishing extraction is not a
195+
prerequisite for another to accept data. For a backfill into multiple graphs
196+
(user and/or standalone), create all destinations and configure
197+
ontology/instructions first — ontology is not retroactive — then **submit all
198+
episodes to every graph without waiting on another graph's processed status**.
199+
Use the [Batch API](https://help.getzep.com/adding-batch-data) or `zep-ingest`
200+
with `method="auto"` or `"batch"`. Waiting for graph A to finish before even
201+
*sending* to graph B is a common backfill anti-pattern. After all submits are
202+
queued, wait or poll once (in parallel per graph if you like) until the facts
203+
you need are searchable — only when you are about to search or demo, not after
204+
every file or graph. Within a single graph, enqueue all sources together too;
205+
do not finish one source before submitting the next unless you have a real
206+
dependency (e.g. seed nodes/triples before episodes that must pin to those
207+
UUIDs).
189208
- **Customize extraction (iterate, don't front-load).** Rule of thumb:
190209
**ontology defines the *shape* of the graph (which entity/edge types exist);
191210
instructions define *how to interpret* your domain** — don't conflate them.

0 commit comments

Comments
 (0)