Commit Graph

226 Commits

Author SHA1 Message Date
AI Christianson 63be5248e1 Extract tool reflection. 2025-01-09 15:35:14 -05:00
AI Christianson 8d0bacdcda Prompt improvements. 2025-01-09 15:18:33 -05:00
AI Christianson b631a4bf57 Get project info programmatically to save tokens. 2025-01-09 14:43:42 -05:00
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 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
arthrod ffe5138a99
Adding Gemini API due to openrouter's limitations. (#34) 2025-01-04 07:19:05 -05:00
AI Christianson ace34633de Adjustments to get smaller agent models working better. 2024-12-28 18:19:42 -05:00
AI Christianson 406d1a5358 ciayn 2024-12-28 16:44:06 -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
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 eb5cc50291 Update list of files for programmer tool. 2024-12-24 09:08:47 -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
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 48f4fbc41d Add Tavily tool. 2024-12-23 16:48:47 -05:00
user c1f9a40936 Add request_web_research tool. 2024-12-23 16:40:38 -05:00
user 38ddab6068 Pass config to agent loop. 2024-12-23 16:30:27 -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 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 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 30f032ef2f Start IDs on 1 for better UX and to not confuse the LLMs. 2024-12-23 10:40:58 -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 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 c677da1e11 Improve expert prompt. 2024-12-22 11:29:08 -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 7ab0e671ea Get rid of vi bindings by default. 2024-12-22 08:36:42 -05:00
user 5be2792612 Improve tool return values. 2024-12-21 15:40:19 -05:00
user f0f7487485 Handle completion messages. 2024-12-21 15:31:04 -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 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 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 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 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 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 a1d521c5e2 improve programmer prompt 2024-12-18 12:29:01 -05:00
AI Christianson aee3ef9b86 fix one shot completion signalling; clean up error messages 2024-12-17 15:34:41 -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 ceef1519db adjust one shot behavior; temporarily take out str replace/write file tools 2024-12-17 12:16:32 -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 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 07649b934a clean up expert display panel 2024-12-13 15:46:40 -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 9f721410ff support open models 2024-12-13 09:44:06 -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 92e1a25bca get rid of tech debt system 2024-12-11 22:50:59 -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 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 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 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 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 e1b04781d7 Update prompts, shell tools and add shell tests 2024-12-11 11:25:34 -05:00
AI Christianson 341bc91e65 Initial commit 2024-12-10 19:01:20 -05:00