Docs
Development
Working on Mikoshi (Mikoshi team only)
Development Setup
Prerequisites
- Python 3.12+
- Latest Go 1.24.x patch (only for Bubble Tea TUI development and release artifacts)
- Docker (running)
- uv
- Git
Local Development
Clone the repository
bashgit clone git@github.com:khkstudios/Mikoshi.git cd MikoshiInstall dependencies
bashmake setup-dev # or manually: uv sync uv run pre-commit installConfigure LLM
bashexport MIKOSHI_LLM="openrouter/z-ai/glm-5.3" export LLM_API_KEY="your-api-key"Run Mikoshi
bashuv run mikoshi --target https://example.com
Adding Skills
Skills are specialized knowledge packages that enhance agent capabilities. They live in mikoshi/skills/
Creating a Skill
- Choose the right category
- Create a
.mdfile with YAML frontmatter (nameanddescriptionfields) - Include practical examples—working payloads, commands, test cases
- Provide validation methods to confirm findings
- Open a pull request
Changing Code
Pull Request Process
- Track the work — Describe the problem or feature in an issue on the private repository
- Branch — Create a branch from
main - Make changes — Follow existing code style
- Write tests — Ensure coverage for new features
- Run checks —
make check-allshould pass - Submit PR — Link to issue and provide context
Code Style
- PEP 8 with 100-character line limit
- Type hints for all functions
- Docstrings for public methods
- Small, focused functions
- Meaningful variable names
Package Builds
Editable installs do not require Go; they run the TUI from source (go run).
Wheels are intentionally strict: they always bundle the matching Go sidecar and are platform-specific.
bash
make wheelThe build hook (scripts/tui_sidecar_hook.py) requires Go 1.24.x or newer, embeds
the sidecar as mikoshi/bin/mikoshi-tui, and assigns the current platform tag.
Frozen releases built by scripts/build.sh and mikoshi.spec also require the
sidecar.
Reporting Issues
Include:
- Python version and OS
- Mikoshi version (
mikoshi --version) - LLM being used
- Full error traceback
- Steps to reproduce
Support
SupportReport bugs and request features.