AceTeam workflow nodes for local execution
Project description
aceteam-nodes
AceTeam workflow nodes for local CLI execution. Run AceTeam workflows on your own machine with any LLM provider.
Install
pip install aceteam-nodes
Quick Start
# Run a workflow
python -m aceteam_nodes.cli run examples/hello-llm.json --input '{"prompt":"Explain AI in one sentence"}'
# List available nodes
python -m aceteam_nodes.cli list-nodes
# Validate a workflow file
python -m aceteam_nodes.cli validate examples/hello-llm.json
Configuration
Create ~/.ace/config.yaml to configure API keys and defaults:
default_model: gpt-4o-mini
Set your API key via environment variable:
export OPENAI_API_KEY=sk-...
# or
export ANTHROPIC_API_KEY=sk-ant-...
How It Works
Workflow JSON ──> AceTeamWorkflow (load + validate)
│
▼
workflow-engine (DAG execution)
│
▼
AceTeamNode.run() per node
│ │
▼ ▼
litellm httpx/jinja2
(100+ LLMs) (API calls)
- A workflow JSON file defines nodes and their connections as a directed acyclic graph
AceTeamWorkflowvalidates the file and resolves node references- The
aceteam-workflow-engineexecutes nodes in topological order - Each node type implements
run()— LLM nodes call litellm, API nodes use httpx, etc. - Results flow through the graph until all outputs are produced
Available Nodes
| Node | Description |
|---|---|
| LLM | AI text generation via litellm (100+ providers) |
| APICall | HTTP requests with Jinja templating |
| TextInput | Static text source |
| DataTransform | Data transformation |
| CSVReader | CSV data source |
| If / IfElse | Conditional branching |
| ForEach | Loop iteration |
| Equal, NotEqual, GreaterThan, LessThan, And, Or, Not | Comparison/logic operators |
Development
# Setup
uv sync --extra dev
# Test
uv run pytest
# Lint & format
uv run ruff check && uv run ruff format
# Type check
uv run pyright
# Build
uv build
Related
- Ace CLI — TypeScript CLI that wraps this package for a streamlined user experience
- Workflow Engine — The DAG execution engine used under the hood
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
aceteam_nodes-0.1.2.tar.gz
(131.8 kB
view details)
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.1.2.tar.gz.
File metadata
- Download URL: aceteam_nodes-0.1.2.tar.gz
- Upload date:
- Size: 131.8 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 |
8aaf56337951fd1221cf14424bd680a5fc1fc0a9fa6184e94e21ef2b9b16453d
|
|
| MD5 |
a5500c7ab890e950e7a367e4c2fe7dae
|
|
| BLAKE2b-256 |
5e6886d4e7f18a096403db3ea0b96ed18e1a761569c9ad860e129b4746693f2b
|
File details
Details for the file aceteam_nodes-0.1.2-py3-none-any.whl.
File metadata
- Download URL: aceteam_nodes-0.1.2-py3-none-any.whl
- Upload date:
- Size: 26.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 |
60f39838177f063df12bbe294b6b98aa31b052ef5bac7e20b38217ffc0fdb754
|
|
| MD5 |
d8370ef65dc3a376c57274657a3fa9a7
|
|
| BLAKE2b-256 |
bfe502616b8519bb027d49aed81c7716b64a5ea580d90a9828c614d360fc8535
|