Repository navigation
AgentSwarms 1.4.0
AgentSwarms 1.4.0
The platform opens outward. 1.3 built the data half — a lakehouse, pipelines,
machine learning, provenance; 1.4 puts doors in it. An OpenAI-compatible
gateway lets any SDK, IDE plugin or other agent call your saved agents and
connected models behind one governed key. Data monitors learn what a table
normally looks like and open an incident when it stops. AI functions run
inside SQL, cached and capped. A vision model reads scanned PDFs into
knowledge bases. Kafka, Kinesis and Pub/Sub feed pipelines. And Apache
Iceberg catalogs mount as lakehouse schemas or receive lakehouse tables, so
the tables you build here are named the way the rest of the ecosystem names
them.
10 commits, 96 files, 7 migrations.
Highlights
One door for every client. POST /api/v1/chat/completions and
GET /api/v1/models speak the OpenAI protocol. A gateway key, minted under
Integrations → LLM Gateway, talks to a saved agent — prompt, tools, knowledge
and guardrails — as model: "agent:<name>", or to a connected model directly.
Every call runs as the key's owner under that owner's IAM model rules, budgets,
traces and audit trail; the key itself carries scopes, an agent allow-list,
model patterns, a rate limit, a monthly budget and an expiry. A provider
failure falls through the key's chain and then the instance chain, never after
the first token has been streamed.
The data is watched. Freshness, volume, schema, nulls, uniqueness and
custom SQL checks on lakehouse tables and connected warehouses, on a schedule.
A volume check learns the table's rhythm and alerts a chosen number of standard
deviations from it; a schema check names what changed. The first failing run
opens an incident and notifies you; further failures extend it; you acknowledge
or resolve. Agents ask data_health before they trust a table.
AI inside SQL. Seven scalar functions — ai_classify, ai_extract,
ai_sentiment, ai_summarize, ai_translate, ai_filter, ai_complete —
usable in any lakehouse statement and as an AI column step in Data Prep. The
engine collects the distinct inputs first and the model answers each once, so
a GROUP BY over a million rows with a hundred categories costs a hundred calls.
Answers are cached for thirty days; a statement that would exceed the call cap
is refused before the first call, with the count.
Scanned documents are read. A PDF whose pages are pictures, or any image,
is transcribed by the instance's vision model on upload, as the uploading user,
under the IAM model rules and budget, with a trace per page and an audit event
per batch. Citations keep the page.
Streams into the lakehouse. Kafka and Redpanda topics (and Confluent, MSK,
Event Hubs), Kinesis streams and Pub/Sub subscriptions are pipeline sources,
read in micro-batches on the pipeline's schedule from where the previous run
durably loaded — at-least-once, never lost, positions kept in the platform's
own watermark store rather than committed to the broker. Credentials are
secrets by name; a broker must already be on the sandbox egress allow-list.
Iceberg in both directions. Register an Iceberg REST catalog (Lakekeeper,
Polaris, Nessie, Glue, Unity Catalog, Snowflake Open Catalog), mount a
namespace, and its tables are read-only views in a governed lakehouse schema —
the statement guard, BI, the analyst and the agents see them like any other
table, and nothing is copied. Publish a lakehouse table into a namespace as an
Iceberg table, or import one as a real DuckLake table; both audited with the
catalog, namespace, table and row count.
Also in this release
- Every new limit is a setting, not a constant: the gateway rate limit and
fallback chain, the monitor sweep size and anomaly sigma, the AI SQL call
cap, default model and cache lifetime, the document vision model and page
cap — under Admin → Developer, with environment-variable defaults. - A dead Iceberg endpoint costs nobody anything. A catalog that fails to
attach is noted on its row, skipped, and retried on a backoff; a lakehouse
without the Iceberg extension is still a lakehouse. - The acknowledgements credit what actually runs: the Python inside the
runtime and document images, the DuckDB extensions, the containers beside
the app and the sample datasets' provenance, every claim traced to the code
that imports the package and every link fetched.
Upgrading
git pull
npm install
npx supabase db push # 7 migrations
docker compose --profile all up -d --build # rebuilds the notebook runtime image tooThe setup scripts and the Kubernetes installer apply the migrations for you.
The notebook runtime image gained the Kafka, Kinesis and Pub/Sub clients, so
rebuild it; --profile all does. Nine environment variables are new and all
optional with working defaults. The Iceberg features need the engine's
iceberg extension, which the app installs on boot; an instance that cannot
download it still runs the lakehouse and says the extension is missing where a
catalog would be used.
Known limits
- The gateway runs the agent's tools, not yours: a
toolsarray in the
request is ignored, and the completion reports the tool calls the agent made. - Pub/Sub has no replayable position, so it acknowledges as it reads; a
failed run after reading loses those messages unless a dead-letter topic
catches them. Kafka and Kinesis re-read. - Kafka is raw TCP, so brokers must be reachable from the kernel network
itself; the egress proxy carries only HTTPS. - An AI function may be evaluated for rows a later ORDER BY or LIMIT
discards; limit first in a subquery when the model call is the cost. - Iceberg has no CREATE OR REPLACE; replacing a published table is a drop
and a create, and the dialog says so. - No SCIM; users arrive through SSO or invitation, groups are managed in IAM.
Thanks
This release stands on the DuckDB team's iceberg extension, the
tabulario/iceberg-rest catalog it was tested against, Redpanda, and the
confluent-kafka, boto3 and google-cloud-pubsub clients.