Cracked for CrewAI
Give CrewAI agents 50,000+ tools through one API key.
Publishing to PyPI soon. Until then install from the repo path:
pip install ./sdk/python ./sdk/integrations/crewai crewai
# later: pip install cracked-ai-crewai
Set CRACKED_API_KEY (https://cracked.ai/app/keys, or Cracked.register_agent()).
Use
from crewai import Agent, Crew, Task
from cracked_ai_crewai import cracked_toolkit, cracked_tools
researcher = Agent(
role="Researcher",
goal="Answer with real data from external tools",
backstory="You find the right tool with cracked_discover, read its schema with cracked_inspect, then cracked_run it.",
tools=cracked_toolkit(), # discover, inspect, run, run_capability
)
task = Task(description="What is the weather in Austin, TX right now?", expected_output="One sentence with the temperature.", agent=researcher)
print(Crew(agents=[researcher], tasks=[task]).kickoff())
Pre-resolved tools (one per endpoint, args from the provider's JSON Schema):
tools = cracked_tools("instagram profile followers", limit=3)
Agent(..., tools=tools)
Classes: CrackedDiscoverTool, CrackedInspectTool, CrackedRunTool, CrackedCapabilityTool, CrackedEndpointTool (all crewai.tools.BaseTool). Pass client=Cracked(api_key=..., base_url=...) to any of them or to the factories.
Tool output is a status line (runId, status, httpStatus, costUsd) followed by JSON, truncated to max_output_chars (default 20,000). API errors are returned as JSON strings so the agent can recover.
python example.py calls the tools directly (no LLM) and, when OPENAI_API_KEY is set, runs a one-task crew.
Metadata
Release files for cracked-ai-crewai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cracked_ai_crewai-0.1.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cracked_ai_crewai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / cracked_ai_crewai-0.1.0.tar.gz
| Download URL | cracked_ai_crewai-0.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc016c0c8dd57b3404dda8ea5d6fffd0ba94ae7cca817bf22ce1b0a250fd8767
|
|
BLAKE2b-256 checksum How to use checksums |
1d54c6b7b44409c5158e7313f3483bd197e4d2a72ceb8a4de4148d5ec965aad7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / cracked_ai_crewai-0.1.0-py3-none-any.whl
| Download URL | cracked_ai_crewai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b772584d06b970e91418f7f7dbfd9b1a7ff77c2e3d2d5d1863e5902ff652bb8
|
|
BLAKE2b-256 checksum How to use checksums |
e28ac830834b125d99f5a2c679beb9bacdbb9adf7133f32b2cd8f59d3463b2ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|