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

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.2.tar.gz (29.7 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.2-py3-none-any.whl (51.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agentkata-0.1.2.tar.gz
Algorithm Hash digest
SHA256 828d5f7303048343eae2052ae6a51951a82adfe2cc9ad6ca58cfe7b615443b0c
MD5 1a035f62554a4ac520bff456aaf66049
BLAKE2b-256 eaddbe78a142f38bde563a19b8a7979ba82dd9c5713f87614dc1995aee0a9fa4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for agentkata-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e404ed6ffb9430a7742c6e0d3f8a5178f1356db7030e8efdfb14d089bef3677e
MD5 abe4367b9421fecfcf6d7166c9b98c74
BLAKE2b-256 a5967e231652449d6e6c8c80adc6c4eb196c84e98310f76655bc72724ff11eb0

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