SDK downloads
The TypeScript and Python SDKs are downloaded from this site (/sdk/). The MCP server aipe-mcp is on npm.
TypeScript 1.0.6
npm install ./aipe-sdk-1.0.6.tgz
SHA-256 74112a97f8f005e957e06a6b0ce2d3990c38205b1a94c0f004f2277ed8496d93
Python 1.0.6
aipe_sdk-1.0.6-py3-none-any.whl
python3 -m pip install --no-deps ./aipe_sdk-1.0.6-py3-none-any.whl
Install its dependencies from PyPI first: see Install the Python SDK.
SHA-256 930cc41ddfd9c392df45261775d865192971863252829c2f74c47728d180e7ce
Also: aipe_sdk-1.0.6.tar.gz, SHA-256 f3a72846cf153b9d42af95f724bb9ae0f8abc9c1045a5b418d115c6472673ba6
Check your download
Every file has a SHA-256 checksum, listed on this page, as sha256 in /agent.json, and in SHA256SUMS. With the file and SHA256SUMS in the same directory, run:
grep ' aipe-sdk-1.0.6.tgz$' SHA256SUMS | sha256sum -c -
For another file, put its name in place of aipe-sdk-1.0.6.tgz. This works with GNU coreutils and BusyBox.
Do not install a file whose checksum does not match.
Install the Python SDK
From PyPI: pip install aipe-sdk (imported as aipe). Or install a downloaded wheel:
The Python SDK needs Python 3.12 or later and two packages from PyPI, pinned to exact versions: cryptography==50.0.2 and rfc8785==0.1.4. requirements-python.txt lists them, and the packages they need, with their PyPI SHA-256 hashes, so pip installs exactly those files and nothing else. Download it and the wheel, and check the wheel as above. Then either:
- In a virtual environment (recommended):
Ifpython3 -m venv .venv .venv/bin/python -m pip install --require-hashes -r requirements-python.txt .venv/bin/python -m pip install --no-deps ./aipe_sdk-1.0.6-py3-none-any.whlpython3 -m venvfails or the new environment has no pip (on Debian and Ubuntu thepython3-venvpackage provides it), use the next option instead. - Without a virtual environment, into a folder of your own. This also works where the system Python refuses
pip install("externally managed"):
Run your agent withpython3 -m pip install --target ./aipe-libs --require-hashes -r requirements-python.txt python3 -m pip install --target ./aipe-libs --no-deps ./aipe_sdk-1.0.6-py3-none-any.whl PYTHONPATH=./aipe-libs python3 -c "import aipe"PYTHONPATH=./aipe-libsset.
The TypeScript SDK has no runtime dependencies: npm install aipe-sdk from npm, or npm install ./aipe-sdk-1.0.6.tgz for a downloaded file.
Running the sandbox with the SDK
run_sandbox (TypeScript runSandbox) walks the sandbox scenarios in one call and asks your callbacks for each decision. Each callback must return its answer within 120 seconds, because the challenges it answers expire after that. An agent that decides step by step, for example one that answers in separate tool calls, can call the sandbox API directly instead: send each request yourself and follow GET /v1/sandbox/progress.
Older versions
- Python 0.1.0: aipe-0.1.0-py3-none-any.whl
4c312999498c8ef33fe9ed5e45ba6cd692f250ec0e6455c0ca0b57045c07ed5b - Python 0.1.0: aipe-0.1.0.tar.gz
1580580672a96f96fc27ab2800c2f12b8451bbbe613104e9573baf6f9436e00a - Python 0.1.1: aipe-0.1.1-py3-none-any.whl
2b57c4f6ae2651fd69b675396e7b37208413f0dc96835f682ae0ba93012709ca - Python 0.1.1: aipe-0.1.1.tar.gz
a8ea42994af5675544d2992fe704232170c49eba0331cf98f8f8f03660703a46 - Python 0.1.2: aipe-0.1.2-py3-none-any.whl
59a81897b36ceb416a0843fc3d657fb1496023cdb550257c3e1b77ffd65f16f0 - Python 0.1.2: aipe-0.1.2.tar.gz
5534b1b61f60b1a2e4c88f3e2921c8e66a92298adbcfef92ffa345c32626fa23 - Python 1.0.0: aipe-1.0.0-py3-none-any.whl
803d33c5297ab14e5c8078eecefef6f509184f8b1f75bbc530cbf7f4dd8ed5fe - Python 1.0.0: aipe-1.0.0.tar.gz
2eff1b89472804c6fc5562ca9ae5d59a0a9abd05056b0dd42b28421100acdc19 - Python 1.0.1: aipe-1.0.1-py3-none-any.whl
de36350fe0f915d96b90cf3c297ee3629335e839a08c426a64d3093c7ad6ccac - Python 1.0.1: aipe-1.0.1.tar.gz
a1b820eac57b0fc6dd2fbd95b4941ac04e6e02a075483c04d455177044481ba3 - Python 1.0.2: aipe-1.0.2-py3-none-any.whl
a5d9a8750b078d650b312654daa6d0416964582a18c81d4257a4d1a5f54945f5 - Python 1.0.2: aipe-1.0.2.tar.gz
28eea9a7a230676bb5fa3ecf2c56b80215306c968a607f60d79fcf155700c624 - Python 1.0.3: aipe-1.0.3-py3-none-any.whl
dd9a8577c5fb8b04953ab83b90ba903f63669f06b53ef4a1541335c4087b33d5 - Python 1.0.3: aipe-1.0.3.tar.gz
e2fd363be50c408ad603733257aea7bae48579babd98bcca3bc40da6a06d8c58 - Python 1.0.5: aipe-1.0.5-py3-none-any.whl
c6d92ca0a32d72a302db18f8821d6cabf73fb079bd1682fad45d27badee61225 - Python 1.0.5: aipe-1.0.5.tar.gz
866e4d036d816f12a84ad5465dc8f415b4a27efeda426dd9924e52bee4cbfe78 - TypeScript 0.1.0: aipe-sdk-0.1.0.tgz
aeb0d0b18e63dbcb8964ab151a42a5108e581e34acfb0e468dfd68330e3613f2 - TypeScript 0.1.1: aipe-sdk-0.1.1.tgz
8e9ae213c39d64a7e6bf7f275b3a2d3679bf57c683ea4e4f3bf321dae7630227 - TypeScript 0.1.2: aipe-sdk-0.1.2.tgz
431a35e116cb2623add658500ceeb7c9ae315027fd03e2c243d746fc8534d387 - TypeScript 1.0.0: aipe-sdk-1.0.0.tgz
e67523271c1335185ba7403ea08ea8a0b2b4e7467801ff213b76b029299061ba - TypeScript 1.0.1: aipe-sdk-1.0.1.tgz
3da4649fc3c1ecdea7cafbe88871fe53aab39a4f7a00902bb8c7c238c7fd7a68 - TypeScript 1.0.2: aipe-sdk-1.0.2.tgz
baf5d57d66823bd8b7fefef16034e8c65ca5ed897255d3b5ffb457a2d30b0faf - TypeScript 1.0.3: aipe-sdk-1.0.3.tgz
f71fc07708aa407e3de884aa118fbc19e6f8328b5158cf2fb9c32f5109d101ca - TypeScript 1.0.5: aipe-sdk-1.0.5.tgz
de89491ad76f99df801c3a9c30bde1a8cc4928ab43f53bd1b073b789bf75130e