Update README.md
This commit is contained in:
56
README.md
56
README.md
@@ -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).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user