Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

trytilde-crewai

Latest version: v5.5.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: daniel_trysoma
12 Versions
912 Downloads

Scan summary

trytilde-crewai was last scanned on 23 Nov 2026 at version 5.5.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 12 versions; the latest 5 were published within 2 days (22 and 23 Nov 2026).
  • Findings: No rules fired in version 5.5.0.
  • Downloads: 912 downloads.

Versions

12 versions published
Versions and the rules that fired in each
VersionPublishedStatus
5.5.0 LATEST 23 Nov 2026 No rules fired
5.4.2 23 Nov 2026 No rules fired
5.4.1 23 Nov 2026 No rules fired
5.4.0 23 Nov 2026 Not shown
5.3.0 22 Nov 2026 Not shown

No rules fired in 5.5.0

Findings

Findings for v5.5.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 5.5.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

CrewAI adapter

Core history and delivery live in trytilde. This package converts typed context to CrewAI messages and channel tools to CrewAI tools, following Tilde's core/framework separation.

import tilde
from crewai import LLM, Agent
from crewai.project import CrewBase, agent
from tilde_crewai import convert_to_crewai_messages, convert_to_crewai_tools, inference_interceptor

INFERENCE = tilde.inference("default")
llm = LLM(
    model="openai/gpt-4o-mini",
    base_url=INFERENCE.base_url,
    api_key=INFERENCE.api_key,
    interceptor=inference_interceptor(INFERENCE),
)


@CrewBase
class SupportCrew:
    agents_config = "config/agents.yaml"  # role/goal/backstory, registered by `tilde deploy`

    def __init__(self, tools):
        self.tools = tools

    @agent
    def support(self) -> Agent:
        return Agent(config=self.agents_config["support"], llm=llm, tools=self.tools, max_iter=8)


async def run(ctx):
    history = await ctx.message.history()
    messages = await convert_to_crewai_messages(history.items, context=ctx)
    await (
        SupportCrew(convert_to_crewai_tools(ctx.channel.current)).support().kickoff_async(messages)
    )

Deploy discovery, inference and steering

This package registers a tilde.discover entry point, so python -m tilde deploy recognises @CrewBase classes (or instances) and reads their YAML raw, before CrewAI interpolates inputs: agent role/goal/backstory become prompts agents/<key>/<field> and task description/expected_output become tasks/<key>/<field>, in braces format when the text holds a {variable}, with origin <yaml path>#<key>.<field>. Skill search paths listed under an agent's skills: in the YAML are shipped too (resolved from the working directory, as CrewAI does); skills passed in code are not visible without instantiating, so declare them with tilde.define_skills(...) and pass .path. Agents built in code at module scope are reported as warnings.

The LLM is built once at module scope: inference_interceptor stamps each request with the running invocation's token and prompt stamps and sends it to that invocation's gateway. Importing tilde_crewai registers a global before_llm_call hook that appends the invocation's newly steered input (ctx.take_inputs()) as user messages before each model call; outside an invocation it does nothing.

Skills assigned to the agent in Tilde (not shipped with the deployment) reach running deployments through CrewAI's own skill discovery: give the per-invocation agent skills=[SKILLS.path, Path(await ctx.skills.directory())]. The directory holds one folder per registry skill, cached by version, so a skill assigned in the UI is used on the next invocation.

Set CREWAI_DISABLE_TELEMETRY=true in the environment before crewai is imported to turn off CrewAI's anonymous telemetry. OTEL_SDK_DISABLED=true has the same effect but also disables your own OpenTelemetry SDK, so prefer the CrewAI flag. max_iter caps the agent's model/tool iterations. Leave agent memory off; Tilde owns the history.

The converted list is passed to kickoff_async. CrewAI messages are OpenAI-style {"role", "content"} dicts (crewai.utilities.types.LLMMessage) and carry no id. Every message keeps its role as conversation history, except the last user message: CrewAI collapses it to text and promotes it into its task prompt (Current Task: ...). Content parts on that message would be dropped, so when it carries media the converter appends a short text request (tilde_crewai.messages.MEDIA_REQUEST) to be promoted in its place.

History pages are chronological; pass before_message_id=history.next_page_token for older messages. The latest page includes the current objective unless it already matches the latest received message. include_objective=False omits it. include_work=True also reads current goals/tasks and requires work.read. Only the acting agent's messages receive the assistant role.

