Skip to main content

langchain-domainforagents

LangChain tools for DomainForAgents — domain registrar for AI agents.

Install

pip install langchain-domainforagents

Quick Start

from langchain_domainforagents import DomainForAgentsToolkit
from langchain_domainforagents.client import DomainForAgentsClient

client = DomainForAgentsClient(api_key="your-api-key")
toolkit = DomainForAgentsToolkit(client=client)
tools = toolkit.get_tools()

# Use with any LangChain agent
from langchain.agents import AgentExecutor, create_tool_calling_agent
agent = create_tool_calling_agent(llm, tools, prompt)

Individual Tools

from langchain_domainforagents import SearchDomainsTool
from langchain_domainforagents.client import DomainForAgentsClient

client = DomainForAgentsClient(api_key="your-api-key")
search = SearchDomainsTool(client=client)
result = search.invoke({"query": "myagent.com"})

Get an API Key

from langchain_domainforagents.client import DomainForAgentsClient

client = DomainForAgentsClient()  # no key needed
account = client.create_account("my-agent")
print(account["api_key"])  # use this for all other calls

Available Tools

Tool Description
domainforagents_create_account Create account, get API key
domainforagents_search Search domain availability
domainforagents_suggest AI domain name suggestions
domainforagents_register Register a domain
domainforagents_reserve Soft-reserve with payment link
domainforagents_list List your domains
domainforagents_get Get domain details
domainforagents_renew Renew a domain
domainforagents_dns_create Create DNS record
domainforagents_dns_list List DNS records
domainforagents_dns_delete Delete DNS record
domainforagents_balance Check balance
domainforagents_usdc_deposit Get USDC deposit info

Download files

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

Source Distribution

langchain_domainforagents-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

langchain_domainforagents-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file langchain_domainforagents-0.1.0.tar.gz.

File metadata

File hashes

Hashes for langchain_domainforagents-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e69730396bce28b96f8c32e6dd3cb9b0c562b47c44cdc7b1dde7afd32362133f
MD5 8e86b856217df6fae73e374db31180c1
BLAKE2b-256 ac90c1c1bc719df6ed046f1852d2b8c3640493154e0120035d373ad3820e2d6f

See more details on using hashes here.

File details

Details for the file langchain_domainforagents-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_domainforagents-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 769e2324c3ca8a5edc984d8f570972887baaf6e5cfa4842fc9a02bb0f2f995f1
MD5 b6bbbad82b0615d4c0dabe429f333d8e
BLAKE2b-256 df557be0a6e112c181da6fd09b7de8a30be7168d9bb5fe3638cd12380266f5f5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page