Commit Graph

336 Commits

Author SHA1 Message Date
AI Christianson 557ffd959b Prompt improvements. 2025-01-09 13:54:50 -05:00
AI Christianson 4b24dbe960 Improve work log handling. 2025-01-09 13:42:26 -05:00
AI Christianson ba82f41fa0 Only include work_log key if needed, to save tokens. 2025-01-09 12:57:58 -05:00
AI Christianson 094257e0af Add unit tests for CiaynAgent._does_not_conform_to_pattern. 2025-01-09 11:51:08 -05:00
AI Christianson 80d2d2fa60 Better handle 429 errors on openrouter. 2025-01-09 11:42:13 -05:00
AI Christianson d115b8d5fe Improve prompts for better open model support. 2025-01-09 11:06:58 -05:00
Benedikt Terhechte bfc0e9c626
Changes (#37)
* add way to extract tool use

* respect aiderignore for listing files

* properly use filetypes in ripgrep
2025-01-09 09:46:32 -05:00
AI Christianson 0449564109 Fix bug where directories are added as related files. 2025-01-08 17:04:24 -05:00
AI Christianson 4dd424ecc3 release: version 0.12.0 2025-01-04 15:42:31 -05:00
arthrod ffe5138a99
Adding Gemini API due to openrouter's limitations. (#34) 2025-01-04 07:19:05 -05:00
agentmarketbot 937c8c2a6a
agent bot commit (#31) 2025-01-02 16:41:02 -05:00
Jose M Leon 726b551449
FEAT add function to check for dependencies on startup (#27) 2025-01-01 09:35:41 -05:00
Guillermo Creus Botella 07c71408b7
Add default support for OpenAI models (#29)
* add support for default OpenAI provider

* clarify CLI options
2025-01-01 09:34:51 -05:00
AI Christianson 34acb462f9 Version bump 2024-12-30 12:38:30 -05:00
Will ccb4756035
macOS compatibility (#23)
* Correcting URL for github; ra-aid.git -> RA.Aid.git

* Additional fix to cloning instructions

* Initial draft of tweaks to add macOS compatibility

* Changing LS test to check for not-zero instead of specific error code

* Further macOS compatibility tweaks - dealing with mystery control characters

* Additional compatibility for macOS - flag as macOS, and detect and change command based it

* Removing unneeded variable
2024-12-30 12:38:06 -05:00
AI Christianson 96c4620df0 Version bump 2024-12-30 08:51:10 -05:00
Jose M Leon 567d1ab49d
FIX SyntaxError: f-string expression part cannot include a backslash (#25)
* FIX unit tests

* FEAT run tests prior to git push

* FIX SyntaxError: f-string expression part cannot include a backslash
2024-12-30 08:45:21 -05:00
AI Christianson 712663b086 Version bump 2024-12-29 14:55:25 -05:00
AI Christianson a8084f15f9 Fix typo 2024-12-29 14:52:39 -05:00
AI Christianson 9d4c74e05c Improve prompts. 2024-12-28 19:28:49 -05:00
AI Christianson 99d0b1f440 Improve prompts. 2024-12-28 19:12:00 -05:00
AI Christianson 595add4606 Version bump 2024-12-28 18:37:05 -05:00
AI Christianson a28ed59bca Add --temperature CLI parameter. 2024-12-28 18:36:24 -05:00
AI Christianson ace34633de Adjustments to get smaller agent models working better. 2024-12-28 18:19:42 -05:00
AI Christianson 35db6b633f Adjustments to get smaller agent models working better. 2024-12-28 17:41:06 -05:00
AI Christianson 684b076dbf Adjustments to get smaller agent models working better. 2024-12-28 17:31:41 -05:00
AI Christianson 19e203be7e Use create_react_agent for claude. 2024-12-28 17:19:12 -05:00
AI Christianson cf485bd96c Merge llm-fn-call: resolve changelog conflicts 2024-12-28 16:56:34 -05:00
Jose M Leon 8b3f4d736c
FEAT fix command line args and env var dependencies on anthropic (#21)
* FIX provider cmdline args

* FIX Issue 18

* FIX ensure research-only requires a model
2024-12-28 16:53:57 -05:00
AI Christianson 406d1a5358 ciayn 2024-12-28 16:44:06 -05:00
AI Christianson 13b953bf7f extract creat agent method 2024-12-28 15:39:33 -05:00
AI Christianson 2af7f8a623 ciayn 2024-12-28 15:18:58 -05:00
AI Christianson 5c5df65694 ciayn 2024-12-28 15:11:43 -05:00
AI Christianson 6f10db811e ciayn 2024-12-28 15:09:32 -05:00
AI Christianson ac2bdfd69b ciayn 2024-12-28 14:54:31 -05:00
AI Christianson 9074cae2f5 ciayn 2024-12-28 14:47:34 -05:00
AI Christianson 535be97c1f ciayn 2024-12-28 14:41:39 -05:00
AI Christianson d8a3c88624 add ciayn agent 2024-12-28 14:31:14 -05:00
AI Christianson bd2fd07b1b Version bump 2024-12-27 19:55:57 -05:00
AI Christianson 5976727359 Make read_file always output status panel. 2024-12-27 19:55:15 -05:00
AI Christianson 10b58bb2db Simplify planning stage by executing tasks directly. Make research notes available to more agents/tools. 2024-12-27 17:03:47 -05:00
AI Christianson f2ce6a7ab0 Improve prompts and fix web research prompt integration. 2024-12-27 15:26:54 -05:00
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