Sign up to save tools and stay up to date with the latest in AI
bg
bg
1

Introducing recon - a CLI tool to gather context for LLMs

May 10, 2024 - joshuaclanton.dev
The article discusses the use of Recon, a command-line tool designed to gather context from various sources and feed it to large language models (LLMs) like ChatGPT and Claude Opus. The tool allows users to recursively gather text from files and directories, fetch additional information from URLs, and pipe it all to their AI assistant of choice. It also supports a configuration file for defining named sources and prompts, making it easy to reuse the same sources across multiple queries.

Recon also allows users to define their own custom "Recon agents" to gather text from any source, including Google Sheets, databases, or proprietary APIs. The author plans to improve Recon by adding more built-in recon agents and allowing custom agents to register their own CLI flags. The tool is still in its early stages, but the author finds it time-saving and encourages others to try it out or contribute to its development on GitHub.

Key takeaways:

  • Recon is a command-line tool that gathers context from various sources and feeds it to a large language model as a single, coherent prompt.
  • Recon supports a configuration file that allows you to define named sources and prompts, making it easy to reuse the same sources across multiple queries.
  • Recon also supports defining your own custom 'Recon agents' that can gather text from any source, including Google Sheets, databases, or proprietary APIs.
  • The author plans to improve Recon by adding more built-in recon agents and letting custom agents register their own CLI flags.
View Full Article

Comments (0)

Be the first to comment!