# Profile for the COMPLETE mode: the whole agent runs under `python-sb`, so this
# profile has to allow the framework's own dispatch too. The partial mode has its
# own profile, `.py-sandboxes`, deliberately separate. Relearn both with
# `learn.py`; see its docstring.
py-sandbox=true
os-sandbox=${OS_SANDBOX:-subprocess}

net=ALLOW|TCP|www.google.com|443|OUT

# Add rules (2026/09/10 at 07:09)
env=CONDA_HOME=${CONDA_HOME}
env=HOME=${HOME}
env=PWD=${PWD}
env=PYENV_ROOT=${PYENV_ROOT}
env=TEMP=${TEMP}
env=TMP=${TMP}
env=TMPDIR=${TMPDIR}

# ⚠ Dangerous!
python-import=atexit, importlib, inspect, mmap, subprocess

# Standard Python
python-import=__future__, _codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp
python-import=_codecs_kr, _codecs_tw, _markupbase, _multibytecodec, abc, array, ast
python-import=base64, binascii, bisect, calendar, codecs, collections, colorsys
python-import=concurrent, configparser, contextlib, contextvars, copy, copyreg
python-import=dataclasses, datetime, decimal, email, encodings, enum, errno, fnmatch
python-import=fractions, functools, getpass, gettext, hashlib, html, http, io
python-import=ipaddress, itertools, json, logging, math, mimetypes, numbers
python-import=operator, os, pathlib, pickle, random, re, reprlib, select, signal
python-import=socket, ssl, stat, stringprep, struct, tempfile, termios, textwrap
python-import=threading, time, types, typing, unicodedata, urllib, weakref, zipfile
python-import=zlib

# External modules (Are you sure about the origin?)
python-import=81d243bd2c585b0f4821__mypyc
python-import=agno_demo
python-import=anyio
python-import=attr
python-import=bs4
python-import=certifi
python-import=charset_normalizer
python-import=click
python-import=h11
python-import=h2
python-import=hpack
python-import=httpcore
python-import=httpx
python-import=hyperframe
python-import=idna
python-import=markdownify
python-import=pygments
python-import=rich
python-import=six
python-import=sniffio
python-import=soupsieve
python-import=typing_extensions

expose-ro=.

# Add rules (2026/09/10 at 09:58)
env=VIRTUAL_ENV=${VIRTUAL_ENV}

# Standard Python
python-import=_decimal, _socket, keyword, uuid


# The calculator tool evaluates a string the model produced. `closed` rather
# than the adaptive default: the caller already passes {"__builtins__": {}},
# so the resulting namespace is identical, and a profile handling model output
# should declare its surface here rather than at the call site.
eval-namespace=closed
eval-syntax=arith, compare
eval-max-iterations=100_000
eval-timeout=2s

# Add rules (2026/09/21 at 08:50)
env=SSL_CERT_FILE=${SSL_CERT_FILE}

# Standard Python
python-import=_thread



# Add rules (2026/09/21 at 08:50)

# Add rules (2026/09/21 at 08:50)

# Add rules (2026/09/21 at 08:50)
# External modules (Are you sure about the origin?)
python-import=annotationlib

