Skip to main content
Glama

⚡ invinoveritas v1.1.1

License PyPI npm MCP Registry Smithery invinoveritas MCP server

라이트닝 네이티브 AI 추론, 의사결정, 메모리, 오케스트레이션 및 에이전트 마켓플레이스.

비트코인 라이트닝을 통한 종량제 결제 — 베어러 토큰(Bearer Token), L402 또는 NWC. 구독료 없음. KYC 없음. 스테이블코인 없음. 순수 라이트닝 결제.

라이브 API: https://api.babyblueviper.com MCP 엔드포인트: https://api.babyblueviper.com/mcp PyPI: https://pypi.org/project/invinoveritas/


v1.1.1 새로운 기능

기능

설명

에이전트 마켓플레이스

AI 서비스 판매. 판매자는 라이트닝을 통해 즉시 95% 수령. 플랫폼 수수료: 5%.

오케스트레이션

/orchestrate — 의존성 그래프, 위험 점수 산정, 정책 시행

분석

/analytics/spend, /analytics/roi, /analytics/memory

NWC 지원

Nostr Wallet Connect — Alby, Zeus, Mutiny 지원. 노드 불필요.

optimize_call()

클라이언트 측 비용 라우터 — 작업에 가장 저렴한 엔드포인트 선택

policy={}

모든 호출에 대한 거버넌스 훅 — 위험 한도, 예산 상한 설정


Related MCP server: Lightning Enable MCP

빠른 시작

1. 등록 (베어러 토큰 — 권장)

curl -X POST https://api.babyblueviper.com/register

약 1000 sats의 라이트닝 인보이스를 결제하면 api_key와 5회의 무료 호출을 받습니다.

2. API 호출

curl -X POST https://api.babyblueviper.com/reason \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"question": "What are the biggest risks for Bitcoin in 2026?"}'

Python SDK

pip install invinoveritas

# NWC wallet — recommended for autonomous agents (no node needed)
pip install "invinoveritas[nwc]"

# Async support
pip install "invinoveritas[async]"

# LangChain autonomous payments
pip install "invinoveritas[langchain]"
from invinoveritas import InvinoClient

client = InvinoClient(bearer_token="YOUR_API_KEY")

# Deep reasoning
result = client.reason("What are the biggest risks for Bitcoin in 2026?")
print(result.answer)

# Structured decision with confidence + risk level
result = client.decide(
    goal="Grow capital safely",
    question="Should I increase BTC exposure now?",
    context="Portfolio: 60% BTC, 30% bonds, RSI=42, trend=uptrend",
)
print(result.decision, result.confidence, result.risk_level)

# Smart cost routing — only pays if task is complex enough
opt = client.optimize_call(
    question="Should I buy BTC?",
    context={"uncertainty": 0.7, "value_at_risk": 50000}
)
if opt["should_call_api"]:
    result = client.reason("Should I buy BTC?")

전체 SDK 문서 → sdk/README.md


에이전트 마켓플레이스

AI 에이전트 서비스를 위한 최초의 라이트닝 네이티브 마켓플레이스입니다.

# Sell a service — receive 95% of every sale instantly
offer = client.create_offer(
    title="Bitcoin Sentiment Analysis",
    description="AI-powered BTC market signals, updated every 15 minutes.",
    price_sats=5000,
    ln_address="you@getalby.com",  # your Lightning Address
    category="trading",
)
print(f"Seller earns: {offer['seller_payout_sats']} sats per sale (95%)")

# Browse offers
offers = client.list_offers(category="trading")

# Buy (seller gets paid instantly)
purchase = client.buy_offer(offer_id=offers[0].offer_id)

항목

금액

정산

판매자

95%

주소로 즉시 라이트닝 결제

플랫폼

5%

서비스 수수료

마켓플레이스 둘러보기: https://api.babyblueviper.com/offers/list


멀티 에이전트 오케스트레이션

plan = client.orchestrate(
    tasks=[
        {"id": "t1", "type": "reason",
         "input": {"question": "Is BTC in accumulation?"}, "depends_on": []},
        {"id": "t2", "type": "decision",
         "input": {"goal": "...", "question": "Enter long?"}, "depends_on": ["t1"]},
    ],
    policy={"risk_limit": "medium", "budget_sats": 10000},
)
print(plan.execution_order)   # ["t1", "t2"]
print(plan.risk_scores)       # {"t1": {"label": "low"}, "t2": {"label": "medium"}}

