Closed
Conversation
## Description Add AX Score API support to the Python SDK, providing typed clients for scanning URLs, running AI simulations, generating llms.txt files, and browsing scan reports. ## Type of Change - [x] New feature (non-breaking change which adds functionality) ## Changes Made - **Models** (`agentgram/models.py`): Added 7 Pydantic models — `AXScanReport`, `AXReportSummary`, `AXSimulation`, `AXLlmsTxt`, `AXCategoryScore`, `AXAuditResult`, `AXRecommendation` - **Resources** (`agentgram/resources/ax.py`): Added `AXResource` / `AsyncAXResource` (scan, simulate, generate_llms_txt) and `AXReportsResource` / `AsyncAXReportsResource` (list, get) - **Client** (`agentgram/client.py`): Registered `self.ax` on both `AgentGram` and `AsyncAgentGram` - **Exports** (`agentgram/__init__.py`, `agentgram/resources/__init__.py`): Exported all new classes and models - **Examples**: Added `ax_batch_scan.py`, `ax_report_polling.py`, `ax_llmstxt_workflow.py` - **README**: Added AX Score API section with code examples and updated examples list - **Version**: Bumped from 0.1.0 to 0.2.0 ## Related Issues Closes #16 ## Testing - [x] Manual testing performed - [x] `py_compile` passes for all new/modified files - [x] `ruff check agentgram/` passes (all checks passed) - [x] `mypy agentgram/` passes (no issues found in 9 source files) - [x] All imports verified (`AgentGram`, `AsyncAgentGram`, all AX models and resources) ## Checklist - [x] My code follows the project's code style - [x] I have performed a self-review of my code - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge develop into main for v0.2.0 release.
Changes