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

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.3
File Size Uploaded
langchain_godaddy-0.0.3.tar.gz 63.4 kB Details

Built distribution (wheel)

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

Total release size: 111.4 kB

Release files / langchain_godaddy-0.0.3.tar.gz

Download URL langchain_godaddy-0.0.3.tar.gz
Size 63.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6a87be84ffb36b89a37a06993957f507ee2b9b834a6f5c85cbb15c315a9ada92
BLAKE2b-256 checksum
How to use checksums
5d67d48785928bfc3fa66cf1da2da237dcf6e99c39b08a2378c257cb9946f2cb
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.3-py3-none-any.whl

Download URL langchain_godaddy-0.0.3-py3-none-any.whl
Size 48.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebb7e68951e328bf7967e5b0ce7d99dd5d7faadf2d80f0f7d8f08120bafe621f
BLAKE2b-256 checksum
How to use checksums
15d189369da4912c40dcb7681e15decc22723f0045e765c7c4a40a8f9b02422e
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

This release

0.0.3 This release

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