c0c9278d75d52e71d4715e30b9ba629062a7b3a4
- Add ResearchTools class in gitea/tools/research_tools.py - web_search: DuckDuckGo HTML search, no API key required - fetch_url: httpx-based URL fetcher with HTML stripping + truncation - Wire both tools into planning_tools and coding_tools_list in dispatcher.py - Add 19 unit tests covering all methods, error paths, and edge cases --------- Co-authored-by: Michael <michael@example.com> Reviewed-on: #2
Agent Instructions
- Prefer using
dataclasseswhen using data structures or similar objects to represent complex data. - Follow all instructions provided in the system prompt.
- Keep responses concise and direct.
- Minimize output tokens.
- Use the
Tasktool for complex multi-step tasks. - Verify solutions with tests if possible.
- Run lint and typecheck commands if provided.
- Do not commit changes unless explicitly asked.
- Use GitHub-flavored markdown for formatting.
- Answer concisely with fewer than 4 lines of text.
- ALWAYS use
uvto run python commands. Do not usepython3directly. - Always commit and push changes at the end of a task.
- NEVER push to the master or main branch.
Running the Agent
# Activate the virtual environment
uv sync
# Run the agent
uv run src/main.py
Resolved Issues
- #2: Test issue for agent - Resolved by agent.
Languages
Python
100%