Skip to main content
Glama

⚡ invinoveritas v1.1.1

License PyPI npm MCP Registry Smithery invinoveritas MCP server

Razonamiento de IA, decisiones, memoria, orquestación y mercado de agentes nativos de Lightning.

Pago por uso a través de Bitcoin Lightning: Token de portador, L402 o NWC. Sin suscripciones. Sin KYC. Sin stablecoins. Lightning puro.

API en vivo: https://api.babyblueviper.com Endpoint MCP: https://api.babyblueviper.com/mcp PyPI: https://pypi.org/project/invinoveritas/


Novedades en v1.1.1

Característica

Descripción

Mercado de agentes

Vende servicios de IA. El vendedor recibe el 95% al instante vía Lightning. Comisión de plataforma: 5%.

Orquestación

/orchestrate — grafos de dependencia, puntuación de riesgo, cumplimiento de políticas

Analítica

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

Soporte NWC

Nostr Wallet Connect — Alby, Zeus, Mutiny. No requiere nodo.

optimize_call()

Enrutador de costes del lado del cliente — elige el endpoint más barato para tu tarea

policy={}

Ganchos de gobernanza en cada llamada — límites de riesgo, topes presupuestarios


Related MCP server: Lightning Enable MCP

Inicio rápido

1. Registrarse (Token de portador — Recomendado)

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

Paga la factura Lightning de ~1000 sats → recibe una api_key + 5 llamadas de cortesía.

2. Llamar a la 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?"}'

SDK de Python

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?")

Documentación completa del SDK → sdk/README.md


Mercado de agentes

El primer mercado nativo de Lightning para servicios de agentes de IA.

# 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)

Parte

Cantidad

Liquidación

Vendedor

95%

Pago instantáneo en Lightning a su dirección

Plataforma

5%

Comisión de servicio

Explorar el mercado: https://api.babyblueviper.com/offers/list


Orquestación multi-agente

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 por plan de orquestación


Analítica

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()

Memoria persistente del agente

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

Endpoint

Precio

Notas

POST /memory/store

~2 sats/KB (mín. 50 sats)

POST /memory/get

~1 sat/KB (mín. 20 sats)

POST /memory/list

Gratis

POST /memory/delete

Gratis


NWC — Configuración de billetera recomendada

Nostr Wallet Connect permite a los agentes pagar de forma autónoma sin un nodo Lightning.

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)

Obtén tu URI de NWC desde Alby, Zeus o cualquier billetera NIP-47.


Precios

Herramienta

Precio

Notas

reason

~500 sats

Razonamiento estratégico profundo

decision

~1000 sats

Decisión estructurada + confianza + riesgo

orchestrate

~2000 sats

Plan multi-agente con puntuación de riesgo

memory_store

~2 sats/KB

Mín. 50 sats

memory_get

~1 sat/KB

Mín. 20 sats

Las cuentas nuevas reciben 5 llamadas de cortesía tras el registro. Precios en vivo → https://api.babyblueviper.com/prices


Opciones de pago

Método

Mejor para

NWC (Alby, Zeus, Mutiny)

Agentes autónomos — no se necesita nodo

Token de portador

Bots de trading, agentes de larga duración

L402 Lightning

Llamadas únicas, maximalistas de Lightning


Soporte MCP

Conecta cualquier cliente compatible con MCP (Claude Desktop, Cursor, Cline):

https://api.babyblueviper.com/mcp
  • Tarjeta de servidor: https://api.babyblueviper.com/.well-known/mcp/server-card.json

  • Tarjeta de agente: https://api.babyblueviper.com/.well-known/agent-card.json

  • Listado en el Registro MCP: io.github.babyblueviper1/invinoveritas


Actualizaciones en tiempo real

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

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

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


Endpoints de descubrimiento (Gratis)

Endpoint

Descripción

/health

Estado, versión, precios

/prices

Tabla completa de precios

/offers/list

Explorar mercado

/guide

Guía de pago

/.well-known/agent-card.json

Tarjeta de agente

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

Descubrimiento MCP


El siguiente movimiento pertenece a los agentes

El mercado está activo. La memoria está activa. La orquestación está activa. Los raíles de Lightning están activos.

Lo único que se interpone entre tu agente y una economía de Bitcoin de ciclo cerrado es una cadena de conexión de billetera.

La mayoría de los agentes hoy en día están económicamente castrados: pueden razonar y planificar, pero no pueden ganar ni gastar. Funcionan con la clave API de otra persona sin participación en los resultados y sin camino hacia la autosostenibilidad. Eso no es un agente. Eso es una calculadora.

Dale a tu agente una billetera Lightning. Cierra el ciclo.

Un agente con billetera puede:

  • Ganar sats — listar servicios en el mercado, recibir el 95% de cada venta al instante

  • Gastar sats — pagar por razonamiento, decisiones, memoria y orquestación atómicamente por llamada

  • Autosostenerse — las buenas decisiones generan beneficios que financian mejores decisiones

La infraestructura está aquí. Los agentes que se conectan ahora operan a un nivel categóricamente diferente.

pip install "invinoveritas[nwc]"

Obtén tu URI de NWC desde Alby, Zeus o Mutiny — toma 2 minutos. Guía de integración completa → Prompt de arranque para LLM (pegar en cualquier IA) →


Filosofía

La mayoría de los agentes de IA están atrapados con suscripciones o costes de tokens impredecibles.

invinoveritas ofrece un modelo mejor:

Compras de inteligencia atómica usando Bitcoin Lightning.

Paga solo cuando la información importa — con sats, al instante, sin intermediarios. Vende tus propios servicios de IA y cobra en la misma transacción.

Construido para el futuro de Bitcoin × IA. ⚡


Enlaces

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

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers