Workflow node types for aceteam-workflow-engine
Project description
aceteam-nodes
A bundle of workflow node types for aceteam-workflow-engine: LLM text generation, HTTP requests, authenticated browser fetch, and XPath extraction.
This is a node-source package, not a runner. It ships no CLI and no execution
engine — it advertises its nodes through the aceteam_workflow_engine.nodes
entry-point group, and an operator mounts them into an engine with
wengine install aceteam-nodes. The engine then executes them.
Install into a workflow engine
Nodes are discovered through entry points and mounted by the engine operator with
the wengine CLI (which drives uv under the hood). From an engine project:
# Create an engine project if you don't have one yet
wengine init # creates engine.yaml + a pyproject.toml to install into
# Mount every node this package exposes
wengine install aceteam-nodes
# ...or mount only specific nodes
wengine install aceteam-nodes --only LLM --only APICall
wengine install runs uv add aceteam-nodes and records each node in the
operator-controlled name map (engine.yaml). It reads the entry-point table from
package metadata — listed below — without importing the modules. Nodes whose
entry declares an extra (e.g. LLM [llm]) pull that optional dependency
automatically, so wengine install aceteam-nodes --only LLM installs
aceteam-nodes[llm].
Workflows then reference these nodes by their type discriminator (LLM,
APICall, …). See the engine's node-distribution docs
for the full install/uninstall surface and the trust model.
Direct install
To add the package (and its optional deps) to an environment directly:
pip install aceteam-nodes # core nodes only
pip install "aceteam-nodes[llm]" # + LLM (aceteam-aep)
pip install "aceteam-nodes[browser-fetch]" # + BrowserFetch (Playwright)
pip install "aceteam-nodes[xpath-extract]" # + XPathExtract (lxml)
Using uv
uv add aceteam-nodes # core nodes only
uv add "aceteam-nodes[llm]" # + LLM (aceteam-aep)
uv add "aceteam-nodes[browser-fetch]" # + BrowserFetch (Playwright)
uv add "aceteam-nodes[xpath-extract]" # + XPathExtract (lxml)
Available Nodes
| Node | Extra | Description |
|---|---|---|
| LLM | llm |
AI text generation via aceteam-aep (OpenAI, Anthropic, Google, xAI, Ollama) |
| APICall | — | HTTP requests with Jinja templating |
| Shell | — | Run shell commands and capture stdout/stderr (trusted engines only) |
| BrowserFetch | browser-fetch |
Authenticated web fetch via Playwright |
| DiscordBotInfo | discord-bot-info |
Return the authenticated Discord bot's ID and username |
| DiscordListChannels | discord-list-channels |
List channels in a Discord server |
| DiscordReadMessages | discord-read-messages |
Fetch recent messages from a channel (Message Content intent required) |
| DiscordSendMessage | discord-send |
Send a message to a Discord channel |
| SlackListChannels | slack-list-channels |
List workspace channels via conversations.list |
| SlackReadMessages | slack-read-messages |
Fetch channel history via conversations.history |
| SlackSearchMessages | slack-search-messages |
Search workspace messages (requires SLACK_USER_TOKEN) |
| SlackSendMessage | slack-send |
Send a message via Slack Web API |
| TelegramBotInfo | telegram-bot-info |
Return the authenticated Telegram bot's ID and username |
| TelegramListChats | telegram-list-chats |
Look up metadata for a single chat via getChat |
| TelegramReadMessages | telegram-read-messages |
Fetch recent updates via getUpdates (incompatible with webhooks) |
| TelegramSendMessage | telegram-send |
Send a message via Telegram Bot API |
| XPathExtract | xpath-extract |
XPath extraction over HTML/XML |
Each node needing a heavy/optional dependency has one extra named after the
node (llm, browser-fetch, xpath-extract), so aceteam-nodes[browser-fetch]
reads as "BrowserFetch is installed." The APICall node needs no extra.
Browser profile setup
BrowserFetch drives a real Chromium profile so it can fetch authenticated pages.
After installing the browser-fetch extra and Playwright's browser binaries,
create the profile interactively:
# After: pip install "aceteam-nodes[browser-fetch]" && playwright install chromium
ace-browser-setup
# equivalent: uv run python scripts/browser_setup.py
Configuration
LLM provider credentials are read from the environment:
export OPENAI_API_KEY=sk-...
# or
export ANTHROPIC_API_KEY=sk-ant-...
export DISCORD_BOT_TOKEN=... # Discord send/read nodes
export SLACK_BOT_TOKEN=... # Slack send/read/list nodes
export SLACK_USER_TOKEN=... # Slack search node (user token, xoxp-...)
export TELEGRAM_BOT_TOKEN=... # Telegram send/read nodes
Development
# Setup (installs project + dev deps: pyright, pytest, ruff, aceteam-aep, playwright, lxml)
uv sync
# Test
uv run pytest
uv run pytest -x # stop on first failure
# Lint & format
uv run ruff check && uv run ruff format
# Type check
uv run pyright
# Build
uv build
# Release
scripts/release.sh -v vX.Y.Z --dry-run # preview
scripts/release.sh -v vX.Y.Z -y # publish to PyPI + GitHub
Adding a node
Add three things in lockstep:
- The node class in
src/aceteam_nodes/nodes/(with itsTYPE_INFO). - The export in
nodes/__init__.py. - The export in
__init__.py. - The entry-point line under
[project.entry-points."aceteam_workflow_engine.nodes"]inpyproject.toml(append[extra_dependency_name]if it needs an optional dependency).
Related
- Workflow Engine — the DAG execution engine that discovers and runs these nodes
- aceteam-aep — multi-provider LLM abstraction used by the LLM node
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aceteam_nodes-0.7.2.tar.gz.
File metadata
- Download URL: aceteam_nodes-0.7.2.tar.gz
- Upload date:
- Size: 161.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
460a05af9e2906d67269f9cc36377b41aa956e8010ef9ac58d5b6d48f715bbb5
|
|
| MD5 |
674ee80d3b600af67224012bbc25dfc2
|
|
| BLAKE2b-256 |
0a4f68cec8d03c64bb9b0087d73c17eed1ef5a035b41cc630d8f83d015f929da
|
File details
Details for the file aceteam_nodes-0.7.2-py3-none-any.whl.
File metadata
- Download URL: aceteam_nodes-0.7.2-py3-none-any.whl
- Upload date:
- Size: 47.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
752c0e4f169d86fe151d658f266c62d2e40bee817843c13688cc3a8832cd3798
|
|
| MD5 |
666249e0c6513b71496f2e08a7180dff
|
|
| BLAKE2b-256 |
7bc974d044c9c4357fcb0ba95236851ac54a8e6b39fafb73b514de79ced623f8
|