Using Apache Ignite from a TypeScript Agent

SkillDatabases & data

Lets your agent connect to an Apache Ignite database and run SQL queries against it from TypeScript.

Use Using Apache Ignite from a TypeScript Agent in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Using Apache Ignite from a TypeScript Agent and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Using Apache Ignite from a TypeScript Agent skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Using Apache Ignite from a TypeScript AgentStart free
About this skill

Using golem:rdbms/ignite2 from a TypeScript Golem agent. Use when the user asks to connect to Apache Ignite 2, run SQL over Ignite, or use Ignite from TypeScript agent code.

What this skill tells your AI

The instructions your AI receives, as published by golemcloud/golem in golem-skills/skills/ts/golem-add-ignite-ts/SKILL.md and read by ahel’s review.

The TypeScript SDK ships a typed Apache Ignite 2 helper built on the golem:rdbms/ignite2@1.5.0 host interface. Every operation returns a Promise and throws a typed IgniteError on failure.

Imports

import { Ignite } from "@golemcloud/golem-ts-sdk";
  • Ignite.open(url, options?) — open a connection.
  • Ignite.* — explicit rich-type parameter wrappers (Ignite.string, Ignite.int, Ignite.uuid, …).

Open a Connection

Ignite uses thin-client URLs like ignite://host:10800.

const conn = await Ignite.open("ignite://127.0.0.1:10800");

Query Data

Ignite placeholders use ?. Plain JS values are encoded automatically (string → db-string, integer → db-int/db-long, etc.); wrap a value in an Ignite.* helper to pin an exact type. Rows come back as decoded { columnName: value } records.

const result = await conn.query("SELECT ? AS message", ["hello"]);
const message = result.rows[0]?.message as string;

Execute Statements

Include WITH "CACHE_NAME=..." when creating tables through Ignite SQL.

await conn.execute(
  `CREATE TABLE IF NOT EXISTS notes (
     id INT PRIMARY KEY,
     body VARCHAR
   ) WITH "CACHE_NAME=notes"`,
);

Transactions

Run a block inside a transaction — it commits on success and rolls back if the callback throws:

await conn.transaction(async (tx) => {
  tx.execute("INSERT INTO notes (id, body) VALUES (?, ?)", [1, "hello"]);
});

Or drive it manually with begin() / commit() / rollback():

const tx = await conn.begin();
tx.execute("INSERT INTO notes (id, body) VALUES (?, ?)", [1, "hello"]);
await tx.commit();

Signals

GitHub stars
2k
Forks
209
Last commit
Oct 2026
Advanced
Item type
skill
Key
golem-add-ignite-ts
Source
github.com/golemcloud/golem