Commit Graph

166 Commits

Author SHA1 Message Date
Wirasm
f96a9a4c4a
Merge pull request #213 from coleam00/fix/consolidate-concurrency-settings
Fix crawler concurrency configuration to prevent memory crashes
2025-08-16 00:38:45 +03:00
Rasmus Widing
4004090b45 Fix critical issues from code review
- Use python-jose (already in dependencies) instead of PyJWT for JWT decoding
- Make unknown Supabase key roles fail fast per alpha principles
- Skip all JWT validations (not just signature) when checking role
- Update tests to expect failure for unknown roles

Fixes:
- No need to add PyJWT dependency - python-jose provides JWT functionality
- Unknown key types now raise ConfigurationError instead of warning
- JWT decode properly skips all validations to only check role claim
2025-08-16 00:23:37 +03:00
Rasmus Widing
3800280f2e Add Supabase key validation and simplify frontend state management
- Add backend validation to detect and warn about anon vs service keys
- Prevent startup with incorrect Supabase key configuration
- Consolidate frontend state management following KISS principles
- Remove duplicate state tracking and sessionStorage polling
- Add clear error display when backend fails to start
- Improve .env.example documentation with detailed key selection guide
- Add comprehensive test coverage for validation logic
- Remove unused test results checking to eliminate 404 errors

The implementation now warns users about key misconfiguration while
maintaining backward compatibility. Frontend state is simplified with
MainLayout as the single source of truth for backend status.
2025-08-16 00:10:23 +03:00
Cole Medin
e2e51f36ba Fixing persona issue in PRP docs 2025-08-15 15:51:27 -05:00
Cole Medin
4a4663bddb Disabling reranking by default so the server container isn't so big 2025-08-15 15:20:04 -05:00
Rasmus Widing
ade439791d Suppress noisy third-party library debug logs
- Set hpack and httpcore loggers to WARNING level
- These libraries produce excessive protocol-level debug output
- Improves signal-to-noise ratio in logs
2025-08-15 18:26:26 +03:00
Rasmus Widing
caefaccbe4 Fix trailing whitespace (ruff formatting) 2025-08-15 17:56:51 +03:00
Rasmus Widing
e9a19ffb41 Fix LOG_LEVEL environment variable not being respected
- Read LOG_LEVEL from environment with INFO as default
- Use getattr to safely convert string to logging level constant
- Supports DEBUG, INFO, WARNING, ERROR, CRITICAL levels
- Falls back to INFO if invalid level specified

This minimal change allows debug logs to appear when LOG_LEVEL=DEBUG
is set in the .env file, fixing the issue where debug messages were
being filtered out.
2025-08-15 17:36:58 +03:00
Rasmus Widing
8157670936 Fix crawler attempting to navigate to binary files
- Add is_binary_file() method to URLHandler to detect 40+ binary extensions
- Update RecursiveCrawlStrategy to filter binary URLs before crawl queue
- Add comprehensive unit tests for binary file detection
- Prevents net::ERR_ABORTED errors when crawler encounters ZIP, PDF, etc.

This fixes the issue where the crawler was treating binary file URLs
(like .zip downloads) as navigable web pages, causing errors in crawl4ai.
2025-08-15 17:24:46 +03:00
Rasmus Widing
e98f52aa57 Address code review feedback: improve error handling and documentation
- Implement fail-fast error handling for configuration errors
- Distinguish between critical config errors (fail) and network issues (use defaults)
- Add detailed error logging with stack traces for debugging
- Document new crawler settings in .env.example
- Add inline comments explaining safe defaults

Critical configuration errors (ValueError, KeyError, TypeError) now fail fast
as per alpha principles, while transient errors still fall back to safe defaults
with prominent error logging.
2025-08-15 16:02:00 +03:00
Rasmus Widing
aab0721f0c Fix crawler concurrency configuration to prevent memory crashes
Consolidate concurrent crawling limits to use single database setting
instead of hardcoded special case for documentation sites.

Changes:
- Remove hardcoded 20 concurrent limit for documentation sites
- Let strategies use CRAWL_MAX_CONCURRENT from database (default: 10)
- Apply consistent concurrency across all site types
- Improve code formatting and consistency

