Skip to main content

Giga SDK

Agent building framework and CLI for the Giga platform.

Installation

pip install giga-sdk

Requirements

  • Python >= 3.12

CLI

After installation, the giga CLI is available:

giga --help
giga login
giga validate
giga whoami

Note: the giga CLI is currently only supported inside a Giga repository with a valid giga.config.json.

SDK

Create an agent, give it a typed variable store, and register hooks and code blocks with decorators:

from pydantic import BaseModel
from giga import Agent, CodeBlockResult

class Variables(BaseModel):
    guest_name: str | None = None

agent = Agent(name="my-agent", store=Variables)

@agent.initialization
def init(initialization_values, store):
    return {"guest_name": "Unknown"}

@agent.code_block(description="Greet the user")
def greet(name: str, store) -> CodeBlockResult:
    return CodeBlockResult(
        message=f"Hello {name}!",
        store_updates={"guest_name": name},
    )

You can also define API actions and post-conversation hooks:

from giga import api
from giga.types import ResolutionResult, Analysis

get_user = api(
    name="get_user",
    description="Get user info",
    method="GET",
    url="https://api.example.com/users/{id}",
)

@agent.post_conversation
def post_conversation(resolution_result: ResolutionResult, analysis: Analysis):
    if resolution_result.resolution_status == "resolved":
        print(f"Resolved: {analysis.summary}")

Metadata

Release files for giga-sdk 1.14.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for giga-sdk 1.14.0
File Size Uploaded Provenance
giga_sdk-1.14.0.tar.gz 468.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for giga-sdk 1.14.0
File Interpreter ABI Platform
giga_sdk-1.14.0-py3-none-any.whl Python 3 none any Details

Total release size: 818.0 kB

Release files / giga_sdk-1.14.0.tar.gz

Download URL giga_sdk-1.14.0.tar.gz
Size 468.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c96eeba7c682d46ccdc7f5f287f2609bd587805f52ca6cdf773f7caa9152f597
BLAKE2b-256 checksum
How to use checksums
ede4b4024fff51dd2064126c3b84f9c42ab1bb6710f44ccd8404485347853e18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / giga_sdk-1.14.0-py3-none-any.whl

Download URL giga_sdk-1.14.0-py3-none-any.whl
Size 349.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47c29078dddd45db6241cab4969f9988fea2252755b97e57f28d110cc0dcbfb0
BLAKE2b-256 checksum
How to use checksums
5d34abf2c4169d27a73859a7fd9303046587d216754919f8f46878dbbfd1dc7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Security for giga-sdk 1.14.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for giga_sdk-1.14.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page