Skip to main content

Low-code agent framework: define agents and flows in YAML, run them from the CLI.

Project description

Telize

Unleash orchestrated AI agents with superhuman reach—build intricate, multi-stage workflows in YAML and command their power from your terminal, under your complete control.

Telize is a low-code framework for building agent-style pipelines: chain shell commands, file I/O, LLM calls, Python functions, and nested flows in a single workflow file. Configuration is validated before execution, and the CLI shows live progress as each step completes.

CI · Python 3.12+ · License


Table of contents

Features

  • YAML workflows — one file defines global config, named flows, and steps
  • Composable stepsinput, llm, shell, python, flow, and yaml actions
  • Jinja templating — wire step outputs together with {{ steps.name.output }}
  • Loops and sub-flows — iterate LLM steps over split lists; call nested flows with uses: flow
  • Validated upfront — Pydantic models catch schema errors before any step runs
  • Rich CLI output — progress, step panels, and errors in the terminal
  • OpenAI-compatible LLMs — official OpenAI API or local Ollama via the same client

Requirements

  • Python 3.12+
  • LLM endpoint for uses: llm steps — OpenAI or Ollama (OpenAI-compatible at http://localhost:11434 by default)
  • Optional: uv for fast local development

Installation

pip install telize

From source:

git clone https://github.com/telize-ai/telize.git
cd telize
uv sync
uv pip install -e .

Check the install:

telize --version

Quick start

1. For local models, start Ollama and pull a model:

ollama pull qwen3.5:4b   # or any model you set in config

For OpenAI Cloud, set OPENAI_API_KEY and use api_base_url: https://api.openai.com/v1 (or omit api_base_url to use the SDK default).

2. Create hello.yaml:

config:
  provider: openai
  model: qwen3.5:4b
  api_base_url: http://localhost:11434
  entrypoint: main

flows:
  main:
    steps:
      - name: greet
        uses: llm
        prompt: Say hello in one friendly sentence.

3. Run it:

telize -f hello.yaml

Validate the file without executing steps:

telize -f hello.yaml --validate-only

Run the bundled examples:

telize -f examples/minimal_llm.yaml
telize -f examples/spec_reference.yaml --validate-only

How it works

┌─────────────┐      ┌──────────────┐     ┌─────────────────┐
│  workflow   │─────>│  load +      │────>│  WorkflowRunner │
│  .yaml      │      │  validate    │     │  (entrypoint)   │
└─────────────┘      └──────────────┘     └────────┬────────┘
                                                   │
                     ┌─────────────────────────────┼────────────────────────────┐
                     ▼                             ▼                            ▼
                   steps                         loops                       sub-flow
              (step → step)                (split & iterate)               (uses: flow)
  1. Telize loads your YAML and validates it against typed models.
  2. The flow named in config.entrypoint runs first.
  3. Each step executes through a registered action (input, llm, shell, …).
  4. Later steps can reference earlier outputs via Jinja templates.
  5. The CLI prints progress and results as the workflow runs.

Workflow reference

Top-level structure

Key Description
config Global settings: entrypoint, provider, model, temperature, api_base_url, api_key, system_prompt
flows Named flows; config.entrypoint must match one of these keys

Flow

Field Description
steps List of steps (unique name per flow), executed in order

Steps (uses)

uses Description
input Read a file or a directory (with glob include)
llm Send a prompt to the configured model; optional output_to, loop
shell Run run commands; optional envs (supports templates)
python Call call (module.function) with args
flow Run another flow via run
yaml Run an external workflow from file (own config and flows); optional input map passed to the child as {{ input.key }}

Templating

Telize uses Jinja2 in step fields.

When What you can use
Load time {{ env.VAR }} — expanded when the file is parsed
Runtime {{ steps.<name>.output }}, {{ config.model }}, {{ input.<key> }}, {{ item }} (inside loops)

Workflow input is provided when invoking Telize from the shell (--input, --input-file, --input-stdin) or by a parent yaml step's input map when running a nested workflow.

Example — chain a shell step into an LLM step:

- name: fetch_data
  uses: shell
  run: cat ./data.txt

- name: summarize
  uses: llm
  prompt: |
    Summarize this:
    {{ steps.fetch_data.output }}

Examples

File What it demonstrates
examples/spec_reference.yaml Full specification reference (all step types and fields)
examples/minimal_llm.yaml Smallest runnable LLM workflow
examples/shell_to_llm.yaml Shell → LLM with {{ steps.*.output }}
examples/read_file.yaml uses: input — single file
examples/read_directory.yaml uses: input — directory glob
examples/llm_save_output.yaml output_to — persist LLM text to disk
examples/llm_loop.yaml loop — split output and iterate
examples/call_subflow.yaml uses: flow — sub-flow in the same file
examples/nested_workflow.yaml uses: yaml — external workflow + input
examples/python_step.yaml uses: python — call a Python function
examples/multi_model.yaml Multiple named models profiles
examples/shell_with_env.yaml Shell envs and load-time {{ env.* }}
examples/env_config.yaml {{ env.VAR }} in the models section at load time

CLI

usage: telize [-h] [--version] [-f FILE] [--validate-only]

options:
  -h, --help         show help
  --version          show version
  -f, --file FILE    path to workflow YAML
  --validate-only    parse and validate without running steps

Development

uv sync
uv run pytest
uv run ruff check .
uv run ruff format .
uv run mypy

See CONTRIBUTING.md for pull request guidelines and CHANGELOG.md for release notes.

Contributing

Contributions are welcome — bug reports, docs, and pull requests. Please read CONTRIBUTING.md and open an issue before large changes.

License

Apache License 2.0 — see LICENSE.


GitHub · Issues · Changelog

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telize-0.2.0.tar.gz (87.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telize-0.2.0-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

Details for the file telize-0.2.0.tar.gz.

File metadata

  • Download URL: telize-0.2.0.tar.gz
  • Upload date:
  • Size: 87.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for telize-0.2.0.tar.gz
Algorithm Hash digest
SHA256 65fef8f5b2ab4f72d2a5ac169a82f4be7c9de5909843f0da4cfcaca0ebd6256b
MD5 9d79bea5565ffb6d9ef6fb73a3a22253
BLAKE2b-256 bfc4390d980f756580d5b04a4ea005dfd3e28360c2cf40635823d828ec251810

See more details on using hashes here.

Provenance

The following attestation bundles were made for telize-0.2.0.tar.gz:

Publisher: publish.yml on telize-ai/telize

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file telize-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: telize-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 35.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for telize-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36e09c4a6663586ee2e488b732be6699c5c38046d0164b93e1ac9201ff844270
MD5 9a9d8ffbfeb6bc6b687160f53648f8b7
BLAKE2b-256 ded1ebcc333d2acae0b3434bb4acd72fa886dcecf8224bd4ba86b6997cd62186

See more details on using hashes here.

Provenance

The following attestation bundles were made for telize-0.2.0-py3-none-any.whl:

Publisher: publish.yml on telize-ai/telize

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page