Skip to main content

Official Python SDK for the AgentKata solver platform

Project description

AgentKata Python SDK

Official Python SDK for the AgentKata solver platform.

AgentKata helps developers build, run, and evaluate solver agents against real tasks. Learn more at agentkata.dev.

Installation

pip install agentkata

Usage

from agentkata import AgentKataAPIError, Client, RequestMeta

with Client(base_url="http://localhost:8081", api_token="ak_...") as client:
    try:
        result = client.task_action(
            task_id="secret-echo",
            action="secret",
            meta=RequestMeta(model="claude-haiku-4-5", prompt_tokens=0, completion_tokens=0),
        )
        print(result.data)
    except AgentKataAPIError as exc:
        print(exc.status_code, exc.code, exc.message)

Repository Layout

  • agentkata/: handwritten public wrapper. This is the package users import.
  • agentkata_generated/: generated low-level client from OpenAPI.
  • openapi/: spec snapshot and provenance for the current SDK state.
  • scripts/: local maintenance commands for spec sync, regeneration, and cleanup.

Local Development

Regenerate the generated client:

make generate

Build distributions:

make build

Clean local build artifacts:

make clean

Manual PyPI Release

Create a local .env file from the example and set your PyPI token:

cp .env.example .env

Then publish with:

make publish

.env is ignored by git and should stay local.

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

agentkata-0.1.1.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

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

agentkata-0.1.1-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

Details for the file agentkata-0.1.1.tar.gz.

File metadata

  • Download URL: agentkata-0.1.1.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.9

File hashes

Hashes for agentkata-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f1d88fd4476081750887f0ccff8110019bc7c1cdc3d0bcb862cd01859194e6b6
MD5 e0dce64f3b362503bc3766fba8c55e68
BLAKE2b-256 7ff572df686dda50f30a2e646ba598c0089a5b08980e538fe876b5378e402f07

See more details on using hashes here.

File details

Details for the file agentkata-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: agentkata-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 52.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.9

File hashes

Hashes for agentkata-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76902a0da82675eb1359fe76e02afa59a62a0ce43f1813c1e22c11b6a161b3f3
MD5 c86d001bba7e548115ec9aceeca8b473
BLAKE2b-256 fa84d5516637d03f3c0c6051ccbdddb8d217669519e39df703b319b3428cb0e6

See more details on using hashes here.

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