Commit Graph

494 Commits

Author SHA1 Message Date
AI Christianson 868835ece8 Fix logging on interrupt. 2024-12-26 17:28:39 -05:00
AI Christianson 5f0605dbc0 Version bump 2024-12-26 15:21:44 -05:00
user b218bebeec Fix bug where nested agents were not using specified provider. 2024-12-26 07:13:14 -05:00
user 8018bce252 Fix variable reference. 2024-12-26 07:08:28 -05:00
Jose Leon 6c3c89c8a0 FEAT support version arg 2024-12-26 04:20:42 +00:00
Jose Leon 204f44cda0 FEAT add verbose logging 2024-12-26 00:45:57 +00:00
Jose Leon d1982ed773 FIX support Python 3.8 and 3.13 2024-12-25 21:22:59 +00:00
user 82ef0468f2 Version bump 2024-12-24 09:35:55 -05:00
user eb5cc50291 Update list of files for programmer tool. 2024-12-24 09:08:47 -05:00
user f0985ed11c Fix tests. 2024-12-24 08:49:40 -05:00
user 25b1dae8cb Clean up imports. 2024-12-24 08:33:10 -05:00
user 72f8c33e43 Fix bugs. 2024-12-24 08:31:08 -05:00
user c0fa79fe77 Improve web research prompts. 2024-12-24 06:54:56 -05:00
AI Christianson 90e5924ab2
Merge pull request #5 from leonj1/feat_aider_args
FEAT support future aider flags
2024-12-23 19:39:12 -05:00
Jose Leon e507fd87bd FEAT allow flexiblity to support future aider flags 2024-12-24 00:25:05 +00:00
user 1ab7ce60ea Tavily integration 2024-12-23 17:20:24 -05:00
user f5482dce2a Added web research tool config. 2024-12-23 17:08:07 -05:00
user 48f4fbc41d Add Tavily tool. 2024-12-23 16:48:47 -05:00
user 137fc98553 Make web research tool available to agents. 2024-12-23 16:44:57 -05:00
user c1f9a40936 Add request_web_research tool. 2024-12-23 16:40:38 -05:00
user 481d80dc53 Add web research agent fn. 2024-12-23 16:36:40 -05:00
user 38ddab6068 Pass config to agent loop. 2024-12-23 16:30:27 -05:00
user d08dbe0372 Added web research agent prompt 2024-12-23 16:26:33 -05:00
user f9fd6a4cde Add web research prompt section. 2024-12-23 16:21:28 -05:00
user ebfdcf821e Version bump 2024-12-23 15:53:23 -05:00
user aea69af9c1 Version bump 2024-12-23 14:57:08 -05:00
user 21611953d7 Clean up exception handling. 2024-12-23 14:54:28 -05:00
user 8ffcac867b Interruption UX. 2024-12-23 14:23:10 -05:00
user 1d8b44e1a6 Improve interruption UX. 2024-12-23 14:10:54 -05:00
user f7523e86d8 Improve agent interruption UX by allowing user to specify feedback or exit the program entirely. 2024-12-23 14:05:59 -05:00
user 35a1fb716f Improved prompts. 2024-12-23 13:37:25 -05:00
user e5035569fa Include work log in task agent context. 2024-12-23 13:06:37 -05:00
user 12843978b7 Fix expert related files reading. 2024-12-23 12:46:28 -05:00
user a0250855da Include work log in agent context. 2024-12-23 12:18:48 -05:00
user 9a53940dcd Track agent depth for all agents. 2024-12-23 12:05:39 -05:00
user c261c741f9 Fix expert file reading for context. 2024-12-23 11:58:40 -05:00
user 0399c5e346 Improve work log format. 2024-12-23 11:46:46 -05:00
user 87ec7c0268 Add initial work log. 2024-12-23 11:36:28 -05:00
user 9948dfef90 Do not put file ID in file paths when reading for expert context. 2024-12-23 11:21:13 -05:00
user 336e31c841 Version bump 2024-12-23 10:42:18 -05:00
user 30f032ef2f Start IDs on 1 for better UX and to not confuse the LLMs. 2024-12-23 10:40:58 -05:00
user 88c844e49f Optimize first prompt in chat mode to avoid unnecessary LLM call. 2024-12-23 10:38:49 -05:00
user 25253dcbfa Improve prompts. 2024-12-23 10:12:27 -05:00
user 7fab72a96c Improve prompts. 2024-12-23 09:40:44 -05:00
user 29448b006b Improve prompts. 2024-12-23 09:39:29 -05:00
user 6e7b41a354 Version bump 2024-12-22 17:03:43 -05:00
user cd307cf8fa Improve prompts. 2024-12-22 17:03:19 -05:00
user 2ff452f20a Version bump 2024-12-22 16:00:53 -05:00
user b7cf27be9e Improve prompts. 2024-12-22 16:00:15 -05:00
user b28e5b30b4 Do not show file ID in user-facing panel. 2024-12-22 15:29:23 -05:00
user 5ddceabae1 Rename delete_related_files to deregister_related_files. 2024-12-22 15:17:39 -05:00
user 678722f37f Allow agents to deregister related files 2024-12-22 15:09:10 -05:00
user 79360f761c Introduce dedicated RESEARCH_ONLY_PROMPT. 2024-12-22 15:00:39 -05:00
user 80486ec533 Convert related files system to ID-based storage
- Refactored related files storage to use dictionary with integer IDs as keys
- Added related_file_id_counter for generating unique file IDs
- Updated get_related_files() to return formatted strings with IDs
- Added delete_related_files() function for removing files by ID
- Maintained duplicate file path handling to preserve original IDs
- All tests passing
2024-12-22 14:39:16 -05:00
user 497c24c894 Improve messages. 2024-12-22 14:05:59 -05:00
user f80545d693 Allow graceful interruption of agents. 2024-12-22 14:00:17 -05:00
user 6d51a9e1ef Prompt improvements. 2024-12-22 12:14:28 -05:00
user c677da1e11 Improve expert prompt. 2024-12-22 11:29:08 -05:00
user 6a0dd0a950 Prompt improvements. 2024-12-22 11:21:41 -05:00
user 7cf1884b34 Expert prompt tweaks. 2024-12-22 11:12:13 -05:00
user 51663dc479 Fix task completion tracking. 2024-12-22 10:05:43 -05:00
user c73e9ada84 Improve error status display. 2024-12-22 10:02:50 -05:00
user 59af95acf7 Enforce research recursion limit. 2024-12-22 09:54:05 -05:00
user 53adb4d6e6 Improve UX. 2024-12-22 08:45:12 -05:00
user 7ab0e671ea Get rid of vi bindings by default. 2024-12-22 08:36:42 -05:00
user c41fac82b7 Include known context in research prompt. 2024-12-21 20:20:00 -05:00
user 5be2792612 Improve tool return values. 2024-12-21 15:40:19 -05:00
user 5053b36d8b Fix printing of agent output. 2024-12-21 15:35:05 -05:00
user f0f7487485 Handle completion messages. 2024-12-21 15:31:04 -05:00
user 5344aa9e14 Allow chat mode to do implementation. 2024-12-21 14:42:18 -05:00
user ef4748f009 Fix run_planning_agent config. 2024-12-21 14:36:39 -05:00
user a01b8ebf36 Add request_implementation tool. 2024-12-21 14:20:06 -05:00
user ba51f99da5 Added request_research_and_implementation. 2024-12-21 14:16:12 -05:00
user ecb6796008 Extract run_planning_agent. 2024-12-21 14:10:55 -05:00
user c65fe077b3 Added plan_implementation_completed. 2024-12-21 13:59:55 -05:00
user 2b0efe5fd2 Cleanup. 2024-12-21 13:56:18 -05:00
user f92c30b4e6 Allow individual tasks to be marked completed. 2024-12-21 13:50:40 -05:00
user d44d309028 Allow planning agent to direct implementation of tasks. 2024-12-21 13:40:17 -05:00
user 37e36967ee Introduce run_task_implementation_agent. 2024-12-21 13:13:50 -05:00
user 85f56cb75c Use proper model config for research agent. 2024-12-21 12:53:31 -05:00
AI Christianson ae6052ed15 Introduce run_research_agent. 2024-12-21 12:19:43 -05:00
AI Christianson 2ac796cf2b Extricate research subtasks. 2024-12-21 11:27:14 -05:00
AI Christianson a9c6ea93b4 Return reason for failure. 2024-12-21 11:04:57 -05:00
AI Christianson 1fc64c5151 Allow chat agent to spawn research agent. 2024-12-21 10:58:08 -05:00
AI Christianson f712fcf9c8 Chat mode changelog. 2024-12-20 16:37:25 -05:00
AI Christianson 5b4aa746bf Support multiline chat input. 2024-12-20 16:07:03 -05:00
AI Christianson 1a125a0139 Added initial chat mode. 2024-12-20 15:46:53 -05:00
AI Christianson e8a619fcb1 Add initial chat mode prompts. 2024-12-20 15:24:39 -05:00
AI Christianson 942ec24f5e Version bump 2024-12-20 15:13:39 -05:00
AI Christianson 2ab2117d1b Version bump 2024-12-20 13:45:34 -05:00
AI Christianson f096a06119 Reduce model temperatures to 0. 2024-12-20 13:41:27 -05:00
AI Christianson 36b80038ca Disable PAGERs for shell commands so agent can work autonomously 2024-12-19 17:42:40 -05:00
AI Christianson c4efac339a Handle keyboard interrupt (ctrl-c.) 2024-12-19 17:35:35 -05:00
AI Christianson 5ad8aeb013 Shorten programmer tool docstring for better compatibility. 2024-12-19 16:25:04 -05:00
AI Christianson 1a0c72075d Stop using rules for output formatting. 2024-12-19 15:59:15 -05:00
AI Christianson d7f8a45916 Fix duplicate task completed panel. 2024-12-19 15:17:54 -05:00
AI Christianson 0c6b4f98b3 Improve task completed panel. 2024-12-19 15:08:11 -05:00
AI Christianson 5029106bdd Use Rich padding. 2024-12-19 15:05:00 -05:00
AI Christianson 22aeb2812d Clean up display. 2024-12-19 14:56:24 -05:00
AI Christianson 5d579246d5 Fix import. 2024-12-19 14:40:04 -05:00
AI Christianson da1ae5676b Clean up imports. 2024-12-19 14:09:38 -05:00
AI Christianson bfb4453f11 Refactor: extract tool configs. 2024-12-19 14:08:53 -05:00
AI Christianson 86d5fae30f General fixes and README.md update 2024-12-19 13:54:12 -05:00
AI Christianson dad913b7fe - Added ask_human tool to allow human operator to answer questions asked by the agent. 2024-12-19 13:34:43 -05:00
AI Christianson 2c6a8cd000 Fix prompt template consistency. 2024-12-19 13:12:05 -05:00
AI Christianson 8ebf5bf23e Improve ripgrep tool status output. 2024-12-19 12:43:08 -05:00
AI Christianson 565dee74cf Adjust prompts based on tool availability/flags. 2024-12-19 12:37:18 -05:00
AI Christianson c6668fa866 Get rid of implementation args as they are not used. 2024-12-19 12:24:23 -05:00
AI Christianson 58622b8357 Make delete_tasks tool available to planning agent. 2024-12-19 12:20:38 -05:00
AI Christianson 4219e5e12b version bump 2024-12-19 09:21:07 -05:00
AI Christianson 53c2afdde3 Fix env var fallback when base key is given, expert and base provider are different, and expert key is missing. 2024-12-19 09:18:10 -05:00
AI Christianson 267f10c734 improve prompts 2024-12-18 16:58:14 -05:00
AI Christianson cc63bf0bae emit research subtask -> request research subtask 2024-12-18 16:51:04 -05:00
AI Christianson a1ecb774e2 prompt improvements and make shell available for research 2024-12-18 16:19:48 -05:00
AI Christianson 2a26723102 improve prompts 2024-12-18 16:01:10 -05:00
AI Christianson 00cea88520 Added monorepo_detected, existing_project_detected, and ui_detected tools so the agent can take specific actions. 2024-12-18 15:07:42 -05:00
AI Christianson de45ae5c16 added monorepo_detected tool 2024-12-18 14:03:35 -05:00
AI Christianson fcd7421d8e version bump 2024-12-18 13:15:01 -05:00
AI Christianson a1d521c5e2 improve programmer prompt 2024-12-18 12:29:01 -05:00
AI Christianson 469f09423b Update prompt for better performance on large/monorepo projects. 2024-12-17 15:58:48 -05:00
AI Christianson aee3ef9b86 fix one shot completion signalling; clean up error messages 2024-12-17 15:34:41 -05:00
AI Christianson 5878a53710 fix tests & bump version 2024-12-17 15:12:53 -05:00
AI Christianson 2b0a3b1167 allow enabling of cowboy mode from approval prompt; print tool error panels 2024-12-17 15:06:51 -05:00
AI Christianson 7650033828 Move run_shell_command to READ_ONLY_TOOLS and update documentation 2024-12-17 14:44:58 -05:00
AI Christianson c7f69a36f9 version bump 2024-12-17 12:16:55 -05:00
AI Christianson ceef1519db adjust one shot behavior; temporarily take out str replace/write file tools 2024-12-17 12:16:32 -05:00
AI Christianson 64a64053b8 use new env validation module 2024-12-17 11:41:31 -05:00
AI Christianson 674e08c89e extract env validation into its own module 2024-12-17 11:31:10 -05:00
AI Christianson 6f914373c4 fix one shot signalling 2024-12-17 11:25:04 -05:00
AI Christianson bc354bf26f update research prompt 2024-12-17 11:15:57 -05:00
AI Christianson f4c7c8f150 Make sure file modification tools are not available when research only flag is used. 2024-12-17 10:56:22 -05:00
AI Christianson 3be54fac2f fix one_shot_completed and allow reordering of tasks 2024-12-17 10:36:32 -05:00
AI Christianson db5ac38a5a allow tasks to be deleted 2024-12-17 10:18:22 -05:00
AI Christianson aff629e13c - When key snippets are emitted, snippet files are auto added to related files.
- Add base task to research subtask prompt.
- Adjust research prompt to make sure related files are related to the base task, not just the research subtask.
2024-12-17 09:41:52 -05:00
AI Christianson 3c573ea69f add changelog 2024-12-17 08:28:18 -05:00
AI Christianson afcf6553a7 add test suite for file_str_replace 2024-12-17 08:21:00 -05:00
AI Christianson 5b0e759f3a make write_file tool available and fix empty dir creation bug 2024-12-17 08:13:04 -05:00
AI Christianson 7b42ab569c initial write_file implementation 2024-12-17 08:03:01 -05:00
AI Christianson 35814362cd improve file_str_replace status reporting 2024-12-17 07:46:16 -05:00
AI Christianson ca5f28f4b3 initial file_str_replace implementation 2024-12-17 07:32:37 -05:00
AI Christianson 47284931d4 version bump 2024-12-13 16:10:37 -05:00
AI Christianson a4966502cb refactor 2024-12-13 16:09:46 -05:00
AI Christianson 8a466bdee8 version bump 2024-12-13 15:53:00 -05:00
AI Christianson 07649b934a clean up expert display panel 2024-12-13 15:46:40 -05:00
AI Christianson aa3d140cd7 version bump 2024-12-13 15:24:51 -05:00
AI Christianson ea34435b3f expert API key fallback 2024-12-13 15:19:21 -05:00
AI Christianson e47b586c06 expert env validation 2024-12-13 15:15:13 -05:00
AI Christianson 6c85d7fd6f expert LLM configuration 2024-12-13 14:54:56 -05:00
AI Christianson 36e00d8227 make expert model configurable 2024-12-13 14:19:42 -05:00
AI Christianson 571b9474d3 update env var docs 2024-12-13 13:40:13 -05:00
AI Christianson 250bf0a84c let aider figure out which model to use 2024-12-13 13:31:22 -05:00
AI Christianson 024c04a838 version bump 2024-12-13 10:20:15 -05:00
AI Christianson dd716ab4ec docs on model configuration 2024-12-13 09:53:13 -05:00
AI Christianson 9f721410ff support open models 2024-12-13 09:44:06 -05:00
AI Christianson 49078adc10 exclude implementation tool for research-only tasks 2024-12-13 08:48:52 -05:00
AI Christianson 4de776c8e9 load model lazily in expert tool to avoid model instantiation when module is imported 2024-12-13 08:27:24 -05:00
AI Christianson c1217912f1 docs: add Discord invite link and welcome contributions message 2024-12-12 17:35:30 -05:00
AI Christianson 1d103ac24e adjust cowboy messages 2024-12-12 07:22:48 -05:00
AI Christianson 926582e83c get rid of double emojis 2024-12-12 07:22:05 -05:00
AI Christianson 5596553945 get rid of research summary phase 2024-12-12 07:16:31 -05:00
AI Christianson 0fc4899191 version bump 2024-12-12 07:08:28 -05:00
AI Christianson fb9c4724ca ux 2024-12-11 23:02:24 -05:00
AI Christianson 92e1a25bca get rid of tech debt system 2024-12-11 22:50:59 -05:00
AI Christianson c1bcc000a7 error handling 2024-12-11 22:38:01 -05:00
AI Christianson aa497f2ec3 error handling 2024-12-11 22:32:05 -05:00
AI Christianson b9d49060f3 fix expert context 2024-12-11 21:55:49 -05:00
AI Christianson 56d067b2dc expert file context 2024-12-11 19:51:22 -05:00
AI Christianson 33f5f9bbbb track related files through memory 2024-12-11 19:38:49 -05:00
AI Christianson 14abec9735 tech debt review 2024-12-11 19:05:04 -05:00
AI Christianson 053a70c602 ux 2024-12-11 17:22:37 -05:00
AI Christianson f2ad833c6b tech debt system 2024-12-11 17:16:54 -05:00
AI Christianson de816867ee tech debt tool 2024-12-11 17:07:14 -05:00
AI Christianson f5d50ca349 ux 2024-12-11 16:38:30 -05:00
AI Christianson 6586874e63 stage ux 2024-12-11 16:29:38 -05:00
AI Christianson 4ea696e32a ux 2024-12-11 16:24:18 -05:00
AI Christianson c6de93c8d3 allow one shot research 2024-12-11 16:20:01 -05:00
AI Christianson d302222c3e do one shot projects 2024-12-11 15:12:19 -05:00
AI Christianson 6b3be3c965 version bump 2024-12-11 14:51:10 -05:00
AI Christianson 46e9858830 moar cowboy 2024-12-11 14:50:40 -05:00
AI Christianson 04cb8db2b9 cowboy mode 2024-12-11 14:40:47 -05:00
AI Christianson c3fe7aa360 version bump 2024-12-11 14:24:35 -05:00
AI Christianson a80710a65b make key snippets available to expert 2024-12-11 14:07:18 -05:00
AI Christianson 6b56a0e198 simplify tool return values 2024-12-11 14:01:14 -05:00
AI Christianson cb8ee556e5 emit snippets in batches 2024-12-11 13:52:08 -05:00
AI Christianson b02b125d06 emit related files in batches 2024-12-11 13:33:35 -05:00
AI Christianson 3ac2c3c66d allow emitting facts in batches 2024-12-11 12:35:22 -05:00
AI Christianson 6fe7905a82 allow key facts to be added/removed in batches 2024-12-11 11:52:57 -05:00
AI Christianson 48991e5abd version 2024-12-11 11:26:50 -05:00
AI Christianson e1b04781d7 Update prompts, shell tools and add shell tests 2024-12-11 11:25:34 -05:00
AI Christianson ac55daec75 Update project structure and version handling 2024-12-10 19:49:50 -05:00
AI Christianson a34442af07 refactor: restructure main execution into proper entry point
- Move main execution code into main() function
- Update __main__.py to use main() as entry point
- This enables the ra-aid command to work properly when installed
2024-12-10 19:31:45 -05:00
AI Christianson 70a0770129 fix: add version configuration for hatch
- Add tool.hatch.version configuration in pyproject.toml
- Create __version__.py with initial version 0.1.0
2024-12-10 19:29:14 -05:00
AI Christianson 5cebfed28e feat: enhance documentation and CLI interface
- Add comprehensive usage documentation and examples to README
- Add warning about shell command execution risks
- Improve CLI with --message and --research-only flags
- Add environment validation for API keys
- Replace requirements.txt with pyproject.toml
2024-12-10 19:27:31 -05:00
AI Christianson 341bc91e65 Initial commit 2024-12-10 19:01:20 -05:00