Home/Tools/@tpmjs/tools-hllm

executeTopology

@tpmjs/tools-hllm

Execute a topology with streaming SSE response. Supports topology types: single, sequential, parallel, map-reduce, scatter, debate, reflection, consensus, brainstorm, decomposition, rhetorical-triangle, tree-of-thoughts, react.

Official
agent
v0.1.2
MIT
⚠️

This tool is currently broken

Execution Failed
Runtime error with test parameters
HLLM API error: HTTP 405 - 

Last checked: 1/17/2026, 1:43:05 AM

Interactive Playground

Test @tpmjs/tools-hllm (executeTopology) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-hllm
pnpm add @tpmjs/tools-hllm
yarn add @tpmjs/tools-hllm
bun add @tpmjs/tools-hllm
deno add npm:@tpmjs/tools-hllm

2. Import the tool

import { executeTopology } from '@tpmjs/tools-hllm';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { executeTopology } from '@tpmjs/tools-hllm';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { executeTopology },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Parameters

Available configuration options

Auto-extracted
topology
Required
Type: string

Type of topology to execute.

prompt
Required
Type: string

The prompt to send to the topology.

model
Optional
Type: string

Model to use (e.g., "gpt-4", "claude-3-opus"). Uses default if not specified.

systemPrompt
Optional
Type: string

System prompt to set the context.

temperature
Optional
Type: number

Temperature for response randomness (0-2). Default: 0.7

maxTokens
Optional
Type: number

Maximum tokens in response.

tools
Optional
Type: array

Tool IDs to make available to the topology.

sessionId
Optional
Type: string

Session ID to continue a conversation.

Schema extracted: 1/17/2026, 12:59:35 AM

README

ERROR: No README data found!

Statistics

Downloads/month

0

Quality Score

0%

Bundle Size

NPM Keywords

tpmjs
hllm
ai
llm
topology
agent

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai
executeTopology | TPMJS | TPMJS