The repository or configuration that created this release differ from a previous release. View details.
Aicademy CLI
Practice CKA, CKAD, and CKS exam scenarios locally — powered by KIND + Aicademy API.
Installation
Using pip
pip install aicademy
Using uv (recommended)
uv tool install aicademy
Using pipx
pipx install aicademy
Quick Start
# 1. Login to Aicademy
aicademy login
# 2. Check / install prerequisites
aicademy install-tool all --check
aicademy install-tool all
# 3. Start a practice question (creates KIND cluster automatically)
aicademy question start cka-01
# 4. Read the full task instructions in your terminal
aicademy question instructions
# 5. Solve the scenario using kubectl, helm, etc.
# 6. Verify your solution
aicademy verify
# 7. Clean up the cluster
aicademy question clear
Command Reference
| Command | Description |
|---|---|
aicademy login |
Authenticate (browser flow or direct token) |
aicademy logout |
Clear stored credentials |
aicademy auth whoami |
Verify token validity |
aicademy question start <id> |
Start question environment (creates KIND cluster) |
aicademy question instructions [id] |
Show full task instructions in terminal |
aicademy question instructions [id] --web |
Open question page in browser |
aicademy question clear [id] |
Delete KIND cluster and clear session |
aicademy verify [id] |
Run verify.sh and report result |
aicademy install-tool <name> |
Install kubectl / kind / docker / all |
aicademy install-tool <name> --check |
Check if tool is installed (no install) |
aicademy install-tool <name> --dry-run |
Preview install commands |
Prerequisites
| Tool | Purpose | Install |
|---|---|---|
| Docker | Runs KIND nodes | aicademy install-tool docker |
| kubectl | Kubernetes CLI | aicademy install-tool kubectl |
| kind | Local K8s cluster | aicademy install-tool kind |
OS Support
| OS | Package Manager |
|---|---|
| Windows | winget |
| macOS | Homebrew |
| Linux | Official shell scripts |
Categories
| Exam | Slug | Questions | Free |
|---|---|---|---|
| Certified Kubernetes Administrator | cka |
20 | 10 |
| Certified Kubernetes Application Developer | ckad |
20 | 10 |
| Certified Kubernetes Security Specialist | cks |
20 | 10 |
Development
Project Structure
The codebase is organized modularly:
aicademy_cli/main.py: The entry point and top-level Typer application.aicademy_cli/commands/: All user-facing Typer CLI groups (auth,question,tools,verify).aicademy_cli/api.py: Centralized HTTP requests and error handling.aicademy_cli/core/: Internal logic like cluster management (kind.py) and helper methods (utils.py).
Using uv
# Clone and install in dev mode
git clone https://github.com/devcrypted/aicademy-cli
cd aicademy-cli
uv sync
# Run against local dev server
AICADEMY_API_URL=http://localhost:5173 uv run aicademy login
# Run tests
uv run pytest
# Lint
uv run ruff check .
uv run mypy aicademy_cli/
Publishing to PyPI
Publishing is 100% automated via GitHub Actions (ci.yml) using Trusted Publishing.
To release a new version:
- Update the
versioninpyproject.toml(e.g.,version = "0.1.2"). - Commit and push the change to the
mainbranch. - The CI pipeline will automatically run tests, build the package, publish it to PyPI, and create a GitHub Release with the corresponding
vX.X.Xtag.
Security
- CLI tokens stored in
~/.aicademy/config.json - Tokens expire after 7 days — run
aicademy loginto renew - Question tasks and scenarios only delivered when you have an active session (anti-scraping)
- Revoke all tokens with
aicademy logout
License
MIT © Aicademy
Metadata
Release files for aicademy 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aicademy-0.5.4.tar.gz | 255.4 kB | With provenance | Details for aicademy-0.5.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aicademy-0.5.4-py3-none-any.whl | Python 3 | none | any | Details for aicademy-0.5.4-py3-none-any.whl |
Total release size: 316.9 kB
Release files / aicademy-0.5.4.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | aicademy-0.5.4.tar.gz |
|---|---|
| Size | 255.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2267f4f7e8b8316675578da81af963c54251d99ca69411ebd5f7c487fb9ec653
|
|
BLAKE2b-256 checksum How to use checksums |
99e112bc6dacd529c82a03733655d1e99c3121c67073a9792cc3ad020d94b760
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logRelease files / aicademy-0.5.4-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | aicademy-0.5.4-py3-none-any.whl |
|---|---|
| Size | 61.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac22cdca66914f4e30531e8844fb8f5fb90416d921db40daf0652d8312e9a2ab
|
|
BLAKE2b-256 checksum How to use checksums |
346e92c12197e7251990b6a3360a8033c5fb7670926449b8c7d20dbfde1bf05e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logSecurity for aicademy 0.5.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.5.3 github.com/devcrypted/aicademy-cli
- Added 0.5.4 github.com/aicademy-ac/aicademy-cli
Attestation for aicademy-0.5.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.