Metadata-Version: 2.4
Name: swiss-truth-langchain
Version: 0.1.1
Summary: LangChain tools for Swiss Truth — certified knowledge base for AI agents
Project-URL: Homepage, https://swisstruth.org
Project-URL: Documentation, https://swisstruth.org/trust
Project-URL: Repository, https://github.com/swisstruthorg/swiss-truth-mcp
Author-email: Swiss Truth <hello@swisstruth.org>
License: MIT
Keywords: agents,ai,fact-checking,hallucination,knowledge-base,langchain,mcp,rag
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Requires-Dist: langchain-core>=0.1.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: requests>=2.28.0
Description-Content-Type: text/markdown

# swiss-truth-langchain

LangChain tools for [Swiss Truth MCP](https://swisstruth.org) — a certified, source-backed knowledge base for AI agents.

## Install

```bash
pip install swiss-truth-langchain
```

## Usage

```python
from swiss_truth_langchain import SwissTruthToolkit

# Read-only — no API key needed
toolkit = SwissTruthToolkit()
tools = toolkit.get_tools()

# With LangGraph agent
from langgraph.prebuilt import create_react_agent
agent = create_react_agent(llm, tools)
```

## Tools

| Tool | Description |
|------|-------------|
| `swiss_truth_search` | Semantic search over 1000+ certified facts |
| `swiss_truth_verify` | Verify a claim — returns trust score + verdict |
| `swiss_truth_list_domains` | List all 25 knowledge domains |
| `swiss_truth_submit` | Submit a new claim (API key required) |

## Domains

25 domains including `swiss-law`, `eu-health`, `global-science`, `quantum-computing`, `cybersecurity`, `ai-safety`, `us-law`, and more.

## Links

- API: [swisstruth.org](https://swisstruth.org)
- MCP Server: `npx swiss-truth-mcp` (for Claude Desktop)
- GitHub: [swisstruthorg/swiss-truth-mcp](https://github.com/swisstruthorg/swiss-truth-mcp)
