Skip to main content

Deterministic agent-management framework that implements FRAME governance for AI-assisted software development.

Project description

Haxaml

PyPI version

Haxaml is an LLM-first governance layer for coding agents.

It is an MCP-first project: agents are expected to work through the Haxaml MCP server, with the CLI available mainly for local setup and fallback.

Latest release: 0.5.0.

Haxaml gives agents a deterministic project memory model called FRAME, plus MCP tools that make context, rules, verification, and handoff explicit during real work.

Why It Exists

Agent instructions are usually scattered across prompt files, chat history, local conventions, and whatever the current model remembers. That works until the project grows, the session rolls over, or a different agent enters the repo.

Haxaml keeps the operational truth in versioned project files and exposes it through a predictable workflow. Agents can ask for the right context, follow project rules, verify before claiming success, and record what changed.

What Agents Get

  • Project facts, rules, history, expectations, and impact maps in .haxaml/
  • Task-specific context packs instead of giant prompt dumps
  • Validation and reconcile checks before state is trusted
  • Verify/record gates for governed work
  • Export paths for native agent files such as AGENTS.md, CLAUDE.md, Cursor rules, Copilot instructions, and Gemini guidance

Install

uvx haxaml-mcp

For persistent local installs:

uv tool install haxaml-mcp

MCP Start

Configure your MCP client to launch haxaml-mcp with HAXAML_PROJECT_DIR set to the project root. See MCP.md for the human/operator guide.

Once connected, agents can initialize and validate through MCP tools:

  • haxaml_init
  • haxaml_validate

Optional CLI fallback for local setup:

haxaml init
haxaml validate

Bootstrap Prompt

Paste this into your native agent instruction file (AGENTS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md, etc.):

This repository uses Haxaml for agent governance.

Use the Haxaml MCP server for governed project work.
Before governed project work, call haxaml_about(project_dir='.') once in the active MCP session.
Follow the workflow returned by that tool.
Do not edit .haxaml/* for utility or side tasks that are not governed project work.

FRAME Files

  • .haxaml/facts.yaml - project truth
  • .haxaml/rules.yaml - agent operating rules
  • .haxaml/acts.yaml - execution diary and decisions
  • .haxaml/expect.yaml - run plan and milestones
  • .haxaml/map.yaml - optional module ownership and impact map

Docs

Project details


Download files

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

Source Distribution

haxaml-0.5.1.tar.gz (104.0 kB view details)

Uploaded Source

Built Distribution

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

haxaml-0.5.1-py3-none-any.whl (105.5 kB view details)

Uploaded Python 3

File details

Details for the file haxaml-0.5.1.tar.gz.

File metadata

  • Download URL: haxaml-0.5.1.tar.gz
  • Upload date:
  • Size: 104.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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}

File hashes

Hashes for haxaml-0.5.1.tar.gz
Algorithm Hash digest
SHA256 2b603084993bbc2e785f36b8764a0e2b0ca24c04a8136e9c6b1607c098c592f2
MD5 3fcf1aaf378e50c65243b811e842d0c9
BLAKE2b-256 3ac2a6f7fbcfe50f03b577bc4403492c571bc3f4a342f22ecd3f721c70b8d33a

See more details on using hashes here.

File details

Details for the file haxaml-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: haxaml-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 105.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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}

File hashes

Hashes for haxaml-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23854653f58fbb732b02414f9cf6bafbb9ac16286de9a9cf6dc3e01a4bee53c6
MD5 8a5933d420d0d326a1dde7b5f5d2924e
BLAKE2b-256 6dcd7988a895de7b691ae84809b44864d9b2be8795dfbeafec5d595281b6d986

See more details on using hashes here.

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