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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cracked_ai_crewai-0.1.0.tar.gz.
File metadata
- Download URL: cracked_ai_crewai-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc016c0c8dd57b3404dda8ea5d6fffd0ba94ae7cca817bf22ce1b0a250fd8767
|
|
| MD5 |
1ed38b2defd9616d6a1dbb7db470eafb
|
|
| BLAKE2b-256 |
1d54c6b7b44409c5158e7313f3483bd197e4d2a72ceb8a4de4148d5ec965aad7
|
File details
Details for the file cracked_ai_crewai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cracked_ai_crewai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b772584d06b970e91418f7f7dbfd9b1a7ff77c2e3d2d5d1863e5902ff652bb8
|
|
| MD5 |
0bcea5367db67a95ecc9edc920dd77ad
|
|
| BLAKE2b-256 |
e28ac830834b125d99f5a2c679beb9bacdbb9adf7133f32b2cd8f59d3463b2ef
|