Metadata-Version: 2.4
Name: knowapi-langchain
Version: 0.1.0
Summary: Official records for AI agents, with the source on every answer. KnowAPI tools for LangChain and LangGraph.
License: MIT
Project-URL: Homepage, https://knowapi.dev/agents
Project-URL: Documentation, https://api.knowapi.dev/llms.txt
Keywords: langchain,langgraph,agents,mcp,public-data,official-records,knowapi
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: langchain-core>=0.3

# knowapi-langchain

Official records for AI agents, with the source on every answer: KnowAPI tools for LangChain and LangGraph.

```python
from knowapi_langchain import KnowAPIToolkit

tools = KnowAPIToolkit().get_tools()       # core tools; KnowAPIToolkit(profile="all") for every tool
# from langgraph.prebuilt import create_react_agent
# agent = create_react_agent(model, tools)
```

Without LangChain:

```python
from knowapi_langchain import KnowAPI
kn = KnowAPI()
kn.ask("Which medicines are currently in shortage?")
kn.request_data("Daily FDA drug recalls for pet food with brand and reason")  # build it; earn when others use it
```

**Free to start:** a starter credit shared across every API, then pay per call. A call that returns no records is not charged. The current terms are at <https://api.knowapi.dev/v2/free-allowance>.

The tool list is read live from `https://api.knowapi.dev/mcp`. Docs for agents: <https://api.knowapi.dev/llms.txt>.
