Skip to content
Agentmart
Submit a tool

elasticsearch-py

Guide the official Elasticsearch Python client for cluster connections, generated APIs, async code, bulk ingestion, query DSL, ES|QL, optional integrations…

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying elasticsearch-py?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-elasticsearch-py

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Guide the official Elasticsearch Python client for cluster connections, generated APIs, async code, bulk ingestion, query DSL, ES|QL, optional integrations, and runtime troubleshooting.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/elasticsearch-py

What's inside

Skill name
elasticsearch-py
Description
Guide the official Elasticsearch Python client for cluster connections, generated APIs, async code, bulk ingestion, query DSL, ES|QL, optional integrations, and runtime troubleshooting.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
76 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (25)

  • SKILL.md
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • SKILL.md · sub-skills/client-operations/
  • api-reference.md · sub-skills/client-operations/references/
  • connection-recipes.md · sub-skills/client-operations/references/
  • troubleshooting.md · sub-skills/client-operations/references/
  • SKILL.md · sub-skills/dsl-search/
  • api-reference.md · sub-skills/dsl-search/references/
  • data-and-mapping.md · sub-skills/dsl-search/references/
  • troubleshooting.md · sub-skills/dsl-search/references/
  • workflows.md · sub-skills/dsl-search/references/
  • dsl_query_smoke.py · sub-skills/dsl-search/scripts/
  • SKILL.md · sub-skills/esql-query-builder/
  • api-reference.md · sub-skills/esql-query-builder/references/
  • pandas-integration.md · sub-skills/esql-query-builder/references/
  • troubleshooting.md · sub-skills/esql-query-builder/references/
  • workflows.md · sub-skills/esql-query-builder/references/
  • esql_query_smoke.py · sub-skills/esql-query-builder/scripts/
  • SKILL.md · sub-skills/helpers-ingest/
  • api-reference.md · sub-skills/helpers-ingest/references/
  • troubleshooting.md · sub-skills/helpers-ingest/references/
  • workflows.md · sub-skills/helpers-ingest/references/
  • bulk_actions_smoke.py · sub-skills/helpers-ingest/scripts/

SKILL.md (first lines)

# Elasticsearch Python client

Use this skill when a task uses the official `elasticsearch` Python package or
asks for Elasticsearch connections, indexing/search APIs, async client code,
bulk helpers, the high-level DSL, ES|QL, vector-store helpers, or client
troubleshooting. The source snapshot is package version 9.5.0; read
[repo-provenance.md](references/repo-provenance.md) before deciding whether the
skill is stale for a different client checkout or version.

## Route the request

- **Connect, authenticate, configure transport, use generated API namespaces,
  or manage sync/async lifecycle:** read
  [client-operations](sub-skills/client-operations/SKILL.md).
- **Bulk index/update/delete, streaming, scan, reindex, or helper failures:**
  read [helpers-ingest](sub-skills/helpers-ingest/SKILL.md).
- **`Q`, `Search`, aggregations, mappings, `Document`, typed persistence, or
  high-level query composition:** read [dsl-search](sub-skills/dsl-search/SKILL.md).
- **ES|QL source/processing builders, safe parameters, or tabular results:** read
  [esql-query-builder](sub-skills/esql-query-builder/SKILL.md).
- **Shared install, serialization, version, or security failures:** read
  [troubleshooting.md](references/troubleshooting.md) in addition to the route.

For a cross-cutting task, load client-operations first, then the workflow route;
keep the client/auth configuration separate from request-body construction.

## Install and smoke check

The package supports Python 3.10+. Install only the extras used by the task:

```bash
python -m pip install elasticsearch
python -m pip install "elasticsearch[async]"       # aiohttp async transport
python -m pip install "elasticsearch[requests]"    # requests transport
python -m pip install "elasticsearch[orjson]"      # optional serializer
python -m pip install "elasticsearch[pyarrow]"     # Arrow/ES|QL workflows
python -m pip install "elasticsearch[vectorstore_mmr]"  # MMR helper support
```

```python
from elasticsearch import AsyncElasticsearch, Elasticsearch
print(Elasticsearch, AsyncElasticsearch)
```

An import proves package availability only. `client.info()` is a live service
probe and requires a reachable endpoint, credentials, and correct TLS.

## Guardrails

- Keep API keys, passwords, bearer tokens, CA files, and cluster URLs in runtime
  configuration or environment variables, not in generated guidance or logs.
- Prefer TLS verification with `ca_certs` or a supported fingerprint. Do not use
  `verify_certs=False` as a production solution.
- Generated client modules are specification output; do not edit files under
  `elasticsearch/_sync/client/` or `elasticsearch/_async/client/` to change an
  API. Upstream API changes belong in the Elasticsearch specification project.
- A bulk HTTP response can contain item failures. Inspect helper results and
  use bounded retries only for operations whose retry semantics are understood.
- A rendered DSL/ES|QL request is not server validation. Check target mappings,
  server version, privileges, response shape, and partial-result flags.
- Close clients: `client.close()` for sync and `await client.close()` for async,
  preferably with an async context manager.

## Verification entry points

Use the bundled offline checks when no cluster is available:

- `python sub-skills/helpers-ingest/scripts/bulk_actions_smoke.py`
- `python sub-skills/dsl-search/scripts/dsl_query_smoke.py`
- `python sub-skills/esql-query-builder/scripts/esql_query_smoke.py`

Read [routing metadata](references/repo-routing-metadata.json) only when the
managed repo-skill router is being rebuilt; it is structured metadata, not a
user workflow reference.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get elasticsearch-py running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying elasticsearch-py?

CallGet help
Cite this page

elasticsearch-py skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-elasticsearch-py (last updated 2026-10-24)