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.36-cp312-cp312-win_amd64.whl (988.9 kB view details)

Uploaded CPython 3.12Windows x86-64

gjalla-0.4.36-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

gjalla-0.4.36-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (7.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

gjalla-0.4.36-cp312-cp312-macosx_10_13_universal2.whl (2.2 MB view details)

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

gjalla-0.4.36-cp311-cp311-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.11Windows x86-64

gjalla-0.4.36-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

gjalla-0.4.36-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (6.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

gjalla-0.4.36-cp311-cp311-macosx_10_9_universal2.whl (2.2 MB view details)

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

gjalla-0.4.36-cp310-cp310-win_amd64.whl (1.0 MB view details)

Uploaded CPython 3.10Windows x86-64

gjalla-0.4.36-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

gjalla-0.4.36-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (6.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

gjalla-0.4.36-cp310-cp310-macosx_10_9_universal2.whl (2.2 MB view details)

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

File details

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

File metadata

  • Download URL: gjalla-0.4.36-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 988.9 kB
  • 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.36-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 772dc64dac24108de403e539047f4e7a63dc9fcf54de0ef9234a65d1aee11055
MD5 da1c57b655d1b3dedacd2ca54288366b
BLAKE2b-256 1939b215fc159b0482c7c82cdf5e136a55dcfa813bc249e06676740fbdf84b02

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.36-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c9778ec665bc219468f7f68a565b300fb08cbc403175767617b9bd37dfedf6ce
MD5 ed49507efe04a48ee87ba1fe28909394
BLAKE2b-256 38ae92d76b5d130b716069f773c8a858354f3f180cb10d81444cd6b4ade72c87

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.36-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 d72a70e6ea3e973aa3092880a1f82f640f938c32f5bc1c7aa4f7728dc1dd012e
MD5 0162c3f5c510d9ccfff10794aa90e022
BLAKE2b-256 1fe6d6eac0c71db622208b81e549555efc7f164f4a97f39685875c03810efc76

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for gjalla-0.4.36-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 0174cf83a5b3b28a217d3a90689bdb280fec778f5e64e03a9aac22c92fd8560b
MD5 53029a78090d4dd8f67197e68361b8a4
BLAKE2b-256 2d11e99afd325898598d8c1dddb72a4b5f6da742ea48caa0b72dcc768ac6a1d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: gjalla-0.4.36-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.0 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.36-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fcc5320ba46571fa28027f6b66ecaf98a80d6ce4f3319bdd51223e16fc6abb49
MD5 9783d0f2db1d777c991c259db3fbd2a2
BLAKE2b-256 ea89de42ffbfa00a3b6395f2c05573aaeda562d738c50913e94edb838a2aeb20

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.36-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 82b6476ad383f686daa50060631bdacfbb81c724efbbe583bb5e00e93d7eb86a
MD5 4b97cc8e1abeafbaff4b0b4de393ba75
BLAKE2b-256 df7ae1b9a44422472aa0ef8d5599e61929ecf0f74874e57fa044b9dfd4552e9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.36-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 ca4d9b1e199a5dade3db391105805183aac10c707a851e03984c9058eeb2f6f8
MD5 de88ccaeafcbca2256b038be518747aa
BLAKE2b-256 e595ee396a2f11ba91a9ea417667d621dea748409a957fa761b386372d5fd81c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for gjalla-0.4.36-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e3fc8fc7c6f2bfd7b3b4ef295788c8ba10df9105f758480a60a32e6be3980421
MD5 502bca68ae2fd1dfb629c2d32cd0b32e
BLAKE2b-256 d3ee312295f357ec054578be4da406f8361b118d497f662d3db428066241067c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: gjalla-0.4.36-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.0 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.36-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c913e848e89cba311c9db7960a6275b4c1033797453fff93ab09d6eb4f7c599a
MD5 3b914a72289b903ab49c0466551c3538
BLAKE2b-256 3d59d1e5cce89cb7f8e09b138bde29e0f95cc8e7608ce6b844a23eb8dddc0a9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.36-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 2199f393cdbd4dc91199321e6744be25c6d8f30ee67334abf5cf8f352851f83a
MD5 28ff339a2459d46b8ee605f80900a82b
BLAKE2b-256 bea91ff4f7f684af7809238a75a5bd9dff99fe2e196adfe97b2a6cc5effabb2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for gjalla-0.4.36-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 91fb08632c3d991b321786117360173e04628b2c06387744282d3c4eff40fbf0
MD5 920f654316f4207202911af286bb4789
BLAKE2b-256 493a7ec36b0d18f18aca43a6d739fadb9091c07d5838f9e5b498cedd6957a909

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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.36-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for gjalla-0.4.36-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 23b2f531aeadacbad938887fcc15db9fa6fba1197c7de016d5f20acd633f12fe
MD5 68c7ee75b4033694f0595f0a7b0a0192
BLAKE2b-256 8b1e64946b323ffda0870cd51e4c5600f42cdb5bba6106e966b6404b7d192f1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gjalla-0.4.36-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