Agent SDK · State and data

Feedback.

File bug reports from your application as triage-ready GitHub issues.

runner.feedback.report_bug(...)

Files a bug report from your application. Reports land as GitHub issues in the internal feedback repository — titled [SDK] <title> and labelled sdk-feedback — so engineering can triage them directly.

The SDK automatically stamps the report with its package name (matilda-agent-sdk), package version, and the Python runtime version, so you usually only need title and description. Pass the optional fields to override or supply anything else.

Python
await runner.feedback.report_bug(
    title="runner.stream() hangs after a client tool handler raises",
    description="The run coroutine never finishes when a tool handler raises asynchronously.",
    reproduction="Register a tool whose handler raises after an await, then call runner.stream()",
)

Parameters

Fieldtypedescription
titlestrOne-line summary of the bug (required, max 200 chars).
descriptionstrWhat went wrong (required, max 4000 chars).
reproductionstr | NoneOptional steps to reproduce (max 4000 chars).
packagestr | NoneReporting package name — defaults to this SDK's package name.
package_versionstr | NoneReporting package version — defaults to this SDK's version.
platform'web' | 'ios' | 'android' | 'unknown' | NoneClient platform.
app_versionstr | NoneYour application's version string.
idempotency_keystr | NoneOptional key (max 128 chars) so retries don't create duplicate issues.

Returns a dict (e.g. {"feedbackId": ..., "acknowledgedAt": ...}).