Skip to main content

YAAgents FastAPI SDK — Agentic REST Profile v0.3 (spec/agentic-rest-profile.md)

Project description

yaagents-fastapi

FastAPI SDK for the YAAgents Agentic REST Profile v0.3.

Supports YAAgents Profile v0.3 — see spec/agentic-rest-profile.md.

Install

pip install yaagents-fastapi==0.3.0

Quick start

from yaagents_fastapi import AgenticResponse

@app.post("/campaigns/{id}/optimizations")
def optimize(id: str) -> Response:
    return AgenticResponse.accepted(
        operation_id="op-001",
        status_url=f"/campaigns/{id}/optimizations/op-001/status",
        correlation_id=ctx.correlation_id,
        request_id=ctx.request_id,
    )

Source: https://github.com/ai-mpathyminds/yaagents-sdk-fastapi

Community docs: https://github.com/ai-mpathyminds/yaagents

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaagents_fastapi-0.4.0.tar.gz (23.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yaagents_fastapi-0.4.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file yaagents_fastapi-0.4.0.tar.gz.

File metadata

  • Download URL: yaagents_fastapi-0.4.0.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for yaagents_fastapi-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c10680ff9db63a896f00395db3ac1f0b768546ed301ab9b4a079b657c9822187
MD5 67050c6abb06e414482ff5541afd204a
BLAKE2b-256 085742b9bf4dc65bd81cb13d237d85b09ec7e957e10f9873411f4cc54ceee9f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaagents_fastapi-0.4.0.tar.gz:

Publisher: pypi-publish.yml on ai-mpathyminds/yaagents-sdk-fastapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yaagents_fastapi-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yaagents_fastapi-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7a8384cdaf12b16fabe0b6dd4041edcff86adf7e94ebf6c8496efaa37a9f3aa
MD5 9a4d69ae4b7704eceef30f4772b17b39
BLAKE2b-256 d88cfd5e65d39290c3fbd9683964fa882648538cec01b1ce8188252ca801245f

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaagents_fastapi-0.4.0-py3-none-any.whl:

Publisher: pypi-publish.yml on ai-mpathyminds/yaagents-sdk-fastapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page