Skip to main content

bazis-cli

The bazis command creates, extends and audits Bazis projects with Claude. It runs Claude Code (the Claude Agent SDK) in the project with the MCP server bazis-mcp, so the agent chooses the Bazis packages from their catalog, follows their guides and checks the result with the system checks of the project instead of relying on its memory.

Installation

pip install bazis-cli      # or: uv tool install bazis-cli
claude login               # or set ANTHROPIC_API_KEY

The agent uses the account of Claude Code and spends its credits; limit a run with --budget.

Commands

# a new project from a description
bazis new shop "An online shop: products with categories, orders of users, \
users see only their own orders"

# a Bazis package for an existing project (run in the directory of manage.py)
bazis add bazis-statusy "orders go through new -> paid -> shipped"

# a review against the guides and checks of the packages; --fix also fixes
bazis audit
bazis audit --fix
  • bazis new DIR DESCRIPTION writes the skeleton of a project: the project package (settings, root router, ASGI app), project.env, .env with a generated secret key, requirements.txt, requirements-dev.txt, tests/, .mcp.json and AGENTS.md. It creates .venv with Bazis and bazis-mcp (with uv if it is installed; --no-venv skips it). Then the agent chooses the Bazis packages, creates the apps, models, routes, migrations and tests, and runs the checks.
  • bazis add PACKAGE [GOAL] installs a Bazis package with the Bazis packages it requires and sets them up as their guides say.
  • bazis audit [--fix] reports the problems of the project by severity. Without --fix the agent can only read.

Options of every command: --project-dir (add, audit; default: the current directory), --model (default claude-opus-5-5), --effort (low ... max, default high), --budget USD, --yes.

Permissions

  • The agent edits the files of the project directory without asking.
  • Everything else is shown in full and asked in the terminal: every shell command (installing packages, migrations, tests), edits and reads outside the project, web access. y allows it, a allows the rest of the run. --yes allows all of it; without a terminal and without --yes it is denied.
  • The agent cannot read .env and cannot commit, push or reset with git: review the changes and commit them yourself.
  • Only the settings of bazis-cli apply: the Claude Code settings, hooks and MCP servers of the project and of the user are not loaded.
  • bazis audit without --fix can only read the project and call bazis-mcp. bazis-mcp runs the system checks of the project, that is the project code with its .venv: run the commands only in projects you trust.

The tests of a project need PostgreSQL with PostGIS and Redis (settings in .env); without them the agent creates the migrations and runs the system checks, and says that the tests did not run.

Metadata

Release files for bazis-cli 2.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bazis-cli 2.4.0
File Size Uploaded
bazis_cli-2.4.0.tar.gz 22.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bazis-cli 2.4.0
File Interpreter ABI Platform
bazis_cli-2.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 39.9 kB

Release files / bazis_cli-2.4.0.tar.gz

Download URL bazis_cli-2.4.0.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6cacf66af2440e92995244ae3a87b694cec7d010b8f2148785ff7f662e1e5965
BLAKE2b-256 checksum
How to use checksums
980ed16e49f236a093678cd4ca7081ab316d546a9246438cd8a83b95ffc202d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / bazis_cli-2.4.0-py3-none-any.whl

Download URL bazis_cli-2.4.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ff4059c2d29696489822b5dc3a6ade960eb5c2115eaeb61b301f0f305509283
BLAKE2b-256 checksum
How to use checksums
5ac0e916c61177c0f1ba086bf2550438fa51067b9f272264c0ada5153694f8e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

2.4.1

2 release files

This release

2.4.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page