This fixes Playwright browser crashes caused by excessive concurrent
pages on documentation sites and provides single configuration point
for tuning crawler performance.
2025-08-15 15:45:04 +03:00
Cole Medin
ad1b8bf70f You can now dismiss the onboarding properly 2025-08-14 07:19:52 -05:00
Cole Medin
4df58d59f5 Update .env.example 2025-08-13 22:11:44 -05:00
Cole Medin
c929042086 Speeding up CI 2025-08-13 18:59:02 -05:00
Cole Medin
e020e3353c Bringing in first version of CI 2025-08-13 18:49:15 -05:00
Cole Medin
bb64af9e7a Archon onboarding, README updates, and MCP/global rule expansion for more coding assistants 2025-08-13 18:36:36 -05:00
Cole Medin
8d189b9946
Delete CNAME 2025-08-13 13:58:16 -05:00
Cole Medin
ba00d34b04
Create CNAME 2025-08-13 13:54:58 -05:00
Cole Medin
59084036f6 The New Archon (Beta) - The Operating System for AI Coding Assistants! 2025-08-13 07:58:24 -05:00
Cole Medin
13e1fc6a0e Another quick f string update for the agent prompts 2025-04-02 19:03:50 -05:00
Cole Medin
a16c09e4cf Fixing up f strings for agent prompts 2025-04-02 18:52:05 -05:00
BarelElbaz
efa348ff3e
Fix issue #67: MCP container could not resolve host 'host.docker.internal' on linux (#82)
Co-authored-by: Barel Elbaz <barel.elbaz@develeap.com>
2025-04-02 18:32:22 -05:00
Cole Medin
661bf420de Fixing build issue for lower Python versions caused by a typo 2025-04-01 07:28:05 -05:00
Cole Medin
2802b549bd Archon V6 - Tool/Example/MCP Library 2025-04-01 07:21:25 -05:00
Cole Medin
3c51aa297b Archon V5 - Parallel Specialized Refiner Agents 2025-03-20 14:02:10 -05:00
Cole Medin
94e7608386 Fixing provider update issue when switching profiles 2025-03-19 09:33:29 -05:00
Juan Miguel
5f93fede3d
Enable Dependabot & CI (#66)
* Create dependabot.yml

Currently watches for updates in github actions, and current iteration, present in the root folder. Commented expansion on how to maintain previous iterations addded.

* CI for local development

* CI for docker build

* Use matrix strategy on docker build

Docker version uses 3.12, so its interesting to ensure it properly works with this version

* Enable python 3.10 backporting
2025-03-19 08:22:11 -05:00
xactant
adf96f0c48
In the MCP Streamlit page, added instructios for use in Claude Code. (#64)
* In the MCP Streamlit page, added instructios for use in Claude Code.

* Fixing paths for Claude Code and adding one for Python

---------

Co-authored-by: Cole Medin <cole@dynamous.ai>
2025-03-19 08:10:52 -05:00
Cole Medin
b0658e27be Changing location of new "Updating" section in README 2025-03-19 07:58:17 -05:00
cannuri
b93cd043ab
Add updating instructions; check for non running docker containers (#58)
* docs: Update README with instructions for updating Archon via Docker and local Python installation

* fix: Improve container management in run_docker.py - Check for existing containers, stop if running, and force remove if necessary
2025-03-19 07:56:49 -05:00
Cole Medin
e967b1d783 Fixing couple bugs for using the right provider when crawling docs 2025-03-15 13:34:53 -05:00
Cole Medin
2275c15dc8 Fixing the LLM client for crawling docs 2025-03-15 08:00:59 -05:00
Cole Medin
1016ba477e Environment variable overhaul 2025-03-13 08:44:04 -05:00
Cole Medin
1ea4d13023 Fixing recreate table instructions and MCP Python paths 2025-03-10 15:12:12 -05:00
Cole Medin
a21d23f67b Modularized the Streamlit UI, fixing a couple bugs 2025-03-09 12:14:42 -05:00
Cole Medin
7e77c94c51 Adding Command import from LangGraph in the right place 2025-03-09 11:11:07 -05:00
Cole Medin
54501c9a59 Starting the split of streamlit_ui.py, better error handling 2025-03-09 08:25:30 -05:00
takshit12
30e586bfcb
feat: Add timeout handling to MCP server requests - Add 5-minute timeout, proper error handling, and improved logging (#27)
Co-authored-by: Takshit Mathur <takshitmathur@gmail.com>
2025-03-09 07:09:14 -05:00
cannuri
fc3c77e943
Mention Roo Code alongside with Cline (#48) 2025-03-09 07:06:49 -05:00
Aniket
8e14b47fa1
added missing file future_enhancements.py to v4 iteration dir (#46) 2025-03-09 07:05:57 -05:00
Cole Medin
9ea1918214 Removing langgraph-api from requirements.txt so it is autoresolved, helps with Python 3.13 2025-03-07 09:50:54 -06:00
Hong
3a4ad68f87
Cleanup: Optimize conditional logic in route_user_message (#40) 2025-03-06 11:29:48 -06:00
Michaelzag
f2ea3b75c5
Set MCP server logging level to ERROR to reduce log output in UI (#38) 2025-03-06 11:28:59 -06:00
Cole Medin
1c055405bc
Update streamlit_ui.py
Fixing docker command for Cursor
2025-03-03 19:37:28 -06:00
Cole Medin
2a1b82049a Updating the intro to Archon 2025-03-02 16:18:00 -06:00
Cole Medin
fcca718d3a Fixes issues with OpenRouter/Anthropic (disabling streaming until better Pydantic AI implementation) 2025-03-01 06:59:41 -06:00
Cole Medin
53cfd5e6a7 Self Agent Execution version plans 2025-02-28 14:03:23 -06:00
Cole Medin
a8f6b10bc9 Future enhancements section 2025-02-28 11:32:04 -06:00
Cole Medin
ee5d70c4c8 Docker support for Archon V4 2025-02-28 08:35:18 -06:00
Cole Medin
4e72bc77ce Archon V4 - Massive Streamlit UI Overhaul for Admin Dashboard 2025-02-27 16:06:53 -06:00