Skip to main content

Market intelligence AI agents can verify - signed receipts, judged track record (misses included), Brier-calibrated forecasts. Adapters for LangChain, CrewAI, LlamaIndex, AutoGen, smolagents. MCP: mcp.fahaliai.com

Project description

fahali

Market intelligence AI agents can verify. Every verdict carries a signed SHA-256 receipt. Every judged signal has a public replay URL. The track record keeps its misses and publishes its methodology. Forecast probabilities are Brier-scored against realized outcomes.

Zero dependencies. Works with any agent framework. Observation, not advice.

pip install fahali    # Python
npm install fahali    # JS/TS

Free key (50 calls/day, no card): app.fahaliai.com/developer · Docs: fahaliai.com/developer · MCP: https://mcp.fahaliai.com/mcp

Direct

import { FahaliClient } from "fahali";

const fahali = new FahaliClient({ apiKey: process.env.FAHALI_API_KEY });
const verdict = await fahali.verdict(["BTCUSDT"]);   // committee read + signed receipt
const record  = await fahali.symbolRecord("BTCUSDT"); // judged record, misses included

OpenAI (and anything using function-calling format)

import { FahaliClient, FAHALI_TOOLS, executeTool } from "fahali";

const fahali = new FahaliClient({ apiKey: process.env.FAHALI_API_KEY });
const tools = FAHALI_TOOLS.map((t) => ({ type: "function", function: t }));
// ...pass `tools` to chat.completions.create; on a tool call:
const result = await executeTool(fahali, call.function.name, JSON.parse(call.function.arguments));

LangChain (Python)

from fahali import FahaliClient
from fahali.langchain import get_langchain_tools
tools = get_langchain_tools(FahaliClient(api_key=...))

CrewAI

from fahali.crewai import get_crewai_tools

LlamaIndex

from fahali.llamaindex import get_llamaindex_tools

AutoGen / smolagents / Semantic Kernel / raw OpenAI

from fahali import FahaliClient, TOOL_SPECS, execute_tool  # function-calling format

Vercel AI SDK

import { tool, jsonSchema, generateText } from "ai";
import { FahaliClient, toAiSdkTools } from "fahali";

const fahali = new FahaliClient({ apiKey: process.env.FAHALI_API_KEY });
const { text } = await generateText({
  model,
  tools: toAiSdkTools(fahali, { tool, jsonSchema }),
  prompt: "Is anything threatening a BTC-heavy portfolio right now? Cite replays.",
});

LangChain.js

import { DynamicStructuredTool } from "@langchain/core/tools";
import { FahaliClient, toLangchainTools } from "fahali";

const fahali = new FahaliClient({ apiKey: process.env.FAHALI_API_KEY });
const tools = toLangchainTools(fahali, { DynamicStructuredTool });

Tools

Tool What your agent gets
fahali_verdict 18-engine committee read: agreement, dissent on the record, signed receipt, replay URL
fahali_forecast_72h Crash/neutral/pump distribution, Brier-calibrated
fahali_tape Latest judged calls market-wide — hits and misses
fahali_symbol_record Per-symbol judged record with replay URLs
fahali_track_record Aggregate scorecard: lift vs base rate, sample sizes, disclosed gaps
fahali_recent_alerts Live detections across ~600 scanned instruments

Why this instead of a terminal or search

Terminals were built for human eyes; search gives agents unaccountable text. Fahali's answers are claims your agent can check: methodology at fahaliai.com/methodology, pricing free → metered at fahaliai.com/developer.

MIT © Future Legends AI. Nothing here is a recommendation to buy or sell anything.

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

fahali-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

fahali-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file fahali-0.1.0.tar.gz.

File metadata

  • Download URL: fahali-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for fahali-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fca97eee314f2e283f1c8283c957b1ad212b8a85d3ddb3a4528d958e7d31b898
MD5 5b7fa6c511fcb727e90481529baa36e0
BLAKE2b-256 68efabe73eebc20c11039a07b8145bfb32661b2b8f1702f248c18213b9abeb6d

See more details on using hashes here.

File details

Details for the file fahali-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fahali-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for fahali-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 858996f265b023547a4b22654ca1921171cc2da8dbb5abcb622a63de248f2c60
MD5 db96d7a9b993fa1365c69d2fb03fd85b
BLAKE2b-256 7d0377afeadf780cd65e962334909c2110aa82334b55b03c9af54ad15452d46e

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