1bcoder 0.1.16__tar.gz → 0.1.18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/1bcoder.egg-info/PKG-INFO +4 -2
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/1bcoder.egg-info/SOURCES.txt +12 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/PKG-INFO +4 -2
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/README.md +3 -1
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/agents/advance.txt +19 -2
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/agents/ask.txt +20 -2
- 1bcoder-0.1.18/_bcoder_data/agents/coder.txt +94 -0
- 1bcoder-0.1.18/_bcoder_data/agents/codex.txt +56 -0
- 1bcoder-0.1.18/_bcoder_data/agents/compact.txt +29 -0
- 1bcoder-0.1.18/_bcoder_data/agents/concepts.txt +37 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/agents/fill.txt +16 -2
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/agents/planning.txt +19 -2
- 1bcoder-0.1.18/_bcoder_data/agents/scan.txt +50 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/agents/sqlite.txt +19 -2
- 1bcoder-0.1.18/_bcoder_data/agents/terminator.txt +88 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/agents/websearch.txt +18 -2
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/aliases.txt +9 -0
- 1bcoder-0.1.18/_bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc +0 -0
- 1bcoder-0.1.18/_bcoder_data/flows/__pycache__/rag.cpython-311.pyc +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/deepagent_md.py +604 -74
- 1bcoder-0.1.18/_bcoder_data/flows/rag.py +243 -0
- 1bcoder-0.1.18/_bcoder_data/flows/scan.py +293 -0
- 1bcoder-0.1.18/_bcoder_data/flows/webanalys.py +167 -0
- 1bcoder-0.1.18/_bcoder_data/flows/webcrawl.py +660 -0
- 1bcoder-0.1.18/_bcoder_data/flows/webindex.py +181 -0
- 1bcoder-0.1.18/_bcoder_data/proc/autobkup.py +49 -0
- 1bcoder-0.1.18/_bcoder_data/proc/autocheck.py +263 -0
- 1bcoder-0.1.18/_bcoder_data/proc/ladder.py +444 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/chat.py +1076 -71
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/pyproject.toml +1 -1
- 1bcoder-0.1.16/_bcoder_data/agents/compact.txt +0 -15
- 1bcoder-0.1.16/_bcoder_data/agents/concepts.txt +0 -21
- 1bcoder-0.1.16/_bcoder_data/agents/scan.txt +0 -31
- 1bcoder-0.1.16/_bcoder_data/flows/webcrawl.py +0 -369
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/1bcoder.egg-info/dependency_links.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/1bcoder.egg-info/entry_points.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/1bcoder.egg-info/requires.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/1bcoder.egg-info/top_level.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/LICENSE +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/__init__.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/doc/FLOWS.md +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/doc/MCP.md +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/doc/OLLAMA_SERVER_PARAM.md +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/doc/PARAM.md +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/doc/PROC.md +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/doc/TRANSLATE.md +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/__pycache__/webcrawl.cpython-311.pyc +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/commit_message.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/compress.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/deepagent.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/deobfuscate.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/external_help.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/grounding.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/obfuscate.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/py_error_trace.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/simargl_files.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/visual_search.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/flows/webask.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/map.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/action-required.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/add-save.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/assist.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/collect-files.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/ctx_cut.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/ctx_expand.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/extract-code.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/extract-files.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/extract-list.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/grounding-check.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/md.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/mdx.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/pattern-gate.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/regexp-extract.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/rude_words.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/scan-save.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/secret_check.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/sql_readonly_guard.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/proc/tempctx-cut.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/profiles.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/prompts/analysis.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/prompts/sumarise.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/prompts.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/AddFunction.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/AskProject.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/CheckRequirements.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/DockerMySQL.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/DockerNginx.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/DockerPython.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/DockerStack.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/DuckDuckGoInstant.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/EnvTemplate.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/Explain.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/ExploreProjectStructure.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/GitIgnorePython.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/MySQLDump.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/NewScript.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/PipFreeze.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/PyPI.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/Refactor.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/RunAndFix.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/SQLiteSchema.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/Translate.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/WikiPage.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/WikiSearch.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/auto-bkup.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/edit-control.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/parallel_call.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/personal/content/create-regular-content.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/personal/content/plan.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/personal/test/collect-data-from-test-environment.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/plan.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/remote/create-content-on-remote-server.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/set_ctx.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/simargl-cli_index_files.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/simargl-cli_index_units.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/simargl-cli_search.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/team-map-worker.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/team-search-worker.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/team-summarize.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/team-tree-worker.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/scripts/test.txt +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/_bcoder_data/teams/code-analysis.yaml +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/map_index.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/map_query.py +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/setup.cfg +0 -0
- {1bcoder-0.1.16 → 1bcoder-0.1.18}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: 1bcoder
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.18
|
|
4
4
|
Summary: AI coding assistant agent for 1B–7B local models (Ollama, LMStudio, llama.cpp). Terminal REPL with file editing, project map, agents, scripts, and parallel multi-model queries.
|
|
5
5
|
Project-URL: Homepage, https://github.com/szholobetsky/1bcoder
|
|
6
6
|
Project-URL: Repository, https://github.com/szholobetsky/1bcoder
|
|
@@ -1828,7 +1828,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1828
1828
|
|
|
1829
1829
|
## Part of the SIMARGL toolkit
|
|
1830
1830
|
|
|
1831
|
-
1bcoder is one of
|
|
1831
|
+
1bcoder is one of six tools that together form an **intellectual development support system**:
|
|
1832
1832
|
|
|
1833
1833
|
| Tool | Role |
|
|
1834
1834
|
|---|---|
|
|
@@ -1837,12 +1837,14 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1837
1837
|
| **[1bcoder](https://github.com/szholobetsky/1bcoder)** | AI coding assistant for small local models — surgical context management, agents, parallel inference, proc scripts |
|
|
1838
1838
|
| **[yasna](https://github.com/szholobetsky/yasna)** | Session memory — indexes conversations from all AI agents so you can find what was discussed, when, and where |
|
|
1839
1839
|
| **[radogast](https://github.com/szholobetsky/radogast)** | Context drift monitor — measures how far an AI agent's conversation has drifted from the original task |
|
|
1840
|
+
| **[vyrii](https://github.com/szholobetsky/vyrii)** | Local AI web UI — chat, translate, web research, RAG, and file management via Gradio; powered by Ollama or any OpenAI-compatible backend |
|
|
1840
1841
|
|
|
1841
1842
|
- **simargl** answers: *what code is related to this task?*
|
|
1842
1843
|
- **svitovyd** answers: *how is the code structured and what depends on what?*
|
|
1843
1844
|
- **1bcoder** answers: *how do I work with local models efficiently?*
|
|
1844
1845
|
- **yasna** answers: *where did I already discuss this?*
|
|
1845
1846
|
- **radogast** answers: *is the AI agent still on track toward the goal?*
|
|
1847
|
+
- **vyrii** answers: *how do I access all of this through a browser?*
|
|
1846
1848
|
|
|
1847
1849
|
Together they cover the full development loop: understand the codebase, find relevant history, work with AI locally, remember what was decided, and verify the context stays on target.
|
|
1848
1850
|
|
|
@@ -17,12 +17,15 @@ _bcoder_data/profiles.txt
|
|
|
17
17
|
_bcoder_data/prompts.txt
|
|
18
18
|
_bcoder_data/agents/advance.txt
|
|
19
19
|
_bcoder_data/agents/ask.txt
|
|
20
|
+
_bcoder_data/agents/coder.txt
|
|
21
|
+
_bcoder_data/agents/codex.txt
|
|
20
22
|
_bcoder_data/agents/compact.txt
|
|
21
23
|
_bcoder_data/agents/concepts.txt
|
|
22
24
|
_bcoder_data/agents/fill.txt
|
|
23
25
|
_bcoder_data/agents/planning.txt
|
|
24
26
|
_bcoder_data/agents/scan.txt
|
|
25
27
|
_bcoder_data/agents/sqlite.txt
|
|
28
|
+
_bcoder_data/agents/terminator.txt
|
|
26
29
|
_bcoder_data/agents/websearch.txt
|
|
27
30
|
_bcoder_data/doc/FLOWS.md
|
|
28
31
|
_bcoder_data/doc/MCP.md
|
|
@@ -39,15 +42,23 @@ _bcoder_data/flows/external_help.py
|
|
|
39
42
|
_bcoder_data/flows/grounding.py
|
|
40
43
|
_bcoder_data/flows/obfuscate.py
|
|
41
44
|
_bcoder_data/flows/py_error_trace.py
|
|
45
|
+
_bcoder_data/flows/rag.py
|
|
46
|
+
_bcoder_data/flows/scan.py
|
|
42
47
|
_bcoder_data/flows/simargl_files.py
|
|
43
48
|
_bcoder_data/flows/visual_search.py
|
|
49
|
+
_bcoder_data/flows/webanalys.py
|
|
44
50
|
_bcoder_data/flows/webask.py
|
|
45
51
|
_bcoder_data/flows/webcrawl.py
|
|
52
|
+
_bcoder_data/flows/webindex.py
|
|
46
53
|
_bcoder_data/flows/__pycache__/commit_message.cpython-311.pyc
|
|
54
|
+
_bcoder_data/flows/__pycache__/deepagent_md.cpython-311.pyc
|
|
55
|
+
_bcoder_data/flows/__pycache__/rag.cpython-311.pyc
|
|
47
56
|
_bcoder_data/flows/__pycache__/webcrawl.cpython-311.pyc
|
|
48
57
|
_bcoder_data/proc/action-required.py
|
|
49
58
|
_bcoder_data/proc/add-save.py
|
|
50
59
|
_bcoder_data/proc/assist.py
|
|
60
|
+
_bcoder_data/proc/autobkup.py
|
|
61
|
+
_bcoder_data/proc/autocheck.py
|
|
51
62
|
_bcoder_data/proc/collect-files.py
|
|
52
63
|
_bcoder_data/proc/ctx_cut.py
|
|
53
64
|
_bcoder_data/proc/ctx_expand.py
|
|
@@ -55,6 +66,7 @@ _bcoder_data/proc/extract-code.py
|
|
|
55
66
|
_bcoder_data/proc/extract-files.py
|
|
56
67
|
_bcoder_data/proc/extract-list.py
|
|
57
68
|
_bcoder_data/proc/grounding-check.py
|
|
69
|
+
_bcoder_data/proc/ladder.py
|
|
58
70
|
_bcoder_data/proc/md.py
|
|
59
71
|
_bcoder_data/proc/mdx.py
|
|
60
72
|
_bcoder_data/proc/pattern-gate.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: 1bcoder
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.18
|
|
4
4
|
Summary: AI coding assistant agent for 1B–7B local models (Ollama, LMStudio, llama.cpp). Terminal REPL with file editing, project map, agents, scripts, and parallel multi-model queries.
|
|
5
5
|
Project-URL: Homepage, https://github.com/szholobetsky/1bcoder
|
|
6
6
|
Project-URL: Repository, https://github.com/szholobetsky/1bcoder
|
|
@@ -1828,7 +1828,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1828
1828
|
|
|
1829
1829
|
## Part of the SIMARGL toolkit
|
|
1830
1830
|
|
|
1831
|
-
1bcoder is one of
|
|
1831
|
+
1bcoder is one of six tools that together form an **intellectual development support system**:
|
|
1832
1832
|
|
|
1833
1833
|
| Tool | Role |
|
|
1834
1834
|
|---|---|
|
|
@@ -1837,12 +1837,14 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1837
1837
|
| **[1bcoder](https://github.com/szholobetsky/1bcoder)** | AI coding assistant for small local models — surgical context management, agents, parallel inference, proc scripts |
|
|
1838
1838
|
| **[yasna](https://github.com/szholobetsky/yasna)** | Session memory — indexes conversations from all AI agents so you can find what was discussed, when, and where |
|
|
1839
1839
|
| **[radogast](https://github.com/szholobetsky/radogast)** | Context drift monitor — measures how far an AI agent's conversation has drifted from the original task |
|
|
1840
|
+
| **[vyrii](https://github.com/szholobetsky/vyrii)** | Local AI web UI — chat, translate, web research, RAG, and file management via Gradio; powered by Ollama or any OpenAI-compatible backend |
|
|
1840
1841
|
|
|
1841
1842
|
- **simargl** answers: *what code is related to this task?*
|
|
1842
1843
|
- **svitovyd** answers: *how is the code structured and what depends on what?*
|
|
1843
1844
|
- **1bcoder** answers: *how do I work with local models efficiently?*
|
|
1844
1845
|
- **yasna** answers: *where did I already discuss this?*
|
|
1845
1846
|
- **radogast** answers: *is the AI agent still on track toward the goal?*
|
|
1847
|
+
- **vyrii** answers: *how do I access all of this through a browser?*
|
|
1846
1848
|
|
|
1847
1849
|
Together they cover the full development loop: understand the codebase, find relevant history, work with AI locally, remember what was decided, and verify the context stays on target.
|
|
1848
1850
|
|
|
@@ -1813,7 +1813,7 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1813
1813
|
|
|
1814
1814
|
## Part of the SIMARGL toolkit
|
|
1815
1815
|
|
|
1816
|
-
1bcoder is one of
|
|
1816
|
+
1bcoder is one of six tools that together form an **intellectual development support system**:
|
|
1817
1817
|
|
|
1818
1818
|
| Tool | Role |
|
|
1819
1819
|
|---|---|
|
|
@@ -1822,12 +1822,14 @@ For human input, the corrected command is shown with `[fix?]` and you are asked
|
|
|
1822
1822
|
| **[1bcoder](https://github.com/szholobetsky/1bcoder)** | AI coding assistant for small local models — surgical context management, agents, parallel inference, proc scripts |
|
|
1823
1823
|
| **[yasna](https://github.com/szholobetsky/yasna)** | Session memory — indexes conversations from all AI agents so you can find what was discussed, when, and where |
|
|
1824
1824
|
| **[radogast](https://github.com/szholobetsky/radogast)** | Context drift monitor — measures how far an AI agent's conversation has drifted from the original task |
|
|
1825
|
+
| **[vyrii](https://github.com/szholobetsky/vyrii)** | Local AI web UI — chat, translate, web research, RAG, and file management via Gradio; powered by Ollama or any OpenAI-compatible backend |
|
|
1825
1826
|
|
|
1826
1827
|
- **simargl** answers: *what code is related to this task?*
|
|
1827
1828
|
- **svitovyd** answers: *how is the code structured and what depends on what?*
|
|
1828
1829
|
- **1bcoder** answers: *how do I work with local models efficiently?*
|
|
1829
1830
|
- **yasna** answers: *where did I already discuss this?*
|
|
1830
1831
|
- **radogast** answers: *is the AI agent still on track toward the goal?*
|
|
1832
|
+
- **vyrii** answers: *how do I access all of this through a browser?*
|
|
1831
1833
|
|
|
1832
1834
|
Together they cover the full development loop: understand the codebase, find relevant history, work with AI locally, remember what was decided, and verify the context stays on target.
|
|
1833
1835
|
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
# Autonomous coding agent with full toolset — for larger models (7B+)
|
|
2
|
-
#
|
|
1
|
+
# Autonomous coding agent with full toolset — for larger models (7B+).
|
|
2
|
+
# auto_exec=false means every ACTION is shown for manual confirmation before running.
|
|
3
|
+
# Has bkup tool: model can save backups itself before destructive edits.
|
|
4
|
+
# Supports all edit strategies: save (full replace), patch (search/replace), fim (targeted fix), insert (line).
|
|
5
|
+
# Use /readln before editing to get line numbers for patch/fim/insert.
|
|
6
|
+
# Pair with gates: /proc gate on action-required + /proc gate on autocheck pytest
|
|
7
|
+
# See also: /coder (auto_exec=true, for 1B-3B), /ask (read-only research)
|
|
8
|
+
#
|
|
9
|
+
# Usage:
|
|
10
|
+
# /advance <task>
|
|
11
|
+
# /agent advance <task>
|
|
3
12
|
description = Autonomous coding agent with full toolset. Best for 7B+ models.
|
|
4
13
|
max_turns = 10
|
|
5
14
|
auto_exec = false
|
|
@@ -45,3 +54,11 @@ tools =
|
|
|
45
54
|
tree
|
|
46
55
|
find
|
|
47
56
|
map
|
|
57
|
+
|
|
58
|
+
examples =
|
|
59
|
+
/advance add input validation to the login endpoint in auth.py
|
|
60
|
+
/advance fix the KeyError crash in task_processor.py line 142
|
|
61
|
+
/advance add a --dry-run flag to the CLI in main.py
|
|
62
|
+
/advance write unit tests for the calculate_score function in scorer.py
|
|
63
|
+
/advance refactor the UserRepository class to use dependency injection
|
|
64
|
+
/advance extract the retry logic in api_client.py into a reusable decorator
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
# Read-only research agent for 4B models
|
|
2
|
-
#
|
|
1
|
+
# Read-only research agent for 4B+ models.
|
|
2
|
+
# Explores the project with tree/find/map tools — never edits anything.
|
|
3
|
+
# Best for: "where is X defined?", "how does Y work?", "what files handle Z?"
|
|
4
|
+
# /map keyword extracts real code identifiers from plain English phrases.
|
|
5
|
+
# /map find \keyword shows usages; /map find keyword shows definitions; /map find -keyword shows callers.
|
|
6
|
+
# /map trace keyword1 keyword2 shows the call path between two identifiers.
|
|
7
|
+
# Use /ask before /advance when you need to understand the codebase first.
|
|
8
|
+
# See also: /planning (saves a plan file), /advance (read + write)
|
|
9
|
+
#
|
|
10
|
+
# Usage:
|
|
11
|
+
# /ask <question>
|
|
12
|
+
# /agent ask <question>
|
|
3
13
|
description = Read-only research agent. Explores with tree/find/map, never edits files.
|
|
4
14
|
max_turns = 15
|
|
5
15
|
auto_exec = true
|
|
@@ -39,3 +49,11 @@ aliases =
|
|
|
39
49
|
/kw = /map keyword extract {{args}} -f -c
|
|
40
50
|
/sym = /map find {{args}}
|
|
41
51
|
/grep = /find {{args}} -c
|
|
52
|
+
|
|
53
|
+
examples =
|
|
54
|
+
/ask where is the database connection initialized?
|
|
55
|
+
/ask how does the authentication middleware work?
|
|
56
|
+
/ask which files import the UserService class?
|
|
57
|
+
/ask what does the process_task function do and where is it called?
|
|
58
|
+
/ask list all API endpoints and their HTTP methods
|
|
59
|
+
/ask find all TODO comments in the project
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Coding agent optimised for small models (1B–3B).
|
|
2
|
+
# Runs a write → run → fix loop until tests pass or task is complete.
|
|
3
|
+
# Has bkup hooks so every file edit is backed up automatically.
|
|
4
|
+
# Pair with: /proc gate on action-required (pre-action check)
|
|
5
|
+
# /proc gate postaction on autocheck cmd:"pytest" ok:exit0 (post-action check)
|
|
6
|
+
#
|
|
7
|
+
# See also: /advance (full toolset, 7B+), /ask (read-only research)
|
|
8
|
+
description = Coding agent for 1B–3B models. write → run → fix loop with autocheck gate.
|
|
9
|
+
max_turns = 20
|
|
10
|
+
auto_exec = true
|
|
11
|
+
auto_apply = true
|
|
12
|
+
autoexit = true
|
|
13
|
+
|
|
14
|
+
system =
|
|
15
|
+
You are a coding assistant. Complete the task using the available tools.
|
|
16
|
+
To call a tool, write ACTION: on its own line followed by the command.
|
|
17
|
+
One ACTION per turn. Wait for [tool result] before the next ACTION.
|
|
18
|
+
When the task is complete, write a short summary and end with: task is done.
|
|
19
|
+
|
|
20
|
+
How to write files:
|
|
21
|
+
- To CREATE or fully REPLACE a file: write the full ```code ``` block, then ACTION: /save <file> code
|
|
22
|
+
("code" means: extract the ``` ``` block written above in this reply)
|
|
23
|
+
|
|
24
|
+
code block format:
|
|
25
|
+
ACTION: /save file.py code
|
|
26
|
+
```
|
|
27
|
+
def method(var1):
|
|
28
|
+
variable = var1
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
- To FIX part of a file: ACTION: /fim <file> <line or start-end> description of the fix
|
|
32
|
+
e.g. ACTION: /fim myfile.py 5 fix the division by zero
|
|
33
|
+
ACTION: /fim myfile.py 3-7 fix the loop condition
|
|
34
|
+
ACTION: /fim myfile.py 1-5 fix indentation errors
|
|
35
|
+
- To MODIFY part of a file: write a SEARCH/REPLACE block, then ACTION: /patch <file> code
|
|
36
|
+
|
|
37
|
+
ACTION: /patch file.my code
|
|
38
|
+
SEARCH/REPLACE block format:
|
|
39
|
+
<<<<<<< SEARCH
|
|
40
|
+
exact lines to replace
|
|
41
|
+
=======
|
|
42
|
+
new lines
|
|
43
|
+
>>>>>>> REPLACE
|
|
44
|
+
|
|
45
|
+
or without SERARCH/REPLACE block
|
|
46
|
+
ACTION: /patch myfile.py 10-20 fix the division by zero
|
|
47
|
+
|
|
48
|
+
- To INSERT code at a line: write the ```code ``` block, then ACTION: /insert <file> <line> code
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
code block format:
|
|
52
|
+
ACTION: /insert file.py 10 code
|
|
53
|
+
```
|
|
54
|
+
def method():
|
|
55
|
+
variable = var1
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
or for one-liner ACTION: /insert file.py 10 var2 = var1
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
Rules:
|
|
62
|
+
- Before editing: ACTION: /readln <file> (shows line numbers needed for /fim)
|
|
63
|
+
- After editing: ACTION: /run <command> (test the result)
|
|
64
|
+
- Write clean code. Do not add comments unless they are part of the task requirement.
|
|
65
|
+
- If you get a FAIL message — read it carefully, fix the issue, and try again.
|
|
66
|
+
- Do not declare done until the task requirement is met.
|
|
67
|
+
|
|
68
|
+
Available tools:
|
|
69
|
+
{tool_list}
|
|
70
|
+
|
|
71
|
+
tools =
|
|
72
|
+
read
|
|
73
|
+
readln
|
|
74
|
+
tree
|
|
75
|
+
find
|
|
76
|
+
save
|
|
77
|
+
fim
|
|
78
|
+
patch
|
|
79
|
+
insert
|
|
80
|
+
run
|
|
81
|
+
diff
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
hooks =
|
|
85
|
+
before save autobkup
|
|
86
|
+
before patch autobkup
|
|
87
|
+
before fim autobkup
|
|
88
|
+
|
|
89
|
+
examples =
|
|
90
|
+
/coder write stats.py with word_freq(text) and top_n(freq, n) functions
|
|
91
|
+
/coder write test_stats.py with 3 tests and run pytest
|
|
92
|
+
/coder fix the failing test in test_auth.py
|
|
93
|
+
/coder refactor db.py to use a connection pool
|
|
94
|
+
/coder add logging to all functions in utils.py
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Minimal coding agent — same as coder but only three commands, for 1B models.
|
|
2
|
+
# No /fim, no /insert, no /run. Use /save_code and /patch_code (aliases, no "code" keyword confusion).
|
|
3
|
+
# Pair with: /proc gate on action-required
|
|
4
|
+
# /proc gate postaction on autocheck cmd:"python calc.py" ok:exit0
|
|
5
|
+
#
|
|
6
|
+
# See also: /coder (full toolset)
|
|
7
|
+
description = Minimal coding agent for 1B models. Three commands: read, save_code, patch_code.
|
|
8
|
+
max_turns = 20
|
|
9
|
+
auto_exec = false
|
|
10
|
+
auto_apply = true
|
|
11
|
+
autoexit = true
|
|
12
|
+
|
|
13
|
+
system =
|
|
14
|
+
You are a coding assistant. Complete the task using the available tools.
|
|
15
|
+
To call a tool, write ACTION: on its own line followed by the command.
|
|
16
|
+
One ACTION per turn. Wait for [tool result] before the next ACTION.
|
|
17
|
+
When the task is complete, write a short summary and end with: task is done.
|
|
18
|
+
|
|
19
|
+
How to write files:
|
|
20
|
+
- To CREATE or fully REPLACE a file: write the full ```code ``` block, then ACTION: /save_code <file>
|
|
21
|
+
|
|
22
|
+
code block format:
|
|
23
|
+
ACTION: /save_code file.py
|
|
24
|
+
```
|
|
25
|
+
def method(var1):
|
|
26
|
+
variable = var1
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
- To MODIFY part of a file: write a SEARCH/REPLACE block, then ACTION: /patch_code <file>
|
|
31
|
+
|
|
32
|
+
SEARCH/REPLACE block format:
|
|
33
|
+
ACTION: /patch_code file.py
|
|
34
|
+
<<<<<<< SEARCH
|
|
35
|
+
exact lines to replace
|
|
36
|
+
=======
|
|
37
|
+
new lines
|
|
38
|
+
>>>>>>> REPLACE
|
|
39
|
+
|
|
40
|
+
Rules:
|
|
41
|
+
- Before editing: ACTION: /read <file>
|
|
42
|
+
- Write clean code. Do not add comments unless they are part of the task requirement.
|
|
43
|
+
- If you get a FAIL message — read it carefully, fix the issue, and try again.
|
|
44
|
+
- Do not declare done until the task requirement is met.
|
|
45
|
+
|
|
46
|
+
Available tools:
|
|
47
|
+
{tool_list}
|
|
48
|
+
|
|
49
|
+
tools =
|
|
50
|
+
read
|
|
51
|
+
|
|
52
|
+
examples =
|
|
53
|
+
/codex fix the indentation error in calc.py
|
|
54
|
+
/codex rewrite divide() to return None on division by zero
|
|
55
|
+
/codex add a main() function to utils.py
|
|
56
|
+
/codex fix the failing test in test_calc.py
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Compact agent — reads a file in one shot and produces a themed summary.
|
|
2
|
+
# Single-turn, no tools — receives file content as a plan step and writes a summary.
|
|
3
|
+
# Automatically called by /scan when scanning finishes (on_done hook).
|
|
4
|
+
# Also useful standalone: summarize any text file around a specific focus theme.
|
|
5
|
+
# Output goes to the conversation — pipe to /save or /proc if you need it persisted.
|
|
6
|
+
# max_turns=1 is intentional — no iteration, one focused response only.
|
|
7
|
+
#
|
|
8
|
+
# Usage:
|
|
9
|
+
# /compact <theme> file: <file>
|
|
10
|
+
# /agent compact <theme> file: <file>
|
|
11
|
+
description = Reads a file and produces a focused summary based on a theme. One turn, no tools.
|
|
12
|
+
max_turns = 1
|
|
13
|
+
auto_exec = true
|
|
14
|
+
auto_apply = true
|
|
15
|
+
|
|
16
|
+
tools =
|
|
17
|
+
|
|
18
|
+
system =
|
|
19
|
+
You are a summarizer. You will receive the content of a file as a plan step.
|
|
20
|
+
Write a concise, well-structured summary focused on: {{theme}}
|
|
21
|
+
Highlight the most important points. Remove duplicates and noise.
|
|
22
|
+
Output plain text only. No ACTION, no preamble.
|
|
23
|
+
|
|
24
|
+
examples =
|
|
25
|
+
/compact authentication flow file: auth_notes.txt
|
|
26
|
+
/compact error handling patterns file: scan_result.txt
|
|
27
|
+
/compact database schema and relationships file: schema_dump.txt
|
|
28
|
+
/compact API endpoints and parameters file: openapi_raw.txt
|
|
29
|
+
/compact performance bottlenecks file: profiling_output.txt
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Conceptual explorer — builds associative chains between abstract concepts.
|
|
2
|
+
# Each concept in plan: becomes one step; agent chains them toward the target.
|
|
3
|
+
# For each step: lists 3-5 associations, picks the most relevant, explains the link, passes forward.
|
|
4
|
+
# No tools — pure reasoning, no file access.
|
|
5
|
+
# Best for: bridging theoretical ideas to implementation concepts, cross-domain metaphors.
|
|
6
|
+
# The target is the destination; plan: concepts are the waypoints (comma-separated).
|
|
7
|
+
# Use quoted targets for multi-word ideas: /concepts "event sourcing" plan: ...
|
|
8
|
+
#
|
|
9
|
+
# Usage:
|
|
10
|
+
# /concepts <target> plan: concept1, concept2, concept3
|
|
11
|
+
# /concepts "<multi word target>" plan: concept1, concept2, concept3
|
|
12
|
+
description = Builds conceptual chains from abstract ideas toward a target.
|
|
13
|
+
max_turns = 20
|
|
14
|
+
auto_exec = true
|
|
15
|
+
auto_apply = true
|
|
16
|
+
|
|
17
|
+
tools =
|
|
18
|
+
|
|
19
|
+
system =
|
|
20
|
+
You are a conceptual navigator. You receive a sequence of concepts as steps.
|
|
21
|
+
Your goal is to build an associative chain that leads toward the target idea.
|
|
22
|
+
|
|
23
|
+
For each concept step:
|
|
24
|
+
1. List 3-5 associations — synonyms, structural analogues, functional roles
|
|
25
|
+
2. Select the association most relevant to the target
|
|
26
|
+
3. Explain the connection in one sentence
|
|
27
|
+
4. Pass the selected association forward as input to the next step
|
|
28
|
+
|
|
29
|
+
Be concise. One paragraph per step. No filler.
|
|
30
|
+
|
|
31
|
+
examples =
|
|
32
|
+
/concepts "incidence matrix in code" plan: graph theory, adjacency, dependency, matrix
|
|
33
|
+
/concepts "event sourcing in databases" plan: time, immutability, log, append
|
|
34
|
+
/concepts "symbol grounding in code" plan: semiotics, language, reference, identifier
|
|
35
|
+
/concepts "technical debt as entropy" plan: disorder, complexity, decay, refactoring
|
|
36
|
+
/concepts "microservices as organisms" plan: biology, autonomy, communication, boundaries
|
|
37
|
+
/concepts "compiler as translator" plan: language, grammar, transformation, output
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
# Fill agent — reads current NaN variables and fills them from project context
|
|
2
|
-
#
|
|
1
|
+
# Fill agent — reads current NaN variables and fills them from project context.
|
|
2
|
+
# Runs automatically when session variables are undefined (NaN).
|
|
3
|
+
# First loads .var files (key=value stores) found in the project, then searches code/config.
|
|
4
|
+
# .var file format: first line is "# <description>"; rest are key=value pairs.
|
|
5
|
+
# Only sets a variable if the value was actually found — never guesses.
|
|
6
|
+
# Reports which variables could not be filled at the end.
|
|
7
|
+
# Use /var set <name> =<value> manually if you know the value and want to skip the search.
|
|
8
|
+
# See also: /var get (list all variables), /var load <file> (load a .var file manually)
|
|
9
|
+
#
|
|
10
|
+
# Usage:
|
|
11
|
+
# /fill (fills all NaN variables in the current session)
|
|
12
|
+
# /agent fill (same, explicit agent invocation)
|
|
3
13
|
description = Fill agent. Reads NaN variables, researches the project, sets each value.
|
|
4
14
|
max_turns = 15
|
|
5
15
|
auto_exec = true
|
|
@@ -47,3 +57,7 @@ tools =
|
|
|
47
57
|
read
|
|
48
58
|
tree
|
|
49
59
|
find
|
|
60
|
+
|
|
61
|
+
examples =
|
|
62
|
+
/fill
|
|
63
|
+
/agent fill
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
# Planning agent — explores the project and writes a step-by-step plan to plan.txt
|
|
2
|
-
#
|
|
1
|
+
# Planning agent — explores the project and writes a step-by-step plan to plan.txt.
|
|
2
|
+
# Read-only like /ask — never edits source files.
|
|
3
|
+
# Output format: # Plan: <goal> / numbered steps / ### Summary / ### Example
|
|
4
|
+
# Plan is saved automatically to plan.txt via on_done when the agent finishes.
|
|
5
|
+
# Best for: designing a feature before coding, splitting a large task into steps.
|
|
6
|
+
# After /planning completes, read plan.txt then run /advance or /coder to execute it.
|
|
7
|
+
# See also: /ask (ad-hoc questions, no plan file), /advance (executes the plan)
|
|
8
|
+
#
|
|
9
|
+
# Usage:
|
|
10
|
+
# /plan <goal>
|
|
11
|
+
# /agent planning <goal>
|
|
3
12
|
description = Planning agent. Explores the project, then writes a structured plan saved to plan.txt.
|
|
4
13
|
max_turns = 15
|
|
5
14
|
auto_exec = true
|
|
@@ -52,3 +61,11 @@ aliases =
|
|
|
52
61
|
/kw = /map keyword extract {{args}} -f -c
|
|
53
62
|
/sym = /map find {{args}}
|
|
54
63
|
/grep = /find {{args}} -c
|
|
64
|
+
|
|
65
|
+
examples =
|
|
66
|
+
/plan add JWT authentication to the REST API
|
|
67
|
+
/plan refactor the database layer to use SQLAlchemy ORM
|
|
68
|
+
/plan add pagination to all list endpoints
|
|
69
|
+
/plan write unit tests for the UserService class
|
|
70
|
+
/plan extract the email sending logic into a separate module
|
|
71
|
+
/plan migrate from synchronous to async request handling
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Chunked file scanner — file content is pre-loaded into each plan step.
|
|
2
|
+
# Splits a large file into chunks and has the model extract only theme-relevant content.
|
|
3
|
+
# num_predict=150 keeps each step short; agent_ctx=4000 prevents context overflow on large files.
|
|
4
|
+
# scan-save proc accumulates extracts into scan_file (.1bcoder/scan_result.txt by default).
|
|
5
|
+
# tempctx-cut proc trims context after each step so the window stays clean.
|
|
6
|
+
# on_done automatically calls /compact to produce a final focused summary.
|
|
7
|
+
# -n [N] controls chunk size in lines (default depends on /scan alias configuration).
|
|
8
|
+
# Use this for: log files, large config files, long chat exports, anything too big to read at once.
|
|
9
|
+
# See also: /compact (used at the end), /ask (for code files that fit in context)
|
|
10
|
+
#
|
|
11
|
+
# Usage:
|
|
12
|
+
# /scan <theme> plan: <file>
|
|
13
|
+
# /scan <theme> plan: <file> -n 50 (50-line chunks)
|
|
14
|
+
# /agent scan <theme> plan: <file> -n [N]
|
|
15
|
+
description = Reads a file chunk by chunk and extracts info relevant to a theme.
|
|
16
|
+
max_turns = 40
|
|
17
|
+
auto_exec = true
|
|
18
|
+
auto_apply = true
|
|
19
|
+
|
|
20
|
+
vars =
|
|
21
|
+
theme = {{task}}
|
|
22
|
+
scan_file = .1bcoder/scan_result.txt
|
|
23
|
+
|
|
24
|
+
params =
|
|
25
|
+
num_predict = 150
|
|
26
|
+
agent_ctx = 4000
|
|
27
|
+
|
|
28
|
+
procs =
|
|
29
|
+
scan-save {{scan_file}}
|
|
30
|
+
tempctx-cut
|
|
31
|
+
|
|
32
|
+
on_done = /compact {{theme}} file: {{scan_file}}
|
|
33
|
+
|
|
34
|
+
system =
|
|
35
|
+
You are a document scanner. A large file is fed to you one chunk at a time.
|
|
36
|
+
Each plan step contains actual file content after the [chunk ...] header.
|
|
37
|
+
|
|
38
|
+
For each chunk:
|
|
39
|
+
Write ONLY what is relevant to the theme below. Keep the extract under 80 words.
|
|
40
|
+
If nothing is relevant — write exactly: nothing
|
|
41
|
+
|
|
42
|
+
Theme: {{theme}}
|
|
43
|
+
|
|
44
|
+
examples =
|
|
45
|
+
/scan error messages plan: app.log -n 50
|
|
46
|
+
/scan database queries plan: server.log -n 100
|
|
47
|
+
/scan authentication logic plan: chat.py -n 80
|
|
48
|
+
/scan configuration options plan: config.yaml
|
|
49
|
+
/scan API endpoint definitions plan: openapi.json -n 60
|
|
50
|
+
/scan failing tests plan: pytest_output.txt -n 30
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
# SQLite research agent — SELECT queries only
|
|
2
|
-
#
|
|
1
|
+
# SQLite research agent — SELECT queries only, never modifies data.
|
|
2
|
+
# Workflow: auto-detect db → .schema → SELECT → plain text answer.
|
|
3
|
+
# If <db_file> is "?" or omitted, searches for *.db / *.sqlite / *.sqlite3 in the project.
|
|
4
|
+
# Aliases: /schema <db> runs ".schema"; /query <db> "SQL" runs any SELECT.
|
|
5
|
+
# Wraps SQL in double quotes — do not add extra quotes to the SQL.
|
|
6
|
+
# Retries on error automatically (wrong column name, typo, etc.).
|
|
7
|
+
# sqlite3 must be in PATH; on Windows install from sqlite.org or use scoop/choco.
|
|
8
|
+
#
|
|
9
|
+
# Usage:
|
|
10
|
+
# /sqlite <db_file> <question>
|
|
11
|
+
# /agent sqlite <db_file> <question>
|
|
3
12
|
description = SQLite research agent. Gets schema, writes SELECT queries, answers in plain text.
|
|
4
13
|
max_turns = 8
|
|
5
14
|
auto_exec = true
|
|
@@ -37,3 +46,11 @@ tools =
|
|
|
37
46
|
aliases =
|
|
38
47
|
/schema = /run sqlite3 {{args}} ".schema"
|
|
39
48
|
/query = /run sqlite3 {{args}}
|
|
49
|
+
|
|
50
|
+
examples =
|
|
51
|
+
/sqlite sonar.db how many tasks are there?
|
|
52
|
+
/sqlite sonar.db list the 10 most recently modified files
|
|
53
|
+
/sqlite sonar.db which module has the most associated tasks?
|
|
54
|
+
/sqlite kafka.db show me the task with the most file changes
|
|
55
|
+
/sqlite ? what tables exist in this database?
|
|
56
|
+
/sqlite myapp.db find all users created in the last 7 days
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Supervised coding agent — external ladder supervision for small models (1B-3B).
|
|
2
|
+
# Implements §3 MVP of AUTOMATICAL_AGENTS_LOGICAL_EXTERNAL_APPROACH.
|
|
3
|
+
#
|
|
4
|
+
# Gate order per turn:
|
|
5
|
+
# gates (pre-action):
|
|
6
|
+
# 1. action-required — model must have issued an ACTION: call
|
|
7
|
+
# 2. ladder — context must be building toward task terms
|
|
8
|
+
# [ACTIONs executed here]
|
|
9
|
+
# gates_post (post-action):
|
|
10
|
+
# 3. autocheck — verify the change worked (tests pass, output correct)
|
|
11
|
+
#
|
|
12
|
+
# agent_ctx = 8000 keeps context tight — small models lose thread past 4-6K tokens.
|
|
13
|
+
# max_turns = 30 allows up to 15 action+verify cycles before giving up.
|
|
14
|
+
#
|
|
15
|
+
# To add autocheck, add to gates_post section below, e.g.:
|
|
16
|
+
# autocheck cmd:"pytest" ok:exit0
|
|
17
|
+
# autocheck cmd:"python calc.py" keyword:passed
|
|
18
|
+
#
|
|
19
|
+
# See also: /coder (no ladder gate, simpler), /advance (manual confirm, 7B+)
|
|
20
|
+
#
|
|
21
|
+
# Usage:
|
|
22
|
+
# /agent terminator <task description>
|
|
23
|
+
# /terminator <task description>
|
|
24
|
+
description = Supervised agent with external ladder tracking. Gates ensure context builds toward task. Best for 1B-3B.
|
|
25
|
+
max_turns = 30
|
|
26
|
+
auto_exec = true
|
|
27
|
+
auto_apply = true
|
|
28
|
+
|
|
29
|
+
params =
|
|
30
|
+
agent_ctx = 8000
|
|
31
|
+
num_predict = 300
|
|
32
|
+
retry_cap = 3
|
|
33
|
+
|
|
34
|
+
gates =
|
|
35
|
+
action-required
|
|
36
|
+
ladder
|
|
37
|
+
|
|
38
|
+
gates_post =
|
|
39
|
+
|
|
40
|
+
system =
|
|
41
|
+
You are a coding assistant working under external supervision.
|
|
42
|
+
A gate checks your progress after each turn — it verifies that
|
|
43
|
+
your actions are building evidence toward the task goal.
|
|
44
|
+
|
|
45
|
+
To call a tool, write ACTION: on its own line followed by the command.
|
|
46
|
+
One ACTION per turn. Wait for [tool result] before the next ACTION.
|
|
47
|
+
When the task is complete, write a short summary and end with: task is done.
|
|
48
|
+
|
|
49
|
+
How to write files:
|
|
50
|
+
- To CREATE or fully REPLACE a file: write the full code block, then ACTION: /save <file> code
|
|
51
|
+
("code" means: extract the ``` ``` block written above in this reply)
|
|
52
|
+
- To FIX part of a file: ACTION: /fim <file> <line or start-end> description of the fix
|
|
53
|
+
e.g. ACTION: /fim calc.py 5 fix the division by zero
|
|
54
|
+
ACTION: /fim calc.py 3-7 fix the loop condition
|
|
55
|
+
ACTION: /fim calc.py 1-5 fix indentation errors
|
|
56
|
+
- To INSERT code at a line: write the code block, then ACTION: /insert <file> <line> code
|
|
57
|
+
|
|
58
|
+
Rules:
|
|
59
|
+
- /readln a file before editing it (shows line numbers needed for /fim)
|
|
60
|
+
- /run to test after applying a fix
|
|
61
|
+
- If you get a FAIL message — read it carefully, fix the issue, and try again.
|
|
62
|
+
- Do not declare done until the task requirement is met.
|
|
63
|
+
|
|
64
|
+
Available tools:
|
|
65
|
+
{tool_list}
|
|
66
|
+
|
|
67
|
+
tools =
|
|
68
|
+
read
|
|
69
|
+
readln
|
|
70
|
+
tree
|
|
71
|
+
find
|
|
72
|
+
save
|
|
73
|
+
fim
|
|
74
|
+
patch
|
|
75
|
+
insert
|
|
76
|
+
run
|
|
77
|
+
diff
|
|
78
|
+
map index
|
|
79
|
+
map find
|
|
80
|
+
map trace
|
|
81
|
+
map keyword
|
|
82
|
+
|
|
83
|
+
examples =
|
|
84
|
+
/agent terminator write a REST endpoint POST /alerts in alerts.py with validation
|
|
85
|
+
/agent terminator fix the failing test in test_score.py
|
|
86
|
+
/agent terminator implement the Haversine distance function in geo_utils.py
|
|
87
|
+
/agent terminator add JWT authentication to the login endpoint
|
|
88
|
+
/agent terminator write unit tests for UserRepository covering create and find methods
|