Cracked for the OpenAI Agents SDK
Function tools that give an agents.Agent 50,000+ tools through one API key.
Publishing to PyPI soon. Until then install from the repo path:
pip install ./sdk/python ./sdk/integrations/openai-agents openai-agents
# later: pip install cracked-ai-openai-agents
Set CRACKED_API_KEY (https://cracked.ai/app/keys, or Cracked.register_agent()) and OPENAI_API_KEY.
Use
from agents import Agent, Runner
from cracked_ai_openai_agents import cracked_toolkit
agent = Agent(
name="Researcher",
instructions="Find the right tool with cracked_discover, read its schema with cracked_inspect, then cracked_run it. Quote output fields, never invent data.",
tools=cracked_toolkit(), # cracked_discover, cracked_inspect, cracked_run, cracked_run_capability
)
print(Runner.run_sync(agent, "What is the weather in Austin, TX right now?").final_output)
Pre-resolved tools, one per endpoint with the provider's JSON Schema as the tool parameters:
from cracked_ai_openai_agents import cracked_tools
agent = Agent(name="IG", instructions="...", tools=cracked_tools("instagram profile followers", limit=3))
Notes:
cracked_run/cracked_run_capabilitytakeinput_json(a JSON object string) because strict function schemas do not allow free-form objects.cracked_tools()buildsFunctionTools withstrict_json_schema=Falseso optional provider fields work.make_functions()returns the four plain Python functions if you want to wrap them yourself.
python example.py calls the functions directly (no LLM) and, with OPENAI_API_KEY, runs a one-turn agent.
Metadata
Release files for cracked-ai-openai-agents 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 | Provenance | Actions |
|---|---|---|---|---|
| cracked_ai_openai_agents-0.1.0.tar.gz | 3.9 kB | Without provenance | Details for cracked_ai_openai_agents-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cracked_ai_openai_agents-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cracked_ai_openai_agents-0.1.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / cracked_ai_openai_agents-0.1.0.tar.gz
| Download URL | cracked_ai_openai_agents-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88273d9e702069d667f19a148ac119071de1fc46d6e2ca2c7e1ec085687f6e96
|
|
BLAKE2b-256 checksum How to use checksums |
26bd1c2474b55009cf0f952b38c596c5cae92fc931044c4037d81cdc8f20578c
|
| 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_openai_agents-0.1.0-py3-none-any.whl
| Download URL | cracked_ai_openai_agents-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38e717021643572097153ad2f461ff783dba508c00f1ae7d770c3ae01b4742d1
|
|
BLAKE2b-256 checksum How to use checksums |
43b0da3341277affecb866c8df136a37b0da766aabc45942aaedd1f0dc686879
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for cracked-ai-openai-agents 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.