Skip to main content

motleycoder: a code editor for AI agents

This is a collection of tools and utilities that help agents write code.

MotleyCoder uses a combination of static code analysis and retrieval techniques for building a map of the codebase and navigating it.

MotleyCoder consists of the following main elements:

  • RepoMap: provides the agent with an initial overview of the parts of the codebase relevant to the current task.
  • InspectEntityTool: a tool given to the agent so it can inspect and navigate the codebase, read the code of specific entities or files, and list directories.
  • FileEditTool: a tool that allows editing code in a way an LLM can comprehend.

Please check out the demo notebook to see how it all works.

MotleyCoder was originally designed for use with our motleycrew library, but its flexible nature allows using it in other contexts.

Credits to aider for the original idea and code of the RepoMap.

Metadata

Release files for motleycoder 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for motleycoder 0.1.0
File Size Uploaded
motleycoder-0.1.0.tar.gz 35.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for motleycoder 0.1.0
File Interpreter ABI Platform
motleycoder-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 82.5 kB

Release files / motleycoder-0.1.0.tar.gz

Download URL motleycoder-0.1.0.tar.gz
Size 35.3 kB
Tags Source
SHA-256 checksum
How to use checksums
47cf063f1709a631ead427182dedba20af693fe299df1f08cce27431c24d1647
BLAKE2b-256 checksum
How to use checksums
23fef430101d74854e6e024193251472e6acc6a78c77da1100535195b1d45599
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0

Release files / motleycoder-0.1.0-py3-none-any.whl

Download URL motleycoder-0.1.0-py3-none-any.whl
Size 47.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd12d920922f037b5f942d7d4ea7487c9a745dd8d8e59e56d35daf5f0862c669
BLAKE2b-256 checksum
How to use checksums
bef60b7986fb8952cb05d354ca317388c4e2efc75a2c47e989d6788c2ba8248c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page