Documentation Index
Fetch the complete documentation index at: https://qitor.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Development Guide
Prerequisites
- Python 3.10+
pipgit
rgfor fast searchpre-commit
Local Setup
Quickstart from a local clone:Common Commands
Run tests:Environment Configuration
Copy.env.example and set only the provider variables you need.
Avoid committing:
.env- local API keys
- temporary benchmark data
- generated run artifacts
Common Tasks
Adding A New Tool
- Implement it under the appropriate
qitos/kit/toolmodule. - Give it a clear docstring and tool spec.
- Register it through the canonical toolset or an explicit registry builder.
- Add behavior tests.
- Update docs if it changes the public surface.
qitos, default qitos.kit imports, qit demo, or quickstart examples.
Adding A Product Agent
Product-grade agents belong inqitos-zoo. Keep QitOS examples small, teaching-first, and focused on one framework concept at a time.
Changing Engine Behavior
- Preserve
Decisionas the execution contract. - Add or update hook/trace coverage.
- Verify qita and parser behavior if event payloads change.
Removing Or Replacing APIs
- Update examples, templates, and docs in the same change.
- Remove long-term compatibility layers rather than introducing new ones unless migration risk is high.
- Record the change in
CHANGELOG.md.
Release Checklist
When cutting a GitHub release, verify the repo-facing surfaces before you tag:- Run
python -m pytest -q. - Run
python -m build. - Run
python -m twine check dist/*. - Run
npx mintlify broken-links docs. - Confirm
README.md,README.zh.md,CHANGELOG.md, and the relevantdocs/pages match the shipped behavior. - Confirm GitHub auth works with
gh auth status. - Create or update the release body from the release notes.
- Push the release branch and tag, then publish with
gh release create.
Troubleshooting
If coverage flags are unavailable locally, reinstall the contributor environment:build/dist/.pytest_cache/.mypy_cache/
npx mintlify broken-links docs and preview the site with npx mintlify dev docs.