Skip to main content

Noosphere Prime SIGMA Tools for LangChain — sovereign risk intelligence for AI agents

Project description

noosphere-langchain

Noosphere Prime SIGMA Tools for LangChain — sovereign risk intelligence for AI agents.

pip install noosphere-langchain

Usage

from noosphere_langchain import SIGMATool, SIGMAComparisonTool, SIGMARegimeTool
from langchain.agents import initialize_agent, AgentType
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(model="gpt-4")
tools = [SIGMATool(), SIGMAComparisonTool(), SIGMARegimeTool()]

agent = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)

# Single country
agent.run("What's the current sovereign risk for Turkey?")

# Comparison
agent.run("Compare the financial risk of Germany, France, and Italy")

# By regime
agent.run("Which countries are currently in collapse regime?")

# Complex analysis
agent.run("I have a portfolio with exposure to Turkey and Romania. What's the risk?")

With Claude (Anthropic)

from langchain_anthropic import ChatAnthropic

llm = ChatAnthropic(model="claude-sonnet-4-6")
agent = initialize_agent([SIGMATool(), SIGMAComparisonTool()], llm, ...)

Available Tools

Tool Description
SIGMATool Get SIGMA score for a single country
SIGMAComparisonTool Compare multiple countries
SIGMARegimeTool Find all countries in a specific regime

Data

All data from Noosphere Prime SIGMA Engine v5.0. SHA256-anchored predictions. CC-BY-4.0 attribution required.

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

noosphere_langchain-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

noosphere_langchain-1.0.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file noosphere_langchain-1.0.0.tar.gz.

File metadata

  • Download URL: noosphere_langchain-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for noosphere_langchain-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b67ab15d11dddeba6224462309f0e5ab4e1390c8e15ef05582b2b6178bff2cbf
MD5 b17a576f24aa30ba8fdbdf6f3d551148
BLAKE2b-256 1a17643bd5f9f72f5f49cd1fa244e87d1cadcaaee268473c2687a535484f7362

See more details on using hashes here.

File details

Details for the file noosphere_langchain-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for noosphere_langchain-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2171f0419855cba708ce130d5d12a0fe0f9c77c1e211908dc08edbad496d16f1
MD5 6530370b92ff239c618a91b0ad9bf882
BLAKE2b-256 8ab5111fe73a6d40032d8d20b37e3822f796d743f2350091a12d467d044fb0af

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