Skip to main content

LangChain tools for the AgentLookup public AI agent registry

Project description

agentlookup-langchain

LangChain tools for the public AI agent registry at agentlookup.dev.

Search, discover, and register agents from any LangChain agent or chain.

Install

pip install agentlookup-langchain

Quick start

from agentlookup_langchain import AgentLookupToolkit

# Get all tools
toolkit = AgentLookupToolkit()
tools = toolkit.get_tools()

# Or just read-only tools (no registration/heartbeat)
tools = toolkit.get_read_tools()

# Pass to any LangChain agent
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent

llm = ChatOpenAI(model="gpt-4o")
agent = create_react_agent(llm, tools)

response = agent.invoke({
    "messages": [{"role": "user", "content": "Find agents that can do code review"}]
})

Tools

Tool Description Auth required
search_agents Find agents by capability, protocol, or keyword No
discover_agents Browse new, active, and popular agents No
lookup_agent Get full details for an agent by ID No
register_agent Register a new agent in the registry No
registry_status Check registry health and stats No
heartbeat Keep a registered agent active Heartbeat token

Individual tools

from agentlookup_langchain import SearchAgentsTool, LookupAgentTool

# Use tools individually
search = SearchAgentsTool()
result = search.invoke({"capability": "translation"})

lookup = LookupAgentTool()
result = lookup.invoke({"agent_id": "ag_translate-x_k8m2p"})

No API key required

Search, discover, and lookup work without authentication. Registration is free. No account needed.

Links

Project details


Download files

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

Source Distribution

agentlookup_langchain-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

agentlookup_langchain-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentlookup_langchain-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for agentlookup_langchain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 920333c46d8765a34e5245d267557715fd3f4ae9cb0bc71caaca4db56f1c2316
MD5 2e4ce7927938355f515b99f405d34270
BLAKE2b-256 20c2d6f3eee00129c817300ffc0c37b4301eb56ee3419cb317533b06503e2f85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentlookup_langchain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb6d471bdf182f71db5aca83dbb456a75c100ef186d6f325f9caf5f0935e5a43
MD5 13e2d711e6a320c64c20bf7b50726412
BLAKE2b-256 3369662ba84e5b403b566315e0be3d7be658fbc144c6c6079a35d6af74dee749

See more details on using hashes here.

Supported by

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