ccbeb68937
- Added new tools for generating and applying safe patches using Mistral. - Implemented a local embedding index for repository files to facilitate search functionality. - Created a schema for validating patch JSON structure. - Developed various prompts for different agent roles (Architect, PM, QA, etc.) to guide Mistral's output. - Established a set of scope allowlists to ensure safe application of patches. - Included documentation for agents and systems correspondence. - Added requirements for Mistral dependencies in requirements-mistral.txt.
840 B
840 B
Mistral integration pack
This template can use Mistral for:
- Code: Codestral / Devstral
- Specs/Docs: Mistral Small/Medium/Large
- RAG:
mistral-embedembeddings
Keys & endpoints
Set:
MISTRAL_API_KEY(required)MISTRAL_API_BASE(optional)
Some setups use a different base URL for Codestral. See docs/CONTINUE_SETUP.md.
Recommended models by role
- PM/Doc:
mistral-small-latestormistral-medium-latest - Architect:
mistral-large-latest - Firmware/Implementation:
codestral-latest - QA (tests/refactors):
devstral-*orcodestral-latest
Safe-output approach (critical)
This pack uses JSON-mode structured patches:
- generate
SafePatchJSON (no repo writes) - validate schema + scope allowlists
- apply patch (writes files only; never runs commands)
See docs/MISTRAL_AGENTIC.md.