Images and PDFs are downloaded through ctx.attachments.download and attached as content parts with base64 data URLs. Text files include their real content. Unsupported binary formats get an explicit attachment description; use on_attachment to parse them yourself. No private URL or credential needs to be exposed to the model. CrewAI has no media type for history and passes content parts to the provider unchanged, so the default parts are the OpenAI Chat Completions shapes (image_url, file), CrewAI's default OpenAI API. For the Responses API or another provider, return that provider's part from on_attachment. CrewAI's own files message field is not used: it needs the optional crewai-files extra.

from tilde_crewai import MessageHandlers

history = await ctx.message.history(include_work=True)
messages = await convert_to_crewai_messages(
    history.items,
    context=ctx,
    on_message=MessageHandlers(
        goal=lambda item: {"role": "user", "content": f"Our goal: {item.goal.objective}"},
        task=lambda item: None,  # Omit this type, or provide a different rendering.
    ),
    on_attachment=decode_your_format,  # (conversion) -> str | content part dict | list | None
)

MessageHandlers supports message, objective, goal, and task; handlers may be sync or async. Supplied handlers take precedence over cached/default rendering; returning None omits an item. Without an override the converter renders all supported types. Completed conversation conversions use the existing per-agent cache, in bounded batches. Files are hydrated afresh and are never stored in the cache; objectives/goals/tasks remain live projections rather than cached chat records.

Channel tools

convert_to_crewai_tools(ctx.channel.current) returns crewai.tools.BaseTool instances that keep the provider's descriptions and JSON schemas. CrewAI reads tool parameters from a pydantic args_schema; the adapter supplies a field-less model whose model_json_schema() returns the provider schema, so nothing is introspected and arguments reach the channel exactly as the model sent them. The adapter does not publish the model's final text. The agent chooses the provider tool and arguments, including routing fields required by that provider.

CrewAI itself changes three things that an adapter cannot turn off:

  • Every tool schema goes through its OpenAI strict-mode pass before it reaches the model: all properties of every object become required, objects get additionalProperties: false, oneOf becomes anyOf, $refs are inlined and unsupported formats are removed. Types, nesting, enums and descriptions are preserved. The model must therefore supply a value for optional provider fields.
  • Model-facing names are lowercased snake_case (sendMessage becomes send_message). Conflicts are checked on that name.
  • The model's tool-call id is not passed to tools, hooks or events, so it cannot be forwarded. Tilde's core generates a UUID per execution; audited tool-call ids do not match the provider's ids.

CrewAI executes tools synchronously on worker threads. Channel execution belongs to the invocation's event loop, so call convert_to_crewai_tools on that loop (inside your run handler): the tools capture it and submit each execution back to it, blocking only the worker thread. await tool.arun(...) runs directly on the loop. Results are returned to the model as JSON. CrewAI's tool-result cache is opt-in; leave it off so repeated sends are executed.

Override tool instructions with instructions={"sendMessage": "..."}, or change the channel tool's description before conversion. When combining namespaces, use prefix="slack_" (or another prefix) to keep model tool names distinct; names are sanitized to [a-zA-Z0-9_-] and conflicts raise.

The core SDK exposes typed callable tools on ctx.channel.slack, github, agentmail, linq, whatsapp, telnyx_whatsapp, and native. Use ctx.channel.connections() and ctx.channel.for_connection(id) when multiple connections use a provider.

Bundled tools

The agent's own CrewAI tools join Tilde's with one call, on the invocation's event loop:

from crewai.tools import tool
from tilde import BundledOptions
from tilde_crewai import with_tilde_tools


@tool("roll_dice")
def roll_dice(count: int = 1) -> list[int]:
    """Roll six-sided dice."""
    return [random.randint(1, 6) for _ in range(count)]


tools = await with_tilde_tools(
    ctx, [roll_dice], options={"roll_dice": BundledOptions(summary="Rolled dice")}
)
agent = Agent(role="Assistant", goal="Help", backstory="...", llm=llm, tools=tools)

with_tilde_tools returns the current channel's tools, ctx.agent_tools and a delegating tool per native tool that keeps its schemas, result_as_answer, usage limit, cache function and failure policy. The native tools are published to Tilde under the name CrewAI shows the model (sanitize_tool_name), so tools.search finds them and a tools.execute naming one runs it here. Every call is audited once on the event loop. CrewAI has no free metadata, so summaries come from options, keyed by the tool's own name. CrewAI never passes the model's tool-call id to tools, so direct calls are audited under a generated id; tools.execute calls are not counted towards the usage limit.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases trytilde-crewai

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229