Scan your whole stack
From OX Research Newsroom
Are you using dyadic?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.13.3
dyadic was last scanned on 27 Nov 2026 at version 1.13.3. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.13.3 LATEST | 27 Nov 2026 | No rules fired |
| 1.13.2 | 26 Nov 2026 | No rules fired |
| 1.13.1 | 24 Nov 2026 | No rules fired |
| 1.13.0 | 24 Nov 2026 | Not shown |
| 1.9.0 | 11 Nov 2026 | Not shown |
Findings for v1.13.3. 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 1.13.3; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The official Python SDK for the Dyadic API: use Iris from Python with streaming, function calling, images and typed errors. Requests use your Dyadic credits.
pip install dyadic
from dyadic import Dyadic
client = Dyadic() # reads DYADIC_API_KEY
print(client.ask("Hello!", model="iris"))
The client defaults to https://dyadic.app/api/openai/v1. You can explicitly use
https://api.dyadic.app/openai/v1; both are supported. Configure the OpenAI-compatible base,
not the platform /v1 root: the client derives the platform, Anthropic and gateway URLs from it.
Anthropic's own SDK instead takes https://api.dyadic.app/anthropic and appends /v1 itself.
| Resource | Surface |
|---|---|
| Chat, Responses, Decisions, web retrieval, files, containers, skills and vector stores | OpenAI-compatible |
| Runs, Plans and Black Box | Platform |
anthropic |
Anthropic-compatible |
openrouter |
OpenRouter gateway, requiring platform-granted key access |
Owner-session Store, Current Work, Patch, paired machines and independent Agent Tasks are Workspace workflows, not additional SDK resources. API keys do not grant administrator documentation access. Contract versions and SDK versions are independent. Use the Registry and Platform Integration for the current interface boundaries.
A Dyadic API key is a long-lived secret that spends your credits. Use it only in server-side code; never put it in a mobile app, a desktop app you ship, or anything that runs in someone else's browser. Front-end code should call your own server, which calls Dyadic.
request() only ever sends the key to the API you configured: a relative path
joins base_url, and an absolute URL on any other host, port or scheme (or with
credentials in it) raises DyadicError instead of being sent. Redirects are not
followed. Plain http:// is accepted only for a local or private-network API
(localhost, a private IP, or a single-label name such as dyadic-api).
Consume the documented terminal event. A premature EOF or malformed frame raises DyadicError;
partial text is not a completed answer. Closing or aborting a local stream releases the connection.
It does not prove that provider work stopped, a background resource was cancelled or no charge occurred.
Inspect the resource and use its documented cancellation method where available, such as Responses,
batches or plans. Do not resubmit an uncertain operation just because its stream was interrupted.
Retain request/resource IDs and reported usage. Missing usage stays unknown; estimates, holds and
settled charges are distinct. An Idempotency-Key header does not guarantee universal deduplication.
Black Box chain integrity, observed execution, persisted output, delivery and semantic correctness
are separate claims. Documentation MCP reads interface descriptions without running them; authenticated
Black Box MCP records and investigates execution. See MCP Integration.
GET, HEAD, DELETE and OPTIONS are retried on busy or failing servers. Anything
else (a completion, an upload, a run) may already have run, and been billed,
when it fails, so it is retried only if it provably never started: the
connection was never made, or Dyadic refused it with rate_limit_exceeded or
concurrency_limit. Every attempt of one call carries the same
Idempotency-Key; pass idempotency_key= to choose it, or idempotent=True to
request() for a call that is safe to send twice.
The key's Agent Tools capability controls these bounded public-source operations. They use the shared search and page-extraction pipeline, without a paid search-engine or inference escalation. Retrieved content remains untrusted data, and a cached page is not proof of its current live contents.
results = client.web.search("Dyadic API", max_results=3)
page = client.web.read("https://dyadic.app/developers/", max_chars=4000, max_age_seconds=900)
print(results, page)
The same methods on AsyncDyadic are awaited. Use a context manager to close the client's connections.
An application brings its own agent (name and instructions), lets it use
Dyadic's built-in tools, and gives it functions it runs itself. runs.run
calls your functions whenever the agent asks and returns the finished run.
def lookup_order(order_id):
"""Look up an order by id."""
return {"order_id": order_id, "status": "shipped"}
lookup_order.schema = {"type": "object", "properties": {"order_id": {"type": "string"}}, "required": ["order_id"]}
run = client.runs.run(
agent={"id": "helpdesk", "name": "Helpdesk", "instructions": "You answer customers of a small shop."},
messages=[{"role": "user", "content": "Where is order 1042? Also, what's the weather in Lisbon today?"}],
builtin_tools=["data.web_search", "data.web_fetch"],
functions={"lookup_order": lookup_order},
end_user="customer-17", # your own id for who asked, kept with the run's usage
conversation_id="ticket-88",
)
print(run.output_text, run.credits)
runs.create(..., stream=True) streams events (run.started, status,
tool.started, tool.completed, plan.updated, sources, image.generated,
delta, requires_action, run.completed).
Use approval_mode="autonomous" explicitly for supported routine and delegated
work without discretionary interruptions, including unattended work. The account
must opt into broader modes. Connection approvals, key/tool scope, execution and
financial limits remain enforced; outcomes report the actual effective mode and
immutable snapshot identity. Bypass preserves authorized work after outside content.
Runs accept approval_mode="custom" and an owned permission_profile_id, or
use the account's saved selection when the ID is omitted. The server freezes the
profile revision chain for that run and rechecks policy changes and revocation.
run.permissions reports the requested/effective mode and snapshot identity.
An unavailable profile fails closed; a noninteractive Ask does not execute the
tool. The key's existing tools, spending limits and private-file restrictions
still apply. Bypass retains the account's Safety setting. Profiles govern
Dyadic's built-ins; functions passed to runs.run execute in your process under
your own authorization. Configure profiles through the authenticated
Workspace(token).permission_profiles API using its separate native token.
Workspace(token).permission_profiles.snapshot(snapshot_id) reads the frozen
run policy, original profile names/revisions and current revocation evidence.
It grants no execution; native admission still validates the current run context.
Compatible chat, text completions, Responses and Anthropic Messages accept
dyadic={"approval_mode": "custom", "permission_profile_id": profile_id}.
These controls govern server tools through the same policy owner. Application
functions retain their own authorization. Custom and automatic modes report
the actual selection in dyadic.permissions, including streamed final output.
Batch admission pins the selected profile identity; execution rechecks its policy.
Images accept the same dyadic selection on images.generate, images.edit and
images.create_variation. The SDK encodes it as a JSON text field for multipart
edits/variations. Results retain dyadic.permissions and dyadic.storage:
saved includes the library file ID; not_saved includes a reason code;
external_url means the provider returned a link. The generated bytes remain
available when optional library storage is refused. Saving or quota cleanup
never repeats the image request. An Ask before generation returns HTTP 409;
this endpoint cannot wait for an approval card.
Deterministic client.web.search(..., dyadic=selection) and
client.web.read(..., dyadic=selection) accept the same mode/profile selection,
with outcome and snapshot identity in result.dyadic.permissions. They retain
the key's Agent Tools restriction and cannot access private Workspace files.
A profile Ask returns HTTP 409 permission_approval_required; Deny returns
403 permission_denied; unavailable policy returns 400
permission_policy_unavailable. These calls do not wait for approval cards.
With the key's Plans switch on, a run can plan before it acts. plan_mode=True
investigates read-only and proposes a plan of Steps; nothing that changes
anything runs. Your user reviews it (edit it with plans.update), you approve
the revision they saw, and a run with plan_id carries it out step by step.
The service checks the approval: a plan that isn't approved at its current
revision doesn't run (plan_not_runnable). A run that ends with steps left
pauses the plan; another run with the same plan_id resumes it.
proposal = client.runs.create(agent="iris", messages=[{"role": "user", "content": "Move our blog to a static site."}],
plan_mode=True, conversation_id="ticket-88")
plan = client.plans.retrieve(proposal.plans[0].id)
plan = client.plans.approve(plan.id, revision=plan.revision)
client.runs.create(agent="iris", messages=[{"role": "user", "content": "Go ahead."}], plan_id=plan.id,
conversation_id="ticket-88")
for event in client.plans.stream(plan.id): # live; resumes after the last event and ends once the plan is finished
print(event.event, event.data.get("step"), event.data.get("status"))
client.plans also has list(conversation=, status=, limit=, after=),
create(title=, steps=, mode="plan" | "live"), update(id, revision=, ...),
cancel(id), move_step(id, key, status=, note=, verified_by=) and
events(id, after=). A key sees only its own plans.
$future DAGs and safe speculationCompile and run a POG Execution from a high-level intent or explicit multi-step DAG through /v1/executions with client.executions (or pass pog= on client.runs.create / client.runs.run). Both Dyadic and AsyncDyadic expose the same .executions methods (await them on AsyncDyadic):
from dyadic import Dyadic, DyadicError
client = Dyadic() # reads DYADIC_API_KEY
# 1. Compile and execute a DAG with a $future dependency and safe read-only speculation
execution = client.executions.create(
intent="Search docs and read the top matching reference",
nodes=[
{"id": "find", "tool": "data.web_search", "args": {"query": "dyadic pog"}},
{
"id": "read",
"tool": "data.web_fetch",
"depends_on": ["find"],
"args": {"url": {"$future": "find.data.results[0].url"}},
},
],
config={"max_concurrency": 4}, # explicit nodes run as given; speculation applies to intent-only graphs
budget={"max_nodes": 16, "max_cost_usd": 0.25},
idempotency_key="pog-docs-001",
)
# 2. Inspect the graph (nodes and edges) and consolidated EvidencePackage
graph = client.executions.graph(execution.id)
evidence = client.executions.evidence(execution.id)
print(execution.status, graph["graph"]["edges"], evidence.metrics, evidence.conflicts)
# 3. Follow live SSE events (reconnects automatically with Last-Event-ID until "end")
for event in client.executions.stream(execution.id):
print(event.event, event.data)
dry_run=True to compile the graph without executing nodes, stream=True to receive the live EventStream/AsyncEventStream directly from executions.create(...), or background=True (alias async_exec=True) to launch asynchronously and follow .stream(execution.id). While active, call client.executions.modify(execution.id, add_nodes=[...], cancel_nodes=[...], reprioritize={...}) or client.executions.cancel(execution.id). Workspace and AsyncWorkspace expose the same .executions resource over /pog/executions.RiskLevel.READ operations outside protected scopes; mutations, shell commands, and approval-gated calls execute only through authorized dispatch.pog={"enabled": True, "mode": "hybrid", "speculative": True} to client.runs.create(...) or client.runs.run(...).DyadicError (error.status, error.code, error.message, error.request_id) — for example 409 on cyclic or invalid state transitions and 422 when speculative bounds or schemas are rejected.Also available: executions.list(status=, run_id=, limit=), executions.retrieve(execution_id), and executions.events(execution_id, after=, limit=). See the runnable scripts in examples/ and the POG guide.
Ask one or more questions about some text (or text and images) and get typed answers
back: a probability (predicate), one of your values (choice) or a rubric level
(score). Latency and cost depend on the selected model, input and current provider configuration; inspect the returned usage.
answer = client.decisions.create(
input="I can't log in after resetting my password.",
questions=[
{"type": "predicate", "name": "urgent", "instructions": "The customer is blocked from using the product."},
{"type": "choice", "name": "team", "instructions": "Which team should handle this.",
"choices": [{"value": "account", "description": "Sign-in and account access"},
{"value": "billing", "description": "Payments and invoices"},
{"value": "other", "description": "Anything else"}]},
],
)
answers = {a["name"]: a for a in answer["answers"]} # urgent: probability; team: choice
With the person's approval, an application can save into their Dyadic Workspace, naming them by the Discord account linked to their Dyadic account.
from dyadic import DyadicError
status = client.connections.discord(discord_id)
if not status.authorized:
print("Allow this app:", status.authorize_url) # show the person this link
try:
saved = client.workspace.saves.create(discord_id=discord_id, kind="message", title="From #general",
text="Worth keeping", url="https://discord.com/channels/1/2/3")
print(saved.url)
except DyadicError as error:
if error.code == "authorization_required":
print("Allow this app:", error.body["authorize_url"])
kind is message, conversation (with messages, saved as a chat the
person can continue unless as_chat=False), image or file (with files:
base64, up to 10 of 8 MB).
The rest of the OpenAI-compatible API, named as OpenAI's SDK names it (the same
calls on AsyncDyadic, awaited):
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.