Skip to main content

A set of tools for building AI coders

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

motleycoder-0.1.0.tar.gz (35.3 kB view details)

Uploaded Source

Built Distribution

motleycoder-0.1.0-py3-none-any.whl (47.2 kB view details)

Uploaded Python 3

File details

Details for the file motleycoder-0.1.0.tar.gz.

File metadata

  • Download URL: motleycoder-0.1.0.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0

File hashes

Hashes for motleycoder-0.1.0.tar.gz
Algorithm Hash digest
SHA256 47cf063f1709a631ead427182dedba20af693fe299df1f08cce27431c24d1647
MD5 1610a61441e6f8bd64d930cf88ab77bc
BLAKE2b-256 23fef430101d74854e6e024193251472e6acc6a78c77da1100535195b1d45599

See more details on using hashes here.

File details

Details for the file motleycoder-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: motleycoder-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 47.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.5.0

File hashes

Hashes for motleycoder-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd12d920922f037b5f942d7d4ea7487c9a745dd8d8e59e56d35daf5f0862c669
MD5 72284892674c960255de7f3dbeb1d9dc
BLAKE2b-256 bef60b7986fb8952cb05d354ca317388c4e2efc75a2c47e989d6788c2ba8248c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page