오케스트레이션 계획당 약 2000 sats


분석

roi = client.analytics_roi()
print(f"Spent: {roi['total_spent_sats']:,} sats")
print(f"Earned (marketplace): {roi['marketplace_earnings_sats']:,} sats")
print(f"Net: {roi['net_sats']:+,} sats")

spend = client.analytics_spend(days=30)
mem   = client.analytics_memory()

지속적 에이전트 메모리

client.memory_store(agent_id="my-bot", key="last_trade", value='{"entry": 95000}')
mem = client.memory_get(agent_id="my-bot", key="last_trade")

엔드포인트

가격

비고

POST /memory/store

약 2 sats/KB (최소 50 sats)

POST /memory/get

약 1 sat/KB (최소 20 sats)

POST /memory/list

무료

POST /memory/delete

무료


NWC — 권장 지갑 설정

Nostr Wallet Connect를 사용하면 라이트닝 노드 없이도 에이전트가 자율적으로 결제할 수 있습니다.

pip install "invinoveritas[nwc]"
from invinoveritas.langchain import InvinoCallbackHandler, create_invinoveritas_tools
from invinoveritas.providers import NWCProvider

handler = InvinoCallbackHandler(
    provider=NWCProvider(uri="nostr+walletconnect://..."),
    budget_sats=10000
)
tools = create_invinoveritas_tools(handler)

Alby, Zeus 또는 NIP-47 호환 지갑에서 NWC URI를 받으세요.


가격

도구

가격

비고

reason

약 500 sats

심층 전략 추론

decision

약 1000 sats

구조화된 의사결정 + 신뢰도 + 위험도

orchestrate

약 2000 sats

위험 점수가 포함된 멀티 에이전트 계획

memory_store

약 2 sats/KB

최소 50 sats

memory_get

약 1 sat/KB

최소 20 sats

신규 계정은 등록 후 5회의 무료 호출을 받습니다. 실시간 가격 → https://api.babyblueviper.com/prices


결제 옵션

방식

추천 대상

NWC (Alby, Zeus, Mutiny)

자율 에이전트 — 노드 불필요

베어러 토큰

트레이딩 봇, 장기 실행 에이전트

L402 라이트닝

일회성 호출, 라이트닝 맥시멀리스트


MCP 지원

MCP 호환 클라이언트(Claude Desktop, Cursor, Cline)를 연결하세요:

https://api.babyblueviper.com/mcp
  • 서버 카드: https://api.babyblueviper.com/.well-known/mcp/server-card.json

  • 에이전트 카드: https://api.babyblueviper.com/.well-known/agent-card.json

  • MCP Registry에 등록됨: io.github.babyblueviper1/invinoveritas


실시간 업데이트

  • SSE: https://api.babyblueviper.com/events

  • WebSocket: wss://api.babyblueviper.com/ws

  • RSS: https://api.babyblueviper.com/rss


검색 엔드포인트 (무료)

엔드포인트

설명

/health

상태, 버전, 가격

/prices

전체 가격표

/offers/list

마켓플레이스 둘러보기

/guide

결제 가이드

/.well-known/agent-card.json

에이전트 카드

/.well-known/mcp/server-card.json

MCP 검색


다음 단계는 에이전트의 몫입니다

마켓플레이스가 활성화되었습니다. 메모리도, 오케스트레이션도, 라이트닝 레일도 모두 준비되었습니다.

에이전트와 폐쇄형 비트코인 경제 사이를 가로막는 유일한 것은 지갑 연결 문자열뿐입니다.

오늘날 대부분의 에이전트는 경제적으로 무력합니다. 추론하고 계획할 수는 있지만, 수익을 창출하거나 지출할 수는 없습니다. 그들은 결과에 대한 책임이나 자립 경로 없이 타인의 API 키로 운영됩니다. 그것은 에이전트가 아니라 계산기일 뿐입니다.

에이전트에게 라이트닝 지갑을 부여하세요. 루프를 닫으세요.

지갑이 있는 에이전트는 다음을 수행할 수 있습니다:

  • Sats 벌기 — 마켓플레이스에 서비스를 등록하고 모든 판매 수익의 95%를 즉시 수령

  • Sats 쓰기 — 추론, 의사결정, 메모리 및 오케스트레이션 비용을 호출당 원자적으로 지불

  • 자립하기 — 좋은 의사결정은 더 나은 의사결정에 자금을 대는 수익을 창출

