Skip to content
Back to skills

Llamaindex Knowledge Patch

ASecurity

LlamaIndex

  • 25 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 5, 2026
ai-agentspythongonodeapifrontenddocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill llamaindex-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Llamaindex Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Llamaindex Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-llamaindex-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-llamaindex-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: llamaindex-knowledge-patch
description: LlamaIndex
version: null
license: MIT
metadata:
  author: Nevaberry
---


# LlamaIndex Compatibility

Load this skill when migrating LlamaIndex applications or working with ingestion,
retrieval, agents, workflows, memory, and provider integrations. Use the topic
references for package constraints and the detailed behavior of each component.

## Reference index

| Reference | Topics |
| --- | --- |
| [Migration and packaging](references/migration-and-packaging.md) | Removed APIs, Pydantic, dependency constraints, Python requirements, bridge imports, model packages, embeddings, generation, context windows |
| [Agents and workflows](references/agents-and-workflows.md) | Memory, workflow state and resources, validation, function tools, AG-UI |
| [Ingestion and storage](references/ingestion-and-storage.md) | Cache invalidation, workers, deletion, upserts, parsing, readers, vector stores, retrieval, reranking, citations, streaming |

## Breaking changes and deprecations

### Replace removed configuration APIs

v0.11 removes `ServiceContext` and `LLMPredictor`;
`ServiceContext.from_defaults()` raises an error. Assign the LLM instance itself
to `Settings.llm` for a process default, or pass LLM and embedding instances
directly to components that need their own configuration.

```python
from llama_index.core import Settings

Settings.llm = llm
Settings.embed_model = embed_model
```

### Check custom components and dependencies

Core moves to Pydantic v2 in v0.11. Check custom components and event models for
Pydantic v1 validator and serialization APIs, and verify integration support.
Resolve all installed distributions together when upgrading to v0.11 or v0.12:
each integration has its own version and core constraints.

`pandas` becomes optional in v0.11. Declare it as an application dependency if
your code or the features it uses require it. Core removes its NumPy version pin
in v0.12; resolve NumPy against the full environment's constraints.

### Check runtime and removed integrations

v0.12 drops Python 3.8 support. Check the Python requirement of the release you
install. Several later packages raise their minimum Python versions; the
migration reference identifies the affected packages and releases.

Core 0.14.25 removes the deprecated `ipex-llm` and `optimum-intel` IPEX
integrations. Migrate code that uses either integration before upgrading.

### Use the recommended agent memory

Later documentation recommends `Memory` for new agents and deprecates
`ChatMemoryBuffer`, `ChatSummaryMemoryBuffer`, and `VectorMemory`.
`Memory` accepts any `AsyncDBChatStore` implementation, including custom stores.

### Handle failed tools explicitly

Core 0.14.25 skips automatic retries when a function tool fails. Handle transient
failures explicitly if a tool needs retries. Generated tool schemas exclude
`*args` and `**kwargs` from the list of required inputs.

### Account for AG-UI history behavior

`llama-index-protocols-ag-ui` 0.5.0 excludes frontend tool results from server-side
conversation history. Applications that need those results must store them
separately. The agents reference records the conflicting earlier history claim.

Supply the matching `tool_call_id` on tool result messages; AG-UI raises
`ValueError` if the ID is missing. Version 0.6.0 of the integration converts
producer content using AG-UI 1.0; consuming clients should handle that format.

## Ingestion and indexing

### Match deletion strategy to source inventory

Use a deletion-enabled `DocstoreStrategy` only when the run includes every source
document that should remain indexed. On a partial crawl, the strategy can treat
documents outside the batch as removed.

### Invalidate caches when transformation behavior changes

`IngestionPipeline` caches by node input and transformation configuration.
When a custom transformation changes behavior without changing its serialized
configuration, invalidate the cache, including local caches saved with
`pipeline.persist()` and restored with `pipeline.load()`.

### Use process workers with picklable transformations

`IngestionPipeline.run()` can execute transformations in separate processes with
`num_workers`. Use transformations that can be pickled when enabling workers.

```python
nodes = pipeline.run(documents=documents, num_workers=2)
```

### Preserve chunks and inspect size limits

Ingestion upserts retain every node produced for a document. Upsert a document
that splits into multiple chunks and expect all of its chunks in the updated
index. `CodeSplitter` preserves an oversized leaf node; check returned chunk sizes
if a downstream component enforces a hard limit.

`HTMLNodeParser` filters empty nodes. Set `raise_on_error=True` on an LLM path
extractor to propagate extraction failures to the caller.

## Workflow execution and memory

### Configure standalone workflows and structured output

Install `llama-index-workflows` for `import workflows`. `llama-index-core`
includes a compatible dependency and keeps `llama_index.core.workflow` available.
`AgentWorkflow` honors `output_cls` and `structured_output_fn` set on the agent.

### Coordinate events and shared run state

A step can return a list of typed events to dispatch a finite batch; a downstream
step can consume collected results together. Steps in the same run share an
asynchronous key/value store at `ctx.store`. Use the store's edit pattern for
coordinated updates when steps run concurrently.

```python
await ctx.store.set("attempt", 1)
attempt = await ctx.store.get("attempt")
```

Workflow resources inject dependencies such as clients, indexes, or models.
Resource factories support dependency validation and test replacements; the
context store holds serializable run state.

### Validate routing and retain memory content

Workflows validate the event graph inferred from step annotations before
execution. Call `workflow.validate()` in tests or at startup to catch routing
issues such as events with no producer or consumer.

Chat history writes retain all message blocks. The streaming chat response
exposes its accumulated text when written to memory. The
`FactExtractionMemoryBlock` condense prompt requests a full snapshot of retained
facts; use its condensed result as a replacement snapshot.

## Retrieval and response synthesis

### Respect zero and null settings

MMR embedding search honors `mmr_threshold=0`. `MetadataFilters` treats
`condition=None` as AND, so a match must satisfy every supplied filter.
`MetadataReplacementPostProcessor` keeps original node content when the target
metadata key has a `None` value.

### Rerank asynchronously and stream synthesis

`LLMRerank` supports asynchronous postprocessing. `StructuredLLMRerank` supports
native async postprocessing; given a configured reranker:

```python
ranked_nodes = await reranker.apostprocess_nodes(nodes, query_str=query)
```

Query engines with `streaming=True` can stream synthesized responses with either
`response_mode="compact"` or `response_mode="refine"`. Each citation node from
`CitationQueryEngine` has its own ID and offsets, including when multiple
citations split from one source node.

## Provider request defaults

### Preserve model choice and generation defaults

`llama-index-llms-google-genai` 0.10.0 changes the model selected when none is
specified. Set `model` explicitly to preserve your choice across the upgrade.
The integration leaves unspecified generation parameters out of requests so
service defaults apply. In 0.11.3, its default `temperature` is supplied only for
models older than generation 3; generation 3 and later use the service default
when the caller leaves `temperature` unset.

### Check Converse configuration and asynchronous SDK paths

`llama-index-llms-bedrock-converse` accepts `"type": "disabled"` in thinking
configuration. Version 0.15.5 supports `block_binding` for compatible models,
stops forcing `toolChoice` for the newly supported model that rejects forced
selection, and omits `temperature` for newly supported models that reject it.

`llama-index-embeddings-bedrock` and `llama-index-llms-bedrock-converse` make
`aioboto3` optional. Install it separately when using their asynchronous SDK paths.

Files in this skill

  • SKILL.md7.8 KB
  • coverage.json938 B
  • references/agents-and-workflows.md4.2 KB
  • references/ingestion-and-storage.md4.9 KB
  • references/migration-and-packaging.md3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.