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.16.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.16.0
File Size Uploaded Provenance
giga_sdk-1.16.0.tar.gz 469.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 819.6 kB

Release files / giga_sdk-1.16.0.tar.gz

Download URL giga_sdk-1.16.0.tar.gz
Size 469.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2b660fbcf01c334ce6ec8298c814eb675c0a1933ec4a7edc57a138e47febbaa1
BLAKE2b-256 checksum
How to use checksums
6f812115616bf34f9e4da86ae7809d431f0501df8581dece94ffbd80455baadf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

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

Download URL giga_sdk-1.16.0-py3-none-any.whl
Size 350.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
565051cb9c3b64ba34b3714938acae809b0df7eb551896ec42d3bcc81783ae41
BLAKE2b-256 checksum
How to use checksums
0e0978b3ee621c8697500513d187383df1146cb8d16551744689f694241bd647
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 20, 2026.

Transparency log

Security for giga-sdk 1.16.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.16.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 20, 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