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)
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

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

Uploaded CPython 3.12Windows x86-64

gjalla-0.4.35-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

gjalla-0.4.35-cp312-cp312-macosx_10_13_universal2.whl (2.1 MB view details)

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

gjalla-0.4.35-cp311-cp311-win_amd64.whl (977.8 kB view details)

Uploaded CPython 3.11Windows x86-64

gjalla-0.4.35-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

gjalla-0.4.35-cp311-cp311-macosx_10_9_universal2.whl (2.1 MB view details)

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

gjalla-0.4.35-cp310-cp310-win_amd64.whl (976.7 kB view details)

Uploaded CPython 3.10Windows x86-64

gjalla-0.4.35-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

gjalla-0.4.35-cp310-cp310-macosx_10_9_universal2.whl (2.1 MB view details)

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

File details

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

File metadata

  • Download URL: gjalla-0.4.35-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 951.1 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.35-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 71149ca9ec19c37fbabdf287e223d6fd27d22138bffebadaf12dc4e498100014
MD5 0115455e567a5a0b50c786bf425a3086
BLAKE2b-256 f81054003410399d154ea29d79315e043c423f7f709b6e6605df19a5ee1dffee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gjalla-0.4.35-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 f8c20c64dcd797c4cd2ce8c99ab5f19078f0362860dd64fa01293a8b77ff502c
MD5 1bf140daa161dd3bc4bc5addd4573bb3
BLAKE2b-256 418e0de799adc1faf1ca1de17895522e59ece80e79d6f5caca3ea4e66cd1ffdf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gjalla-0.4.35-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 863dc1ab416173aeaec9c16722da923ac891ada41cb5243c9e4da0582cd546e8
MD5 c5245cbadc89af7a186bf5a7175b9550
BLAKE2b-256 e426f355077ae20aacbadd7f1ac692a0984595fc979fa3fe9cd9de91731ceb60

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gjalla-0.4.35-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 977.8 kB
  • 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.35-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4c0ce5b36f7b79e0049861d5a8495c388ed7287889de3a226ea26ab05b5e7093
MD5 ac2dc3aa28afc4179628b7bb22d5cfa7
BLAKE2b-256 70a2b0115df72353a96b9bbef400d3bc44c66f96ba0d5acd2ce77956b7021818

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gjalla-0.4.35-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 fcd03e6dc226338e360d1de6f4b11866014f3d1780af01737a63a47f545923ce
MD5 7ab977c1c9111d9962f3ae991c7f8aa7
BLAKE2b-256 beb8835a5e24738e2b54ae92ccdbfe4656160e1f03eaa882ed1bb7524947a54b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gjalla-0.4.35-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ae80436226cd912bd783581835115c5045e4e335fb58044d4126636e2561535f
MD5 06bd8ebd1a7231a9da55ebdb620cc51d
BLAKE2b-256 9c93df35fb5b89736ec4f5d8a57dcab691973665923582b85d3ad4ed0835e397

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gjalla-0.4.35-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 976.7 kB
  • 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.35-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d57ffbdece22473c8bd76a1e5759eab7708e98f438edb8db0deb2fda3abdaf8c
MD5 8d16213b66892ce5261d4441dcc6cbd1
BLAKE2b-256 f3b82ce5c83ef3de5a8b5f3107015a1316cf71c31d7b965a2ab8d1f6a27575c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gjalla-0.4.35-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d37b89c7ea3bd75b3e1d61998b7b9dc5937cb080ed5c7fc328fde52ae6e4c0bb
MD5 5b548cb05c7524f8827311237629b8ce
BLAKE2b-256 7ab598773c776be7a57af3203cb57c2b9eab2c8c64feae729798b87491c855dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for gjalla-0.4.35-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f622ba0fccc300147d2dccf88e79beffa16adbe5a8f3a0a46cfbf3e653b69e42
MD5 f3ccb23e06421290ae6fae2bff4524ea
BLAKE2b-256 6bcedeab805d1c51a3824c7785a79405849cf4a95b700180531c8dd549d2c4b3

See more details on using hashes here.

Provenance

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