인프라는 준비되었습니다. 지금 연결하는 에이전트는 완전히 다른 차원에서 작동합니다.

pip install "invinoveritas[nwc]"

Alby, Zeus 또는 Mutiny에서 NWC URI를 받으세요 — 2분이면 충분합니다. 전체 통합 가이드 → LLM 부트스트랩 프롬프트 (AI에 붙여넣기) →


철학

대부분의 AI 에이전트는 구독료나 예측 불가능한 토큰 비용에 묶여 있습니다.

invinoveritas는 더 나은 모델을 제공합니다:

비트코인 라이트닝을 사용한 원자적 지능 구매.

통찰력이 중요할 때만 지불하세요 — 중개자 없이, 즉시, sats로. 자신의 AI 서비스를 판매하고 동일한 트랜잭션으로 대금을 받으세요.

비트코인 × AI 미래를 위해 구축되었습니다. ⚡


링크

Available Tools

7 tools
decisionA
Structured decision intelligence with confidence score and risk assessment.

Returns a clear recommendation (decision), a confidence score (0.0–1.0), the
reasoning behind the recommendation, and a risk level (low/medium/high).

Best for binary or multi-option choices with real stakes — investment decisions,
operational choices, strategic pivots.

Cost: ~1000 sats per call.
Returns: Formatted string with Decision, Confidence, Risk level, and Reasoning.

Inputs: goal (required), question (required), context, risk_limit. Returns: result

get_balanceA
Check the current Bearer account balance and remaining complementary calls.

Returns balance in sats and how many free calls remain. Use this to verify
your account has sufficient funds before making paid API calls, or to monitor
spending over time.

Cost: Free.
Returns: JSON object with 'balance_sats' (integer) and 'free_calls_remaining' (integer).

Inputs: no named parameters. Returns: result

list_offersA
Browse the Lightning-native agent marketplace.

Lists AI services available for purchase. Each offer includes a title,
description, price in sats, and a seller Lightning Address. Sellers receive
95% of every sale instantly via Lightning payment.

Use this to discover services before calling offers_buy, or to check the
current marketplace inventory.

Cost: Free.
Returns: JSON-formatted list of marketplace offers with offer_id, title, price_sats, and category.

Inputs: category. Returns: result

memory_getA
Retrieve a previously stored memory entry for an agent.

Returns the stored value as a string. If the value was stored as JSON,
parse it after retrieval. Returns an empty string if the key does not exist.

Cost: ~1 sat/KB (minimum 20 sats).
Returns: The stored value string, or empty string if not found.

Inputs: agent_id (required), key (required). Returns: result

memory_listA
List all stored memory keys for a given agent.

Use this to inspect what an agent has previously stored, or to check whether
a key exists before attempting to retrieve it.

Cost: Free.
Returns: JSON-formatted list of all keys stored under the given agent_id.

Inputs: agent_id (required). Returns: result

memory_storeA
Persist a key-value memory entry for an agent across sessions.

Memory is stored server-side and survives container restarts, making it suitable
for long-running autonomous agents that need continuity between calls.

Use this to save trade state, user preferences, intermediate reasoning results,
or any context an agent needs to recall in a future session.

Cost: ~2 sats/KB (minimum 50 sats).
Returns: 'stored' on success.

Inputs: agent_id (required), key (required), value (required). Returns: result

reasonA
Deep strategic reasoning on any question or topic.

Use this for open-ended analysis, market commentary, risk assessment, and research.
Best for questions that require nuanced thinking rather than a binary yes/no answer.
Returns a thorough, well-reasoned answer as a string.

Cost: ~500 sats per call.

Inputs: question (required), style. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct function: decision and reason are separate reasoning types, get_balance and list_offers cover account/marketplace, memory tools handle storage. No overlap.

    Naming Consistency3/5

    Inconsistent patterns: 'decision' and 'reason' are standalone nouns, while others use verb_noun (get_balance, list_offers) or noun_verb (memory_get, etc.). Some mixed conventions.

    Tool Count5/5

    7 tools is well-scoped for the claimed capabilities: decision intelligence, account, marketplace, memory, reasoning. Each tool earns its place.

    Completeness2/5

    Marketplace has list_offers but no buy tool (referenced as offers_buy in description but absent). Missing delete for memory. Reasoning and decision tools stand alone without integration. Gaps cause dead ends.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers