Update README.md

This commit is contained in:
2026-01-25 10:17:21 +00:00
parent b92cf9f173
commit 9d74b700e7

View File

@@ -2,7 +2,7 @@
Minimal Claude Code alternative using DSPy RLM! Single Python file, ~305 lines. Minimal Claude Code alternative using DSPy RLM! Single Python file, ~305 lines.
Built using Claude Code, then used to build itself. Shoutout to Rahul for inspiring the boilerplate. Here's his initial [nanocode implementation](https://x.com/rahulgs/status/2010179011033608227).
![screenshot](https://d1pz4mbco29rws.cloudfront.net/public/nanocode.png) ![screenshot](https://d1pz4mbco29rws.cloudfront.net/public/nanocode.png)
@@ -132,14 +132,14 @@ The agent has access to the following tools:
### Interactive CLI ### Interactive CLI
``` ```
──────────────────────────────────────── ────────────────────────────────────────
what files are here? ❯ what files are here?
──────────────────────────────────────── ────────────────────────────────────────
Thinking... ⏺ Thinking...
globfiles(pattern='**/*', path='.') ⏺ globfiles(pattern='**/*', path='.')
I found the following files: ⏺ I found the following files:
- nanocode.py - nanocode.py
- README.md - README.md
- modaic/SKILL.md - modaic/SKILL.md
@@ -173,27 +173,27 @@ print(result.answer)
``` ```
nanocode.py nanocode.py
├── File Operations ├── File Operations
│ ├── read_file() - Read with line numbers │ ├── read_file() - Read with line numbers
│ ├── write_file() - Write content │ ├── write_file() - Write content
│ └── edit_file() - Find & replace │ └── edit_file() - Find & replace
├── Search Operations ├── Search Operations
│ ├── glob_files() - Pattern matching │ ├── glob_files() - Pattern matching
│ └── grep_files() - Regex search │ └── grep_files() - Regex search
├── Shell Operations ├── Shell Operations
│ └── run_bash() - Execute commands │ └── run_bash() - Execute commands
├── DSPy Components ├── DSPy Components
│ ├── CodingAssistant (Signature) │ ├── CodingAssistant (Signature)
│ ├── RLMCodingProgram (PrecompiledProgram) │ ├── RLMCodingProgram (PrecompiledProgram)
│ │ ├── forward() - Run agent on task │ │ ├── forward() - Run agent on task
│ │ ├── get_tools() - Get available tools │ │ ├── get_tools() - Get available tools
│ │ ├── set_tool() - Add/replace a tool │ │ ├── set_tool() - Add/replace a tool
│ │ ├── remove_tool() - Remove a tool │ │ ├── remove_tool() - Remove a tool
│ │ ├── reload_lms() - Recreate LMs from config │ │ ├── reload_lms() - Recreate LMs from config
│ │ └── load_state() - Load state with LM fix │ │ └── load_state() - Load state with LM fix
│ └── RLMReasoningCallback │ └── RLMReasoningCallback
└── Modaic Integration └── Modaic Integration
└── RLMCodingConfig (PrecompiledConfig) └── RLMCodingConfig (PrecompiledConfig)
``` ```
### Key Classes ### Key Classes