Skip to main content

Announcing Tasks: Deterministic AI automations in Python

Alex Blom

Today I am super excited to announce our new Tasks feature. Tasks lets you build AI workflows in Python and run them on a managed runtime. You don't provision servers or wire up infrastructure.

The Tasks editor with a Python workflow and SDK reference panel

A task is a Python script that lets you build a deterministic AI workflow. It calls your versioned prompts, hits your integrations, reads and writes memory, and returns a result. This is an evolution to our workflows; you write the logic in code instead of dragging nodes around a canvas. Tasks are easier to read and version, and faster to change.

Like Workflows, Tasks can be run through the Aisle launcher, triggered by an HTTP call, or via integrations like Gmail, Slack, JIRA, Github, and Telegram.

account-brief.py
# Find every open deal at this company.
company = aisle.inputs.get("company")
deals = aisle.integrations.pipedrive.search_deals(
    org_name=company,
)

# For each deal, grab news since the last run.
research = []
for deal in deals:
    news = aisle.ai.gemini_google_search(
        f"{company} news since {aisle.run.last_run_at}"
    )
    if news:
        research.append({"deal": deal, "news": news})

# Hand the lot to a saved prompt to write the brief.
brief = aisle.ai.run_prompt(
    slug="account-brief",
    research=research,
)

aisle.integrations.slack.send_message(
    channel="#revenue",
    text=brief,
)

This example shows how much simpler Tasks can be. It takes a company name, pulls active deals from Pipedrive, and runs a Gemini web search for news on each one since it last ran. It hands the deals and the news to an AI prompt that writes the brief, then posts the result to the team's #revenue channel in Slack.

Tasks let you focus on building the logic for your automation and not deal with deployments, LLM bindings, integration APIs, and team distribution.

Watch: Introduction to Aisle Tasks

Some highlights

  • A managed automation runtime with parallel function execution and logs built in
  • Call versioned AI prompts across OpenAI, Anthropic, Gemini, Grok & more
  • Call pre-built integrations, from Pipedrive and Asana to Slack, as a namespace
  • Built-in memory, web search, and structured outputs
  • Git-style revision history on every task
  • One-click deploy to create chats, update APIs, post to Slack, or trigger the next step

Tasks are live on the platform today — and many legacy workflows have already been migrated. This first version is aimed at builders. If you know enough Python to be dangerous, check out the Task Docs for details on how to get started. In the coming weeks, we're excited to show you some tooling for non-technical users to build automations they can trust too.

Start building →

Stay in the loop

Product updates, tutorials, and AI insights. No spam.