Skip to main content

Gjalla CLI — architecture guardrails for AI coding agents

Project description

Gjalla CLI

Architecture guardrails for AI coding agents.

Installation

pip install gjalla

Commands

Command Description
init Initialize gjalla in a repository (API key, project linking, guardrails, MCP)
status Show configuration status
setup Install attestation guardrails (hooks, scripts, agent guidance)
check Validate commit attestation (used by pre-commit hook)
attest Create commit attestation (interactive or programmatic)
connect Link a Gjalla account and project to an existing local setup
show Show cached project context (rules, arch, state, capabilities, example)
sync Upload pending attestations to gjalla cloud and refresh cache
mcp Manage MCP server integration (mcp install)

User Guide

Initial Setup

gjalla init

Walks through a 7-step setup:

  1. Check git repository
  2. Configure API key (optional — skip for local-only mode)
  3. Verify API key
  4. Select project
  5. Create .gjalla/ project config
  6. Install commit attestation guardrails
  7. Install MCP server for Claude Code

Use gjalla connect later to link a project if you started in local-only mode.

Daily Usage

Automatic (via pre-commit hook):

  • gjalla check runs on each git commit and validates the attestation

Manual / Agent workflow:

git add <files>
gjalla attest            # interactive mode
git commit -m "message"

Programmatic (for agents/scripts):

gjalla attest \
  --staged-diff-hash $(git diff --staged | shasum -a 256 | cut -d' ' -f1) \
  --agent claude-code --provider anthropic --model claude-opus-4-6 \
  --summary "Added rate limiting to auth endpoints" \
  --rules '{"checked": true, "applicable": [...]}' \
  --arch-changes '{"architecture": {"elements": [...], ...}, "data_flows": {"changed": false}}'

Viewing Project Context

gjalla show rules          # Project rules
gjalla show arch           # Architecture overview
gjalla show state          # Full cached state (JSON)
gjalla show capabilities   # Project capabilities
gjalla show example        # Attestation template

If the cache is stale, run gjalla sync to refresh it.

Checking Status

gjalla status

Shows: git repo, global config, API key, project mapping, project config, guardrails, telemetry, attestation log.

Configuration

Global config: ~/.gjalla/config.yaml

api_key: "your-api-key"

Project config: .gjalla/config.yaml (in repo root)

Environment variables:

  • GJALLA_API_KEY — overrides config file API key

Requires Python >= 3.10. Questions or feedback: hello@gjalla.io

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gjalla-0.4.37-cp312-cp312-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.12Windows x86-64

gjalla-0.4.37-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

