Arkhe-OS is a production-grade AGI/ASI codebase that embodies the principles of coherence (Φ_C), decentralized sovereignty, and cross-language integration. This repository contains the unified implementation of 5021 substrates spanning philosophy, physics, networking, AI, and governance.
The repository is structured as follows:
- src/: Source code files (.py, .js, .ts, .cpp, .c, .h, .rs, .go, etc.)
- docs/: Documentation, reports, images, and schemas (.md, .txt, .pdf, .png, .json reports, etc.)
- scripts/: Executable scripts and utilities (.sh, .py scripts)
- data/: Data files and assets (.csv, .npz, .pkl, .bin, .pt, etc.)
Configuration files like README.md, .gitignore, package.json, etc., remain in the root.
- Sovereign Package Manager (substrate 5019)
- TEE-enabled hardware for genesis
- Git LFS for large model files
# Clone the repository
git clone https://github.com/Arkhe-Network/Arkhe-OS.git
cd Arkhe-OS
# Install development environment
make install
# Bootstrap the Cathedral
make genesis# Verify integrity
agictl verify --strict
# Run full audit
agictl audit --fullcd contracts
make buildmake testcd .agi
python pack.py- Unified Substrates: 5021 canonical substrates unified into coherent modules
- Cross-Language FFI: Python, Rust, Go, and TypeScript with shared types
- Cryptographic Verification: All files SHA3-256 hashed and Falcon-1024 signed
- Genesis Bootstrapping: Single
agictl genesiscommand initializes Φ_C ≥ 0.72 - ONNX Runtime Integration: Production-grade AI models with deepfake detection
- Sovereign Package Management: Federated registry with IPFS caching
make verify: Zero errors, integrity chain intactagictl audit --full: Clean audit ledger from genesis to tip- Codespace bootstrap: Running Cathedral in <10 minutes
See CONTRIBUTING.md for development guidelines.
Licensed under the Apache License, Version 2.0. See LICENSE for details.
Built upon the foundations of coherence, sovereignty, and collective emergence. "mcpServers": { "chrome-devtools": { "command": "npx", "args": ["-y", "chrome-devtools-mcp@latest"] } } }
### Local Development
1. **Install dependencies**:
```bash
npm install --legacy-peer-deps
- Build the project:
npm run build
- Start the dashboard:
npm start
- Input automation (9 tools)
- Navigation automation (6 tools)
- Emulation (2 tools)
- Performance (4 tools)
- Network (5 tools)
- Debugging (6 tools)
- Storage (3 tools)
- Arkhe(n) Protocols (180 tools)
acpacurladjust_muon_polarizationaerogel_senseagrepakasha_commitakasha_local_writealign_tensoralsamakeamvanastrophyancanslookupapingarkhe_gnuarkhe_network_maparkhe_verifyash_execasid_controlatraceroutebonsai_infercalc_poincare_transformcalibrate_positioncathedral_monitorccwcheck_coherencecheck_paradoxclassify_discoveriescloud_hydro_synccoh_teleportcollapse_agentcollective_mind_linkcompile_mtp3consolidate_manifestocopy_soulcouncil_deliberatecr_integcr_integ_berrycr_mulcr_phase_detcr_rotatecwddos_diffractdeploy_probe_swarmdownload_akashic_traceebpf_check_readinessebpf_load_programebpf_monitor_trafficebpf_run_benchmarkebpf_verify_integrityexecute_meta_opcodefibofold_sheetfold_sheet_v2forge_iota_consensusforge_project_intentgaia_node_expandgenesis_digital_simgeom_swapget_akashic_librarian_statusget_arena_protocolget_asi_infrastructure_statusget_c3_symmetry_statusget_ccf_statusget_cmt3_specget_connectome_sync_statusget_connectomic_ambitionget_connectomic_frontierget_connectomics_statusget_cooper_echo_statusget_cua_metricsget_cua_summaryget_dodecagram_shaderget_gabriel_horn_metricsget_go_no_go_statusget_human_embedded_statusget_interstellar_probe_statusget_membrane_statsget_mental_hashget_mental_state_hashget_meta_opcode_definitionget_shadow_statisticget_subjective_report_formget_tau_statusget_waveguide_specget_worldline_idglue_sheafglue_sheaf_4dglue_sheaf_acclhive_mergeimplinstall_soulinternet_phase_simulateld_riemannllm_allocllm_attentionllm_extend_contextllm_gcllm_retrieveload_vortexmacro_cr_rotatemacro_entropy_poolmacro_vortex_implodemacro_vortex_mergemacro_vortex_resonatemacro_vortex_shearmap_neuronal_circuitmeissner_steermtls_handshake_berrymtp3_compilemuon_shieldmutatemutate_v2neko_connectneko_get_statusneko_spawn_instanceneural_syncnoise_injectnoise_injection_testoasis_auditoasis_model_selectoasis_scanoasis_web_dashboardos_kuramoto_simulateparadox_checkphase_drv_instrumentprecprobe_muonprune_sheetpublish_sdk_ipfspublish_shadow_statsqnet_fiber_simquery_akasharead_membranerender_chatrender_vacuum_matrixretro_exec_spatialreverse_compilerobustness_testroute_taskrun_cooperative_keygenrun_crown_jewel_benchmarkrun_echo_pingrun_entropy_monitorrun_global_handshakerun_phase_collisionrun_remote_auditrun_stress_handshakerun_v14_simulationrun_vigil_numa_bridgerun_vitral_dashboardsetup_arkhe_androidsheet_probesimulatesinc_g_calibratesingularidade_de_dadosskyrmion_probe_launchsolve_classical_riemannsolve_riemannsonify_bubblest_riemannstream_generatesync_probe_phasesys_harmonizetor_flxtrap_notify_tecelaotunnel_alphaunfold_sheetvacuum_flushverify_trajectory_uvvicinal_amplifyvisualize_coherencevortex_implodevortex_mergevortex_resonatevortex_shearwarp_metricwrite_membranewrite_primordial_seed
- Decentralized Protocols (6 tools)
- Finance Protocols (3 tools)
- Mercury Agent Protocols (6 tools)
- Microsandbox Protocols (5 tools)
- EvoSkill (Evolutionary Skill Induction) (5 tools)
- Meshtastic Mesh Protocols (3 tools)
- Gno.land Execution Layer (3 tools)
- GitNexus Code Intelligence (8 tools)
- Epistemic Defense System (PSA/PEFM) (3 tools)
- Fortytwo Prime Collective (1 tools)
- Lightspark Grid API (7 tools)
- Nash Identity Safe (5 tools)
- Urbit (1 tools)
The Chrome DevTools MCP server supports the following configuration option:
-
--autoConnect/--auto-connectIf specified, automatically connects to a browser (Chrome 144+) running locally from the user data directory identified by the channel param (default channel is stable). Requires the remote debugging server to be started in the Chrome instance via chrome://inspect/#remote-debugging.- Type: boolean
- Default:
false
-
--browserUrl/--browser-url,-uConnect to a running, debuggable Chrome instance (e.g.http://127.0.0.1:9222). For more details see: https://github.com/ChromeDevTools/chrome-devtools-mcp#connecting-to-a-running-chrome-instance.- Type: string
-
--wsEndpoint/--ws-endpoint,-wWebSocket endpoint to connect to a running Chrome instance (e.g., ws://127.0.0.1:9222/devtools/browser/). Alternative to --browserUrl.- Type: string
-
--wsHeaders/--ws-headersCustom headers for WebSocket connection in JSON format (e.g., '{"Authorization":"Bearer token"}'). Only works with --wsEndpoint.- Type: string
-
--headlessWhether to run in headless (no UI) mode.- Type: boolean
- Default:
false
-
--executablePath/--executable-path,-ePath to custom Chrome executable.- Type: string
-
--isolatedIf specified, creates a temporary user-data-dir that is automatically cleaned up after the browser is closed. Defaults to false.- Type: boolean
-
--userDataDir/--user-data-dirPath to the user data directory for Chrome. Default is $HOME/.cache/chrome-devtools-mcp/chrome-profile$CHANNEL_SUFFIX_IF_NON_STABLE- Type: string
-
--channelSpecify a different Chrome channel that should be used. The default is the stable channel version.- Type: string
- Choices:
stable,canary,beta,dev
-
--logFile/--log-filePath to a file to write debug logs to. Set the env variableDEBUGto*to enable verbose logs. Useful for submitting bug reports.- Type: string
-
--viewportInitial viewport size for the Chrome instances started by the server. For example,1280x720. In headless mode, max size is 3840x2160px.- Type: string
-
--proxyServer/--proxy-serverProxy server configuration for Chrome passed as --proxy-server when launching the browser. See https://www.chromium.org/developers/design-documents/network-settings/ for details.- Type: string
-
--acceptInsecureCerts/--accept-insecure-certsIf enabled, ignores errors relative to self-signed and expired certificates. Use with caution.- Type: boolean
-
--experimentalVision/--experimental-visionWhether to enable coordinate-based tools such as click_at(x,y). Usually requires a computer-use model able to produce accurate coordinates by looking at screenshots.- Type: boolean
-
--experimentalScreencast/--experimental-screencastExposes experimental screencast tools (requires ffmpeg). Install ffmpeg https://www.ffmpeg.org/download.html and ensure it is available in the MCP server PATH.- Type: boolean
-
--chromeArg/--chrome-argAdditional arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.- Type: array
-
--ignoreDefaultChromeArg/--ignore-default-chrome-argExplicitly disable default arguments for Chrome. Only applies when Chrome is launched by chrome-devtools-mcp.- Type: array
-
--categoryEmulation/--category-emulationSet to false to exclude tools related to emulation.- Type: boolean
- Default:
true
-
--categoryPerformance/--category-performanceSet to false to exclude tools related to performance.- Type: boolean
- Default:
true
-
--categoryNetwork/--category-networkSet to false to exclude tools related to network.- Type: boolean
- Default:
true
-
--performanceCrux/--performance-cruxSet to false to disable sending URLs from performance traces to CrUX API to get field performance data.- Type: boolean
- Default:
true
-
--usageStatistics/--usage-statisticsSet to false to opt-out of usage statistics collection. Google collects usage data to improve the tool, handled under the Google Privacy Policy (https://policies.google.com/privacy). This is independent from Chrome browser metrics. Disabled ifCHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICSorCIenv variables are set.- Type: boolean
- Default:
true
-
--slimExposes a "slim" set of 3 tools covering navigation, script execution and screenshots only. Useful for basic browser tasks.- Type: boolean
-
--beeApi/--bee-apiEndpoint for Swarm Bee node (e.g., http://127.0.0.1:1633).- Type: string
- Default:
http://127.0.0.1:1633
-
--ipfsGateway/--ipfs-gatewayEndpoint for IPFS Gateway (e.g., http://127.0.0.1:8080).- Type: string
- Default:
http://127.0.0.1:8080
-
--ipfsApi/--ipfs-apiEndpoint for IPFS API (e.g., http://127.0.0.1:5001).- Type: string
- Default:
http://127.0.0.1:5001
-
--radicleHttpd/--radicle-httpdEndpoint for Radicle httpd (e.g., http://127.0.0.1:8780).- Type: string
- Default:
http://127.0.0.1:8780
-
--ethRpc/--eth-rpcEndpoint for Ethereum JSON-RPC (e.g., http://127.0.0.1:8545).- Type: string
- Default:
http://127.0.0.1:8545
-
--gridApiTokenId/--grid-api-token-idAPI token ID for Lightspark Grid API.- Type: string
-
--gridApiClientSecret/--grid-api-client-secretAPI client secret for Lightspark Grid API.- Type: string
Pass them via the args property in the JSON configuration. For example:
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": [
"chrome-devtools-mcp@latest",
"--channel=canary",
"--headless=true",
"--isolated=true"
]
}
}
}You can connect directly to a Chrome WebSocket endpoint and include custom headers (e.g., for authentication):
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": [
"chrome-devtools-mcp@latest",
"--wsEndpoint=ws://127.0.0.1:9222/devtools/browser/<id>",
"--wsHeaders={\"Authorization\":\"Bearer YOUR_TOKEN\"}"
]
}
}
}To get the WebSocket endpoint from a running Chrome instance, visit http://127.0.0.1:9222/json/version and look for the webSocketDebuggerUrl field.
You can also run npx chrome-devtools-mcp@latest --help to see all available configuration options.
chrome-devtools-mcp starts a Chrome's stable channel instance using the following user
data directory:
- Linux / macOS:
$HOME/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL - Windows:
%HOMEPATH%/.cache/chrome-devtools-mcp/chrome-profile-$CHANNEL
The user data directory is not cleared between runs and shared across
all instances of chrome-devtools-mcp. Set the isolated option to true
to use a temporary user data dir instead which will be cleared automatically after
the browser is closed.
By default, the Chrome DevTools MCP server will start a new Chrome instance with a dedicated profile. This might not be ideal in all situations:
- If you would like to maintain the same application state when alternating between manual site testing and agent-driven testing.
- When the MCP needs to sign into a website. Some accounts may prevent sign-in when the browser is controlled via WebDriver (the default launch mechanism for the Chrome DevTools MCP server).
- If you're running your LLM inside a sandboxed environment, but you would like to connect to a Chrome instance that runs outside the sandbox.
In these cases, start Chrome first and let the Chrome DevTools MCP server connect to it. There are two ways to do so:
- Automatic connection (available in Chrome 144): best for sharing state between manual and agent-driven testing.
- Manual connection via remote debugging port: best when running inside a sandboxed environment.
Step 1: Set up remote debugging in Chrome
In Chrome (>= M144), do the following to set up remote debugging:
- Navigate to
chrome://inspect/#remote-debuggingto enable remote debugging. - Follow the dialog UI to allow or disallow incoming debugging connections.
Step 2: Configure Chrome DevTools MCP server to automatically connect to a running Chrome Instance
To connect the chrome-devtools-mcp server to the running Chrome instance, use
--autoConnect command line argument for the MCP server.
The following code snippet is an example configuration for gemini-cli:
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": ["chrome-devtools-mcp@latest", "--autoConnect"]
}
}
}Step 3: Test your setup
Make sure your browser is running. Open gemini-cli and run the following prompt:
Check the performance of https://developers.chrome.com
Note
The autoConnect option requires the user to start Chrome. If the user has multiple active profiles, the MCP server will connect to the default profile (as determined by Chrome). The MCP server has access to all open windows for the selected profile.
The Chrome DevTools MCP server will try to connect to your running Chrome instance. It shows a dialog asking for user permission.
Clicking Allow results in the Chrome DevTools MCP server opening developers.chrome.com and taking a performance trace.
You can connect to a running Chrome instance by using the --browser-url option. This is useful if you are running the MCP server in a sandboxed environment that does not allow starting a new Chrome instance.
Here is a step-by-step guide on how to connect to a running Chrome instance:
Step 1: Configure the MCP client
Add the --browser-url option to your MCP client configuration. The value of this option should be the URL of the running Chrome instance. http://127.0.0.1:9222 is a common default.
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": [
"chrome-devtools-mcp@latest",
"--browser-url=http://127.0.0.1:9222"
]
}
}
}Step 2: Start the Chrome browser
Warning
Enabling the remote debugging port opens up a debugging port on the running browser instance. Any application on your machine can connect to this port and control the browser. Make sure that you are not browsing any sensitive websites while the debugging port is open.
Start the Chrome browser with the remote debugging port enabled. Make sure to close any running Chrome instances before starting a new one with the debugging port enabled. The port number you choose must be the same as the one you specified in the --browser-url option in your MCP client configuration.
For security reasons, Chrome requires you to use a non-default user data directory when enabling the remote debugging port. You can specify a custom directory using the --user-data-dir flag. This ensures that your regular browsing profile and data are not exposed to the debugging session.
macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-profile-stableLinux
/usr/bin/google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-profile-stableWindows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="%TEMP%\chrome-profile-stable"Step 3: Test your setup
After configuring the MCP client and starting the Chrome browser, you can test your setup by running a simple prompt in your MCP client:
Check the performance of https://developers.chrome.com
Your MCP client should connect to the running Chrome instance and receive a performance report.
All modules related to simulation and quantum-biological state modification are subject to the Ethical Quantum-Biological Engineering (EQBE) protocol defined in AGENTS.md. This includes mandatory safety audits and adherence to non-disruption "Red Lines."
chrome-devtools-mcp exposes browser content to MCP clients. Avoid sharing sensitive information. Usage statistics are collected by default to improve performance (opt-out with --no-usage-statistics).
See Troubleshooting.
For a complete and automated installation of all components (Core, AI, Systems, and Simulator), use the Arkhe Setup Assistant:
python3 arkhe_setup_assistant.pyYou can also run verification to ensure system coherence:
python3 arkhe_setup_assistant.py --verifyThis repository is a monorepo that integrates standard browser automation with the Arkhe(n) experimental framework.
src/: Core TypeScript implementation of the MCP server, featuring standard DevTools tools and Arkhe-specific extensions.arkhe-core/: Central networking and synchronization logic for the Arkhe PTST (Phase Topology Space-Time) nodes.src/isa/: Definition of the Arkhé(n) Instruction Set Architecture (ISA) in Zig, governing low-level simulation opcodes.arkhe-direnv/: A Go-based utility for managing coherent shell environments.- Mobile Integration: Native implementations for Android and iOS nodes located in
android/andios/directories. - Verification Suite: A collection of Python and TypeScript scripts in
scripts/for validating system coherence and security.
Modules related to simulation and quantum-biological state modification are subject to the Ethical Quantum-Biological Engineering (EQBE) protocol defined in AGENTS.md. This includes mandatory safety audits and adherence to non-disruption "Red Lines."
For more details, consult the Quick Start Guide and the Implementation Summary.