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.1.tar.gz (4.7 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.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fahali-0.1.1.tar.gz
  • Upload date:
  • Size: 4.7 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.1.tar.gz
Algorithm Hash digest
SHA256 ba4716ff37a827f4c16d93ba6acb80d1ccdf71c63441a35fec0b9fddd97532bf
MD5 758b666d704fd39feec49641b42a24eb
BLAKE2b-256 d21537e86fbc5dc99d0264eb5d477b49005dc145ea5701a09f96367877a0f23f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fahali-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 290fbaf8bb2a5ecf5c637c2743c0bb41714723a9bd894bf74170ec7f58a8c951
MD5 b780057c0c93c82743c085345c832e99
BLAKE2b-256 de32e970af99dbb4ceb94aaca3cd454a59b1ccb1215bc07f296c8122498850d0

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