Skip to main content

cracked-llamaindex

LlamaIndex tools for Cracked, the tool router for AI agents: one API key, 67,000+ tools (web search, scrapers, social profiles, enrichment, media models) with measured health and real prices per call.

load_cracked_tools() turns every Cracked capability into a FunctionTool with a typed fn_schema built from GET /v1/capabilities/tools?format=openai. Runs go through POST /v1/run; each result includes the run permalink.

pip install cracked-llamaindex llama-index-llms-openai
import os, asyncio
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI
from cracked_llamaindex import load_cracked_tools

tools = load_cracked_tools(api_key=os.environ["CRACKED_API_KEY"], capabilities=["web-search", "youtube-transcript"])
agent = FunctionAgent(tools=tools, llm=OpenAI(model="gpt-4o-mini"), system_prompt="Use the tools; cite the run url.")
async def main():
    print(await agent.run("Summarize the latest Vercel Ship keynote from its YouTube transcript."))

asyncio.run(main())
# Each tool call returns {"run": {"runId", "status", "url", "costUsd", "durationMs"}, "output": ...}

Options: capabilities (ids, dashes or underscores), set="top"|"all", base_url, timeout, max_output_chars. Keys: https://cracked.ai/app/keys. Agents can self-register: POST https://cracked.ai/v1/agents/register.

MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cracked_llamaindex-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

cracked_llamaindex-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cracked_llamaindex-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for cracked_llamaindex-0.1.0.tar.gz
Algorithm Hash digest
SHA256 72e6c33b016faadaf7f1e133bc793870b3f6ff714e84aba1e2db29a839589506
MD5 1cc842c35453e491ef34928b68c1012e
BLAKE2b-256 8a69162c38daf2f516e7a3d05a9f77aa7f10207e83f4e40f11b883a8f1143f67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cracked_llamaindex-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0acef5921ee0cc9f3270b719c6564f63cd9fa2cf05743d45aeba067c0448e26d
MD5 251cc1a65a906e4a85fa378a14f68079
BLAKE2b-256 ccc5cda7e28dd13906e388779c0903571e0e4040aa9ad93cefa2fd2972d93827

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page