gjalla-0.4.37-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (7.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

gjalla-0.4.37-cp312-cp312-macosx_10_13_universal2.whl (2.3 MB view details)

Uploaded CPython 3.12macOS 10.13+ universal2 (ARM64, x86-64)

gjalla-0.4.37-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

gjalla-0.4.37-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

gjalla-0.4.37-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (6.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

gjalla-0.4.37-cp311-cp311-macosx_10_9_universal2.whl (2.3 MB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

gjalla-0.4.37-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10Windows x86-64

gjalla-0.4.37-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (6.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

gjalla-0.4.37-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

gjalla-0.4.37-cp310-cp310-macosx_10_9_universal2.whl (2.3 MB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file gjalla-0.4.37-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: gjalla-0.4.37-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gjalla-0.4.37-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3e4804e91663860f75bcd074ea0553f01cbbaf893c303302180efd5f3cdbd5f2
MD5 58964452f4cbf62f93ac573a6faacc1d
BLAKE2b-256 30e66f9f84a6cb7d6193a9aa4b883d48aafe96887de443ecdc9f9bbf1d58bf6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp312-cp312-win_amd64.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.37-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b6f7357b62147d448c34c4b3bb407cd5a868ab0023667f62f53d12fb2da972e5
MD5 6a27a3d348e7f815961c404d1209cdd8
BLAKE2b-256 74af59ed08765fd90dd438c043e0ef77c81cd8b97d0c5bcca80867fe3337c4b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.37-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 843c779e8e6b9236a4c4a2961ceb14cd5c17c98a05d039aa676cd12a9d70e6cf
MD5 a5c5825b2d627483586d56f4c8dc7c5f
BLAKE2b-256 b8e259dfd2e2b2be40a51624d9bef8168b0552e1bc74df84ea124391a7c49f41

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for gjalla-0.4.37-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 fbc1dad095a84cd7ac87246f4cd6a19105ed9e1fa1f36ad15ea296d2f324ca63
MD5 7c826f21981a2bfd9167c56451557e18
BLAKE2b-256 c46fb622837ebbb0d4b182f1c1ee4aff4f21d2131ece62e455f55d6e7285b417

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp312-cp312-macosx_10_13_universal2.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: gjalla-0.4.37-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gjalla-0.4.37-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 210f3224e15d18293a0d066e15d76942a6b2017538c7ca8ad36de116714890d8
MD5 5d36a5e88f3290fdd7a6da6aa3ec2ada
BLAKE2b-256 ff1c6e0393bd804a89baf4347f9db4488bd05fa493323c12d555992583a37eb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp311-cp311-win_amd64.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.37-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 bfc6bf9230b6add50cfd4d6c67d4cc90fa8a975b3835e3fdb6a709aebad983b8
MD5 f4f53577df83c786482e52e4106d9e21
BLAKE2b-256 25456cc2a172d9c7e898ee1547ce43706879aaa3ff8b3d45d832ea7d1d484311

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.37-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 86f19c2f3ab3c1fcc3e20fa412c0e64a5f55c7799744087926e6378a9a8cbf4e
MD5 e69a9e5ccc0cb630d00845e7cd27e253
BLAKE2b-256 34b5c9fd692d2696e3d3482ce2e6adc7d95424b0f5b68f1cadadc0012f50d4cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for gjalla-0.4.37-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 76d5bc1859465b95d929b54cef579f0757a3720e7bccc4bc1123966f2e053360
MD5 2520dbd9c0560ee9f4a23e9b0d8f32b6
BLAKE2b-256 328eda2335c5275170e0c4feb3e715280544246d75868158255f3d8eb3d8db89

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp311-cp311-macosx_10_9_universal2.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: gjalla-0.4.37-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gjalla-0.4.37-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f90387c36a7c908ef31d0d1eac752b84f98bd290eaa84193b344583425e9bbe4
MD5 9e3cc548b715217144f3b566dbe817e6
BLAKE2b-256 62ac046145135efcc5dadd142d6c1a135273390638740e44bfe9056120d048c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp310-cp310-win_amd64.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.37-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ddf632ba6298a8f8b531440eabed90086e7b5beac7b47e5d15f73f88249182a2
MD5 3dc7d9681b9fd0fdd8423f1f09fa76c8
BLAKE2b-256 64f70db015e13c175b524caeaede9ab5a090e501ea398b679676d44a05aa64a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.37-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 e464893f8e11a87bf1b79bf6c8fbd375dba61cbdfc838a3da804d0c4eeda0e99
MD5 966d212948026f4e85ebc678b4505c80
BLAKE2b-256 f0a48f0fda021c5eb32a8dd3d5ddfcf57ec057ed911bf2335accf70eea2a1d6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gjalla-0.4.37-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for gjalla-0.4.37-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 4a60e775f9d409888b3c5707916ad80c4e0914987ffbce9a8a9e486e54e78aed
MD5 3421b674f5a0f02f633c804856f7026a
BLAKE2b-256 a6eccaf16cf69bd19fdfd7faaabe2cae305e435448614fecae388290db31fc12

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.37-cp310-cp310-macosx_10_9_universal2.whl:

Publisher: ci-publish.yml on elliemdaw/gjalla-precommit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page