SDK changelog
Every release of the Python and TypeScript SDKs, newest first.
What changed in each release of the SDKs. Install and quickstart are on SDKs.
Python: liyagent on PyPI
0.2.1 — 2026-11-05
AsyncClient: every call ofClientfor asyncio (await, andasync foroveragents.list()), overhttpx.AsyncClient.- Retries with exponential backoff and jitter: a 429 or 503 (any method)
and an unreachable server are sent again, and a 500, 502, 504 or read timeout for GET, PUT and DELETE;
Retry-Afteris respected.max_retries=(default 2,0turns them off). - An exception class per kind, all subclasses of
LiyagentError:AuthenticationError,PermissionDeniedError,NotFoundError,BadRequestError,ConflictError,RateLimitError,InternalServerError,APIConnectionError. Each carriesrequest_id(the server's X-Request-Id, also in the message),methodandpath. 429 is now kindrate_limitedand 5xx kindserver(both wereerror). - A refused sign-in or service-account exchange says the server's reason;
a sign-in that asks for an authenticator code says to use a service account.
knowledge.answerwithout an API key says to passapi_key=. - README rewritten for a first-time user: a quickstart that runs, where the
token comes from, core concepts, errors, retries, asyncio. Package links to the docs, the changelog and support.
0.2.0 — 2026-11-05
- Release-ready package metadata (classifiers, URLs,
py.typed), theversion read from
liyagent.__version__, and a GitHub Actions release to PyPI by trusted publishing. - Typed request bodies (
liyagent.models: aTypedDictper body andREQUEST_BODIES) generated from the server's OpenAPI document. templates.install(..., params=)sends template parameters.- Authoring the tenant's own templates:
templates.authored,authored_versions,validate,draft_from_agent,save_draft,publish,delete_draft,withdraw.
0.1.0
- First version: agents, runs, evals, knowledge, approvals and solution
templates over httpx;
check_server().
TypeScript: @liyagent/sdk on npm
0.2.1 — 2026-11-05
- CommonJS as well as ES modules:
require("@liyagent/sdk")works (0.2.0was ESM only), each with its own type declarations.
- Works in browsers and edge runtimes: the global
fetchis no longercalled as a method of the client (which threw "Illegal invocation").
- Retries with exponential backoff and jitter: a 429 or 503 (any method)
and an unreachable server are sent again, and a 500, 502 or 504 for GET, PUT and DELETE;
Retry-Afteris respected.maxRetries(default 2) andtimeoutMs(default 60000) options. - An error class per kind, all subclasses of
LiyagentError:AuthenticationError,PermissionDeniedError,NotFoundError,BadRequestError,ConflictError,RateLimitError,InternalServerError,APIConnectionError(a network failure, which 0.2.0 let through as a bareTypeError). Each carriesrequestId. A non-JSON error body (a proxy's HTML page) no longer throws aSyntaxError. - The Python SDK's calls:
agents.list(an async iterator over everypage),
delete,start,stop,workflows,workflowRun;runs;evals.dataset,createDataset,runs,compare,wait;knowledge.collections,articles,approveArticle,rejectArticle;approvals.get;templates.get,installs;checkServer()andmissingOperations(). username/passwordsign-in, andLIYA_URL,LIYA_TOKENandLIYA_API_KEYread where there is aprocess.env.send<T>()takes the response type.- README rewritten for a first-time user; package links to the docs and
support.
0.2.0 — 2026-11-05
- First release-ready package:
dist/built with declarations,exportsmap,
engines,npm packbuilds first (prepack), published with npm provenance from GitHub Actions. - Typed request bodies (
models.ts) generated from the server's OpenAPIdocument;
templates.install/preview,agents.applyandtemplates.draftFromAgenttake them. templates.installsends template parameters (params).- Authoring the tenant's own templates:
authored,authoredVersions,validate,draftFromAgent,saveDraft,publish,deleteDraft,withdraw. VERSIONexport.
0.1.0
- Skeleton: agents, evals, knowledge, approvals and templates over fetch.