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.15.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| giga_sdk-1.15.0.tar.gz | 468.6 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| giga_sdk-1.15.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 818.4 kB
Release files / giga_sdk-1.15.0.tar.gz
| Download URL | giga_sdk-1.15.0.tar.gz |
|---|---|
| Size | 468.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3309f3558dff31aea1a4e0716ae51edd3e618773cab9cded5c37f6dc9eef6f09
|
|
BLAKE2b-256 checksum How to use checksums |
fae90ee14e0788f33a3cd03cc337edd127a940e6a4643ba51fb835506eb9d090
|
| 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 15, 2026.
Transparency logRelease files / giga_sdk-1.15.0-py3-none-any.whl
| Download URL | giga_sdk-1.15.0-py3-none-any.whl |
|---|---|
| Size | 349.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
630680bf88e3567c3a9955a5144d7f3dee180f7ccbaadd4f2b111fe7c9c01648
|
|
BLAKE2b-256 checksum How to use checksums |
5b235d2f08a7efc642b4bfd6fa5c6df0af3f918cb4ad2ab376add513624887c0
|
| 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 15, 2026.
Transparency logSecurity for giga-sdk 1.15.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.
Attestation for giga_sdk-1.15.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 15, 2026.
Transparency logA 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.