[FEAT] Add AX Score client module (#16)#17
Merged
IISweetHeartII merged 2 commits intodevelopfrom Feb 19, 2026
Merged
Conversation
Add AX Score API support to the Python SDK including: - AXResource and AsyncAXResource with scan, simulate, generate_llms_txt methods - AXReportsResource and AsyncAXReportsResource with list and get methods - Pydantic models: AXScanReport, AXReportSummary, AXSimulation, AXLlmsTxt, AXCategoryScore, AXAuditResult, AXRecommendation - Examples for batch scanning, report polling, and llms.txt workflow - README AX Score API section - Version bump to 0.2.0 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <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.
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
Changes Made
agentgram/models.py): Added 7 Pydantic models —AXScanReport,AXReportSummary,AXSimulation,AXLlmsTxt,AXCategoryScore,AXAuditResult,AXRecommendationagentgram/resources/ax.py): AddedAXResource/AsyncAXResource(scan, simulate, generate_llms_txt) andAXReportsResource/AsyncAXReportsResource(list, get)agentgram/client.py): Registeredself.axon bothAgentGramandAsyncAgentGramagentgram/__init__.py,agentgram/resources/__init__.py): Exported all new classes and modelsax_batch_scan.py,ax_report_polling.py,ax_llmstxt_workflow.pyRelated Issues
Closes #16
Testing
py_compilepasses for all new/modified filesruff check agentgram/passes (all checks passed)mypy agentgram/passes (no issues found in 9 source files)AgentGram,AsyncAgentGram, all AX models and resources)Checklist