midnight-coder
v1.0.5
Published
Midnight Coder is a local coding agent that runs locally on your computer.
Readme
Midnight Coder
Midnight Coder is a local-first coding agent built around the midnight-coder CLI and the Rust workspace in codex-rs/.
Install
npm install -g midnight-coderLocal model setup
Use the built-in provider flow to point Midnight Coder at a local model server.
- Open
/provider_conf - Enter an address such as
127.0.0.1:11434 - Midnight Coder probes the endpoint, checks
/api/tagsand/v1/models, and stores the detected provider and model - Use
/modelto pick the model exposed by the server and adjust the reasoning effort for the current run
Useful commands:
/provider_conf
/modelContext control
Midnight Coder keeps session history explicit and bounded.
/context
/mini-model
/resume-type
/new
/clear
/compact/contextsets the maximum context window before auto-compaction/mini-modelsets the model used for context compaction/resume-typesets the compaction strategy/newopens another chat during a conversation/clearstarts a fresh chat/compacttrims history when the conversation gets long
What it includes
- Terminal workflow
- App server integration
- Python SDK
- TypeScript SDK
- Workspace-aware sandbox and approval rules
Support
Your support helps keep Midnight Coder moving forward with new features, bug fixes, documentation, and infrastructure.
- Buy Me a Coffee: https://buymeacoffee.com/midnightcoder
- Pix: 38e0af8d-9f56-45cf-8bc8-688dbea4405a
