{"id":50668718,"url":"https://github.com/graycodeai/hawk-sdk-python","last_synced_at":"2026-06-08T09:00:16.030Z","repository":{"id":357916105,"uuid":"1238950549","full_name":"GrayCodeAI/hawk-sdk-python","owner":"GrayCodeAI","description":"Python SDK for the Hawk AI coding agent","archived":false,"fork":false,"pushed_at":"2026-06-07T09:32:01.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-07T11:17:43.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GrayCodeAI.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-14T15:59:38.000Z","updated_at":"2026-06-07T09:32:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/GrayCodeAI/hawk-sdk-python","commit_stats":null,"previous_names":["graycodeai/hawk-sdk-python"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GrayCodeAI/hawk-sdk-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrayCodeAI%2Fhawk-sdk-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrayCodeAI%2Fhawk-sdk-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrayCodeAI%2Fhawk-sdk-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrayCodeAI%2Fhawk-sdk-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GrayCodeAI","download_url":"https://codeload.github.com/GrayCodeAI/hawk-sdk-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GrayCodeAI%2Fhawk-sdk-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34055249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-08T09:00:14.058Z","updated_at":"2026-06-08T09:00:15.986Z","avatar_url":"https://github.com/GrayCodeAI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eHawk SDK for Python\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cstrong\u003eOfficial Python client for the Hawk daemon API\u003c/strong\u003e\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://python.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Python-3.10+-3776AB?style=flat-square\u0026logo=python\u0026logoColor=white\" alt=\"Python\"\u003e\u003c/a\u003e\n    \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue?style=flat-square\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/GrayCodeAI/hawk-sdk-python/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/GrayCodeAI/hawk-sdk-python/ci.yml?style=flat-square\u0026label=tests\" alt=\"CI\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n---\n\nThe Hawk SDK for Python provides an idiomatic client for interacting with the [Hawk](https://github.com/GrayCodeAI/hawk) daemon API. It supports both synchronous and async operations, including streaming.\n\n## Features\n\n- **Sync and async** - Use `HawkClient` or `AsyncHawkClient`\n- **Streaming support** - Real-time response streaming\n- **Context managers** - Automatic resource cleanup\n- **Type hints** - Full type annotations for IDE support\n- **Error handling** - Detailed exception types\n\n## Installation\n\n```bash\npip install hawk-sdk\n```\n\n## Quick Start\n\n```python\nfrom hawk import HawkClient\n\nwith HawkClient() as client:\n    # Health check\n    health = client.health()\n    print(f\"Version: {health.version}\")\n\n    # Chat\n    response = client.chat(\"Explain decorators in Python\")\n    print(response.response)\n```\n\n## Async Usage\n\n```python\nfrom hawk import AsyncHawkClient\n\nasync with AsyncHawkClient() as client:\n    response = await client.chat(\"Hello!\")\n    print(response.response)\n```\n\n## Streaming\n\n```python\nwith HawkClient() as client:\n    with client.chat_stream(\"Write a haiku\") as stream:\n        for event in stream.events():\n            print(event.data, end=\"\", flush=True)\n```\n\n## Examples\n\nSee the [examples/](examples/) directory for complete runnable examples.\n\n## Contributing\n\nContributions are welcome — please read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request.\n\n## License\n\nMIT - see [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraycodeai%2Fhawk-sdk-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraycodeai%2Fhawk-sdk-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraycodeai%2Fhawk-sdk-python/lists"}