Skip to main content

langchain-godaddy

GoDaddy integrations for LangChain / LangGraph.

Install

pip install langchain-godaddy
# CSR generation and badge verification work out of the box.
# optional extra:
#   [agent]   run the bundled ReAct/LangGraph agent example
#             (langgraph + langchain-anthropic)

Configuration

All configuration is via environment variables (or explicit kwargs):

Env var Required Default Purpose
GODADDY_BASE_URL no https://api.godaddy.com GoDaddy API base URL
GODADDY_API_KEY for writes — SSO key:secret (registration/verify + per-agent trust read)
GODADDY_KEYS_DIR no ./keys where the CSR helper writes keys
GODADDY_TRUSTED_RA_DOMAINS no — comma-separated badge-fetch allow-list
GODADDY_BADGE_FAILURE_POLICY no fail-closed fail-closed / fail-open-with-cache / fail-open
GODADDY_AUTH_HEADER no — extra Header: value lines injected on every request

Discovery reads need no credentials.

Agent Identity

Register, discover, and verify AI agents through GoDaddy's Agent Identity API. The feature lives at langchain_godaddy.agent_identity; its public API is re-exported from langchain_godaddy.

See examples/chat_stream.py for a runnable end-to-end example — a streaming ReAct agent wired to the toolkit that can discover, register, and verify agents.

One-line agent setup — toolkit

from langchain_godaddy import AgentIdentityToolkit
from langchain_anthropic import ChatAnthropic
from langgraph.prebuilt import create_react_agent

tools = AgentIdentityToolkit.from_env().get_tools()  # note: synchronous
agent = create_react_agent(ChatAnthropic(model="claude-opus-4-8"), tools=tools)

The toolkit adapts to your configuration. Tools it exposes:

Always (no credentials required):

  • agent_identity_search_registered_agents — free-text search of the registry, with protocol / capability / tag / status filters and trust-aware ranking.
  • agent_identity_list_registered_agents — paged listing with the same filters.
  • agent_identity_get_agent — fetch an agent's registration record and lifecycle status by ID.
  • agent_identity_generate_csrs — generate the identity + server CSRs (RSA-2048) locally, written under GODADDY_KEYS_DIR.
  • agent_identity_verify — verify a peer agent's certificate against its published identity badge (fingerprint + SAN checks).

Added when GODADDY_API_KEY is set:

  • agent_identity_get_registered_agent — one registered agent with full trust explainability.
  • agent_identity_register_agent — register a new agent (returns the ACME challenge).
  • agent_identity_verify_acme — trigger ACME domain-control validation.
  • agent_identity_verify_dns — confirm the required DNS records are live (→ ACTIVE).
  • put_godaddy_txt_record — write the GoDaddy DNS TXT records the registration flow needs.

Agent registration flow

generate CSRs (local)          → csr.make_csr_tool / generate_agent_csrs
register_agent                 → returns agentId + ACME challenge
provision _acme-challenge TXT  → dns.put_godaddy_txt
verify_acme                    → PENDING_CERTS
poll get_agent                 → until PENDING_DNS (dnsRecords available)
provision _ans / _ans-badge TXT→ dns.put_godaddy_txt (×2)
verify_dns                     → ACTIVE

License

MIT.

Metadata

Release files for langchain-godaddy 0.0.4

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

Source distribution (sdist)

Source distribution for langchain-godaddy 0.0.4
File Size Uploaded
langchain_godaddy-0.0.4.tar.gz 62.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langchain-godaddy 0.0.4
File Interpreter ABI Platform
langchain_godaddy-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 110.6 kB

Release files / langchain_godaddy-0.0.4.tar.gz

Download URL langchain_godaddy-0.0.4.tar.gz
Size 62.9 kB
Tags Source
SHA-256 checksum
How to use checksums
65146081379d0cb92a11610b1ddb69db92f6d98ebde79ea84f7a7a4f405025ec
BLAKE2b-256 checksum
How to use checksums
9adf295b773c26998d62778b7573ae210d06e19b539e7064cb686fbffa260d3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / langchain_godaddy-0.0.4-py3-none-any.whl

Download URL langchain_godaddy-0.0.4-py3-none-any.whl
Size 47.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ff13f0d9d4fd00ce41a3a0541f86b5e1b428fbcaf2c6fcc894bbce21e803769
BLAKE2b-256 checksum
How to use checksums
3e6f00e7ec73b0a46a651820ce1c8bb7c526cb0ee14807762253d5348ea7da3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.1

2 release files

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