bondulance is your personal local coding assistant that avoids having a stronk.
- JavaScript 69.3%
- CSS 18.5%
- HTML 12.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| agents | ||
| click-dummy | ||
| docs | ||
| .gitignore | ||
| AGENTS.md | ||
| README.md | ||
Submodules
-
GUI
- Tauri
- Frontend: HTMX + Mermaid + MathJAX + Markdown renderer
- Chat log (tabbed for sub-agents with indicator if an agent is running, finished or waiting for user input)
- File tree with added functionality per sandbox and one for the main checkout:
- Git viewer (commit list, diffs, git lanes, only main: commit, push, pull, branch creation)
- File viewer (Syntax highlighed, Markdown rendered, images, etc.)
- Settings page
- Background service state/management
- Proxy allow/deny list
- Session management
-
Web
- Same interface as in GUI but available remotely via web-browser
-
TUI
- Probably ratatui, same functionality as GUI without image support
-
CLI
- Actions to run TUI and GUI
- Action to send text to a running session (e.g. Command output) either directly or as a code block into the user's input field
- Doctor action to validate config and dependencies as well as LLM connectivitiy
-
Agentloop
- Runs the chat loop
- Compaction
- Sub-Agent spawning
- Keeps the chat model (includes bondulance status messages)
- Runs tool-calls after running through the fixer
- Manages the Sandbox
- Triggers git-mergeback
- Hooks
- On file access insert rule
- On agent run start/end
- On sub-agent spawn/end
- On session start
- Pre tool use
- Post tool use
-
Fixer
- Fix bad shell calls
- head and tail -> translate to tool parameters
- timeout -> translate to tool parameters
- split chained calls
- cd -> translate to tool parameters
- sed -> translate to file read or regex replace
- grep -> translate to grep tool
- Fix bad behaviour
- sed, awk or python to edit files -> reject, guide to tool use
- git -> reject, guide to tool use
- nohup or & for backgrounding -> reject, guide to service runner
- build. lint, fmt -> reject, guide to corresponding tool
- test -> reject, guide to test tool
- inline scripting (python, node, shell, perl) -> reject, guide to
run_script
- Fix bad shell calls
-
Git
- Git client that merges branches or worktrees
- Merge conflict resolution
- Allow users to commit, push, pull, create branches and merge
-
Editor/Viewer
- Show syntax highlighted code
- Show diffs
- Show images
- Show markdown in rendered state including Mermaid and MathJax
-
Source tree
- Show tree of project directory
- Filters:
- Only changed/untracked/deleted (git repo status view)
- Only show files not in
.gitignore - Show non-hidden files
- Show all files
-
Persistence
- Session list (tree, sessions can have sub-agents)
- Serialization of all files needed (including spill files which have to be fetched from the sandbox)
- Session reload from serialized state
-
Tools
- Shell tool runs output through
tokf
- Shell tool runs output through
-
Skill, Agent, Hooks and Rules parser
- Parses skill and agent files
- Maintains a registry
- Replaces relative paths in skill files to match the sandbox env so a load performed by the model will work
Tools
Directory (runs inside sandbox):
list_directory: List files and sub-directoriespath: defaults to workspace directory, path to listrecursive: defaultfalse, list recursive
create_directory: Create a new directorypath: path to createwith_parents: defaultfalse, create missing parent directoriesexisting_ok: defaultfalse, no error when path already exists
copy_directory: Copy an existing directorysource_path: path to copydestination_path: destinationrecursive: defaulttrue, also copy sub-directories recursively
delete_directory: Remove a directorypath: path to deleterecursive: defaultfalse, also delete all files and sub-directoriesnon_existing_ok: defaultfalse, removal of non-existing path does not return error
move_directory: Move or rename a directorysource_path: Directory to move or renamedestination_path: Destination or new name
File (runs inside sandbox):
read_file: Read file content, in multi-modal context it reads all supported types.path: Path to the filehead_lines: optional, number of lines to read from the start of the filetail_lines: optional, number of lines to read from the end of the filestart_line: optional, defaults to 1 when nohead_linesortail_lineswere specified, invalid if head or tail requested, first line to readend_line: optional, invalid if head or tail requested, last line to readnum_lines: optional, invalid if head or tail requested orend_lineis set, number of lines to read fromstart_lineline_numbers: defaultfalse, add line numbers at start of each line
write_file: Create a new file or overwrite a filepath: Path to the fileoverwrite: defaultfalse, overwrite the file if it existscontent: content to write to the file, empty string is allowed here to truncate a file
edit_file: Edit a file by replacing a chunk of lines or a stringpath: Path to the filestart_line: First line to replace or search for the stringend_line: Last line to replace or search for the stringneedle: optional, search string to replace, use in combination withreplacementreplacement: optional, use in combination withneedleto replace a stringcontent: When not searching for aneedlethis content replaces the range ofstart_linetoend_line
copy_file: Copy a filesource_path: Path to the file to copydestination_path: Destination of the copyoverwrite: defaultfalse, overwrite the file at the destination if it exists
delete_file: Delete a filepath: Path to the filenon_existing_ok: defaultfalse, removal of non-existing path does not return error
move_file: Move or rename a filesource_path: Path to the file to movedestination_path: Destination of the moveoverwrite: defaultfalse, overwrite the file at the destination if it exists
apply_patch: Apply a patch to a filepath: Path to the filepatch: The patch to apply
diff: Create a diff of two filesa: Path to first fileb: Path to second file to compareato
Search (runs inside sandbox):
find: Find a directory or file by name, extension or glob-patternpath: defaults to workspace, path to start inname: optional, name to search, may contain simple wildcards like*and?extension: optional, extension to searchglob: optional, glob pattern to search
grep: Find files by their content or search a single file for a string or regexpath: defaults to workspace, path to start in, may be a file then only this file is searchedextension: optional, only search in files with this file extensionrecursive: defaults totrue, searchpathand all sub-directoriesregex: optional, list of regex patterns to search for, either single string or array of stringsstring: optional, list of strings to search for, either single string or an arraycontext_lines: defaults to0, lines of context before and after the found placecontext_before: defaults tocontext_lines, lines of context before the found placecontext_after: defaults tocontext_lines, lines of context after the found place
Git (runs outside sandbox):
gitcommand: the part aftergitas if you're writing a shell command
Shell (runs inside sandbox):
shell: Run a command inside the sandboxcommand: The command to runtimeout: defaults to 60 seconds, timeout after which the command is killedhead_lines: optional, only return the first n lines of the outputtail_lines: optional, only return the last n lines of the outputgrep_string: optional, filter output lines to only those containing this stringgrep_regex: optional, filter the output lines by this regexspill: optional, set totrueto re-direct the output to a temporary file instead of returning it in the response; In this case only the exit code and the filename are returned.
run_script: Run a one-time script in a defined scripting languagelanguage: scripting language to use (e.g.javascript,python,shell,perl)script: the script code to runspill: optional, set totrueto re-direct the output to a temporary file instead of returning it in the response; In this case only the exit code and the filename are returned.
start_service: Start a previously registered serviceid: service id to start
stop_service: Stop a previously registered and running serviceid: service id to stopsignal: defaults toSIGTERM, signal to send (e.g.SIGTERM,SIGHUP,SIGKILL)
lint: Run the configured linterpath: optional, defaults to complete workspace, directory or file to lint
auto_format: Run the configured auto-formatterpath: optional, defaults to complete workspace, directory or file to formatdry_run: defaults tofalse, only check formatting, do not reformat anything
check: Run the configured checkerpath: optional, defaults to complete workspace, directory or file to check
build: Compile/build the project, parameters depend on the test runnertarget: optional, target to buildenvironment: optional, environment to build, probably defaults todevelopordebugextra_paramaeters: optional, extra parameters for the builder
test: Run the test suite, parameters depend on the test runnertype: defaults toall, one ofunit-tests,integration-tests,allname: optional, test name to runpattern: optional, pattern of tests to runpath: optional, path to tests to runextra_parameters: optional, extra parameters for the test runner
Management (runs outside sandbox, affects only bondulance):
list_models: List available models available forspawn_agent, carries capability informationlist_agents: List available agents to be spawned from this run, may be emptyspawn_agent: Spawn a sub-agentagent: optional, defaults to running agent, the name of the agent to spawntitle: title for the sub-agent run, displayed to the userpreload_skill: optional, pre-load a skill into the agent contextpreload_agents_md: defaults totrue, loadAGENTS.mdinto the agent contextmodel: defaults to current model, model to run the agent onprompt: prompt to send to the sub-agent
list_services: List registered services, contains name, status information, registered command line and forwarded port if specifiedregister_service: Register a background service, stdout and stderr are written to a log filename: human readable namecommand: command to run, do not add backgrounding likenohupor&at the endport: optional, port to forward to the outsideauto_start: defaults tofalse, start the service when the sandbox startsauto_restart: defaults tofalse, restart the service when it crashes
service_status: Fetch service status and last 10 log lines of a registered serviceid: service id
delete_serviceUn-register or delete a previously registered background service, service is automatically stopped when it is removed.id: service id
find_tool: search for a tool, if no query is used it lists all mcp serviceskeyword: optional, search by keywordservice: optional, search for a service namesimilarity: optional, search by similarity search
add_todo: Add a todo task, returns its pathpath: optional, set a path to add the task to so it becomes a sub-taskname: name for the todo item (internal, sluggified)title: human readable title
remove_todo: Remove a todo taskpath: path to remove, will remove all sub-tasks
resolve_todo: Resolve a todo taskpath: path to resolve. If the todo is a sub-task its parent will automatically resolve once all sub-tasks are resolved
list_todos: List saved todospath: optional, path to listrecursive: defaults totrue, recursively list tasks and sub-tasks
Network (runs through proxy):
fetch_url: Fetch an URL from the web, goes through the proxy so the fetch may be denied by a rule. In multi-modal context all modalities are supported.url: URL to fetchparse: defaults tofalse, parse the fetched file into a text representation so it may be read by the agent directly. If set tofalsethe bytes are forwarded verbatim if the model can handle them, returns an error for unknown binary files. If parse is set totrueand the model is multi-modal data may be loaded into the context depending on the modality (e.g. images are loaded when vision capability is available)
download_url: Download an URL from the web and store it in a file, goes through the proxy so the fetch may be denied by a rule.url: URL to downloaddestination_path: Path where to store the downloadmax_size: defaults to 5 megabytes, maximum size to accept, returns error message when the file is bigger than this.
search_web: Use the configured search service to run a web-searchquery: search querymax_results: defaults to 5, maxmimum number of results to return
Management inside sandbox:
list_skills: List available skills and their descriptionload_skill: Load a skill by namename: skill to load
activate_mcp: Activate an MCP server discovered byfind_tooland make its tools availablename: Name of the MCP server