# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
# Anchored to the repo root: these are the Python packaging outputs. Unanchored,
# `build/` also swallowed desktop/build/icon.png (the packaging icon master) —
# the same way `lib/` once swallowed web/src/lib/.
.Python
/build/
develop-eggs/
/dist/
downloads/
eggs/
.eggs/
/lib/
/lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock

# poetry
#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
#   This is especially recommended for binary packages to ensure reproducibility, and is more
#   commonly ignored for libraries.
#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
#   Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
#   pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
#   in version control.
#   https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
#  JetBrains specific template is maintained in a separate JetBrains.gitignore that can
#  be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
#  and can be added to the global gitignore or merged into this file.  For a more nuclear
#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/

examples/outputs
*/.DS_Store
.DS_Store
examples/tmp/
evaluation/outputs/
evaluation/code_benchmark/.cache/
evaluation/code_benchmark/outputs/
# published PK copies (summary.json + predictions.jsonl only) live in results/
.vscode/
outputs/

examples/01_llm_demo_test.py
examples/43_minimax_mcp_demo1.py
examples/46_custom_llm_demo_v2.py
examples/46_custom_llm_demov1.py
examples/12_web_search_bocha_demo.py
examples/46_custom_llm_seed-1.6-pro-thinking-auto-demo.py
examples/character_demo.py
examples/feishu_mcp_stdio_demo.py
examples/mcp_config-test.json
examples/mcp_config-test1.json
saved_html/
tests/__pycache__/*
__pycache__/

test_work_dir/

tmp/

.codebuddy/*
.codebuddy/
update_tech_v3.md
prompt_update.md
site/
CLAUDE.md
evaluation/browsecomp_plus/runs/*
evaluation/browsecomp_plus/data/*
CODEBUDDY.md
docs/learn_cc/
docs/paper*.md
docs/config_tech_v2.md
docs/refactor_v3.md
docs/tests.md
.sessions/
examples/builtin_tools/tmp_demo.py
.claude/
AGENT.md
.transcripts/
AGENTS.md
.cursor/
START_HERE.md
examples/self_evolution/03_self_evolution_e2e_glm.py
.workbuddy/
.worktrees/
node_modules/
web/dist/
sdk-ts/dist/
# Web UI is built into web/dist (above) and copied into the agentica-gateway
# wheel at build time (gateway/hatch_build.py). Nothing writes into a Python
# source tree any more; the old location stays ignored for stale local builds.
agentica/gateway/ui/
gateway/src/agentica_gateway/ui/
gateway/dist/
gateway/build/
# A test once wrote a MagicMock repr as a path.
/MagicMock/
desktop/node_modules/
# Bundled Python + agentica, assembled by desktop/scripts/prepare-runtime.js.
desktop/runtime/
# electron-builder output: installers are release assets, not repo content.
desktop/dist/
docs/superpowers/
