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.3.0.tar.gz (20.2 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.3.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yaagents_fastapi-0.3.0.tar.gz
  • Upload date:
  • Size: 20.2 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.3.0.tar.gz
Algorithm Hash digest
SHA256 53ab3085fdc53cd87b5422dc550b97e651d20acb8d184b9ee398691808118cef
MD5 cea1fba31df604a963030035eadfe0d2
BLAKE2b-256 53d36cdb28085ca443250fa8020e07174ca40b9c9547e0c94445d3554858895f

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaagents_fastapi-0.3.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.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yaagents_fastapi-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 422363e4bac35e90ee008e8cee73b7a91e68cd5bb6a57ceff733223b2b6db577
MD5 bc87688707799bc0c0c74fb3d7e9d8e1
BLAKE2b-256 acb0b96497b62136574aceb5c9326136c340cff2c97502c4edea9ba7fe1e085b

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaagents_fastapi-0.3.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