Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

Component

core/ai-agent/crewai

A CrewAI agent, run in-cluster as an application image the Release supplies. CrewAI casts each agent as a member of a crew with a stated part to play, so what this component exposes is that part — the role the agent occupies, the goal it is working toward and the backstory it reasons from — together with whether it may hand work to another member and how much of its reasoning it narrates. Deploying it gives that agent as a worker wired to a model: the component on the `model` socket publishes its endpoint and model name, and the Recipe delivers them as the environment an OpenAI-compatible client reads, so one image runs against any model in the catalog without an endpoint in its code. The catalog supplies no image for it — CrewAI is published as a library an application is built around, so there is no upstream image to pin — and until a Release sets `infra.image` the build halts naming the container image and renders nothing. On Docker Compose the application is published on the host's 127.0.0.1 only where `infra.published_port` asks, forwarding to `infra.port`, the port it listens on. An `inject:` block on the model connection delivers the names the application reads, as variables or as files, beside the variables the framework and its client read. Its Recipes deliver each own value under a default variable name; the component's own `inject:` block takes `env` and `file` entries, and one reading a value alone replaces that value's default name.

Phiên bản

1.0.01.1.0

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:f3c361e7754e3c5b3d6302b65b76b097198d1b2b967f5dff719110943f7e9f24
Đã xuất bản
2026-11-15T08:08:49Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:b53bb22ddf8f01d6d802040a06cc96d44f3ccf0f5266c9d5eded4706b1cf0004

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/component/core/ai-agent/crewai:1.1.0

Tham số của nhà phát triển

Các giá trị mà nhà phát triển đặt trong Aggregate.

Mở rộng BaseComponents#/schemas/BaseAgentParameter

TênKiểuMặc địnhBắt buộcMô tả
rolestring—có—
goalstring—có—
backstorystring—có—
allow_delegationbooleanfalsecó—
log_levelstring (DEBUG | INFO | WARNING | ERROR | CRITICAL)DEBUGcóLog verbosity the agent emits. At DEBUG the agent narrates each step of its reasoning as it works; INFO and above report progress and problems only.

Định cỡ của người vận hành

Định cỡ hạ tầng mà người vận hành tinh chỉnh theo từng môi trường.

TênKiểuMặc địnhBắt buộcMô tả
imagestring—khôngContainer image running the CrewAI application code.
portinteger (min 1024, max 65535)8000khôngPort the application listens on inside its container. The Recipes deliver nothing for it, since the application's own code picks its port; it names that port, which infra.published_port forwards to on Docker Compose.
published_portinteger (min 1024, max 65535)—khôngPort published on the host's loopback address, 127.0.0.1, on Docker Compose, forwarding to infra.port inside the container; any process on this machine can reach it there. Unset, nothing is published. Kubernetes realizations refuse it; reach the application there with kubectl port-forward.

Hợp đồng đầu ra

Các giá trị mà thành phần này xuất bản cho bên tiêu thụ qua cấu trúc liên kết uses.

Chưa khai báo giá trị đầu ra nào.

Các socket uses

Các socket phụ thuộc mà thành phần này kết nối qua. Đích của mọi kết nối được nối qua một socket phải thỏa mãn bộ chọn nhãn của socket đó, và mỗi kết nối có thể mang theo phần đính kèm trong các slot mà socket khai báo. Một slot bắt buộc phải được đáp ứng bởi mỗi kết nối mà Aggregate hoặc Release nối qua socket.

model

Bộ chọn
component.aggrega.ai/category in (ai-model, gateway), model.aggrega.ai/api
Tiêm
env, file

Các slot mà mỗi kết nối qua socket này có thể lấp đầy

SlotBộ chọnBắt buộcTiêmNhạy cảmMô tả
credentialfeature.aggrega.ai/kind=secretkhôngenvcóOptional credential the agent presents to the model this connection reaches. When attached, the Recipe delivers it to the application as OPENAI_API_KEY (a Kubernetes secretKeyRef on helm, the inject pipe on compose); unattached, the application runs without an injected key.

Slot đính kèm

Các điểm liên kết có tên mà tại đó một Feature được gắn vào thành phần này. Bộ chọn của một slot giới hạn Feature nào có thể lấp đầy nó, và danh sách tiêm của slot nêu cách nội dung của Feature có thể được chuyển giao. Một slot bắt buộc phải được liên kết trên mọi thể hiện, bằng một phần đính kèm trên thể hiện đó hoặc ở một phạm vi phía trên nó, và một slot nhạy cảm được khai báo để xử lý nội dung bí mật. Một Feature cũng có thể được gắn dưới một tên mà không slot nào khai báo.

Chưa khai báo slot đính kèm nào.

Danh sách cho phép tự tiêm

env, file

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Tài liệu tham khảo khái niệm Component →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư