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.1

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.1
File Size Uploaded
langchain_godaddy-0.0.1.tar.gz 62.9 kB Details

Built distribution (wheel)

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

Total release size: 110.6 kB

Release files / langchain_godaddy-0.0.1.tar.gz

Download URL langchain_godaddy-0.0.1.tar.gz
Size 62.9 kB
Tags Source
SHA-256 checksum
How to use checksums
621355c927a9124cb654763975f4b0c1e843d02c245d92b376ff037a0d61bfff
BLAKE2b-256 checksum
How to use checksums
b7d5a8154b5b5f5d8c1b309d59f8db28a722824b010bf296444e373f35371cf8
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.1-py3-none-any.whl

Download URL langchain_godaddy-0.0.1-py3-none-any.whl
Size 47.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0eecb6357c52c381e67fc915c686bbf12725c22b42c8beff4c82e3fdd0d0eb32
BLAKE2b-256 checksum
How to use checksums
5771a4a5a898943a8f22a2546e26842d8421ce247470162887af834fceeeb81b
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

0.0.4

2 release files

0.0.3

2 release files

This release

0.0.1 This release

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