Skip to main content
Loss of provenance

A previous release had provenance metadata, but this release does not. View details.

gdm — Open-Source AI Coding Agent

A terminal-native coding agent that reads your codebase, reasons over it, and edits files autonomously — with configurable autonomy, local model support, and a full audit trail.

Release PyPI License: MIT


Quick start

pipx install gdmcode
gdm version
gdm login grok        # or: gemini | codex
cd my-project && gdm "fix the login bug"

If you cannot reach a model provider directly, start gdm and run /proxy, then paste the relay token with /proxy token. The provider API key stays encrypted locally; the relay should not persist provider keys.

See docs/quick-start.md for a step-by-step walkthrough.


Why gdm?

  • Local-model support — run fully air-gapped with Ollama or vLLM; no data leaves your machine.
  • Autonomy slider — five levels from "ask everything" to "fully autonomous"; start low, build trust.
  • Open source and auditable — MIT licensed, hash-chained audit log, team policy enforcement.

Feature status

Feature Status Task(s)
Multi-model routing (Grok / Gemini / Codex) ✅ implemented models-001/002/005
Local model support — Ollama / vLLM ✅ implemented models-003
Cost tracking and budget caps ✅ implemented runtime-005
Session checkpoint / restore ✅ implemented core-002/003
Audit log with hash chain ✅ implemented enterprise-002
Team configuration and policy ✅ implemented enterprise-001
Web search (debug / research) ✅ implemented tools-003
Code index + whole-codebase mode ✅ implemented memory-001/005
Git workflow automation ✅ implemented autonomous-003
Verification loop ✅ implemented autonomous-002
Self-healing debug loop ✅ implemented autonomous-004
Multi-file orchestration ✅ implemented autonomous-001
Impact analysis gate ✅ implemented autonomous-005
Autonomy slider — 5 levels ✅ implemented ide-004
VS Code extension ✅ implemented ide-001/002/003
Voice interface (PTT + streaming) ✅ implemented voice-001/002/003
Remote / LAN server + phone UI ✅ implemented remote-001/002/003
Chrome extension + bridge ✅ implemented extensions-002
MCP protocol server ✅ implemented integrations-003
GitHub Actions CI integration ✅ implemented integrations-001
Playwright browser automation ✅ implemented tools-002
Sub-agent parallel execution ✅ implemented tools-005
RBAC (role-based access control) 📋 planned enterprise-003
Usage analytics dashboard 📋 planned enterprise-004
Hermetic sandbox ✅ implemented moonshot-002
Patch risk scoring ✅ implemented moonshot-006
Impact graph smart test selection ✅ implemented moonshot-007
CI eval pipeline ✅ implemented evals-002
Continuous memory ✅ implemented memory-003
Proxy/relay mode (geo-restricted regions) ✅ implemented proxy-001
OIDC identity integration 📋 planned —

Installation

Recommended (isolated environment):

pipx install gdmcode

pip:

pip install gdmcode

Development install:

git clone https://github.com/guidegdm/gdmcode
cd gdmcode
pip install -e ".[dev]"
gdm health

Note: The PyPI package is gdmcode. The command is gdm.


Configuration

gdm uses a 7-layer precedence system (highest wins):

CLI flags > env vars (GDM_*) > team policy > team preferences
         > project .gdm/config.toml > user ~/.config/gdm/config.toml > defaults

Quick setup:

gdm login grok        # or: gemini | codex | all

Secrets are stored in the OS keychain — never in TOML files.

Interactive setup is also available inside gdm with /login, /logout, and /proxy. First launch without credentials shows onboarding instead of starting model agents; type a normal message like hey to test the connected LLM.

Full configuration reference: docs/configuration.md


Enterprise

gdm includes audit and governance features suitable for team deployment:

  • Audit log — every tool call is logged with a hash chain for tamper detection.
  • Team policy — .gdm/team.toml enforces autonomy caps, network allowlists, and git permissions.
  • RBAC — planned (enterprise-003).

See docs/security-hardening.md for deployment guidance.


Architecture

gdm runs a tool-calling agent loop: the model receives a task, selects tools from a registered registry, executes them (subject to injection checks, RBAC, and network policy), and writes the results back into context. Sessions are checkpointed to SQLite; memory is indexed for whole-codebase reasoning.

Full architecture diagram: docs/architecture.md


Contributing

See CONTRIBUTING.md. Issues and PRs welcome.


License

MIT — Copyright guidegdm

Metadata

Release files for gdmcode 0.3.52

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

Loss of provenance

These files do not have provenance metadata, despite files in a prior release including this data.

We recommend further investigation before installing these files. View details.

Source distribution (sdist)

Source distribution for gdmcode 0.3.52
File Size Uploaded Provenance Actions
gdmcode-0.3.52.tar.gz 594.6 kB Without provenance Details for gdmcode-0.3.52.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gdmcode 0.3.52
File Interpreter ABI Platform Actions
gdmcode-0.3.52-py3-none-any.whl Python 3 none any Details for gdmcode-0.3.52-py3-none-any.whl

Total release size: 1.0 MB

Release files / gdmcode-0.3.52.tar.gz

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL gdmcode-0.3.52.tar.gz
Size 594.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e7f9ce3a2579f6f67d938c421e740b0494ef7680e18dd9bb9b8387e18363a2c3
BLAKE2b-256 checksum
How to use checksums
a1179deb3ca55a44e0935113156fd790a787eab007c5189ff980adb374173715
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / gdmcode-0.3.52-py3-none-any.whl

Loss of provenance

This file belongs to a release without provenance metadata, despite a prior release including this data.

We recommend further investigation before installing this file. View details.

Download URL gdmcode-0.3.52-py3-none-any.whl
Size 411.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a68905ff44a87e9a67438f2f6d340d69c6693212663fec5c2e10328c680d1934
BLAKE2b-256 checksum
How to use checksums
9650f4870152df6d98bdc3911464cd48141b91b166d497f3b2d7325e71ebbac3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for gdmcode 0.3.52

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Loss of provenance

A previous release of these files had provenance metadata, but this release does not.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Release comparison

  • Removed 0.3.51 2 files With provenance
  • Added 0.3.52 2 files Without provenance

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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