Thank you for your interest in contributing to Arcon.
Arcon is a local-first AI companion with modular cognitive architecture. Contributions are welcome, but this project has strong architectural constraints. Please read this guide before opening a pull request.
Arcon treats memory, emotion, experience, reflection, and reasoning as independent software systems. The LLM is the communication layer — not the source of truth.
Current architectural phases:
- Phase A — Runtime Convergence (complete)
- Phase B — Memory Lifecycle (complete)
- Phase C — Retrieval + Context Selection (complete)
- Phase D — Cognitive Core (complete)
- Phase E — Reflection + Consolidation (complete)
Current capabilities:
- Tool-augmented conversations via ToolRegistry/ToolExecutor
- 5 registered tools: get_current_time, get_system_status, list_directory, read_file, search_files
- Strict tool input validation with structured error codes
- Case-insensitive tool name lookup
- Tool loop telemetry and diagnostics
- Node.js >= 20
- npm
- Python 3.11+ (for local inference service)
- NVIDIA GPU with CUDA (for inference)
npm installnpm run build# Run all tests across workspaces
npm test
# Or run tests for a specific workspace
npm test -w @arcon/ai
npm test -w @arcon/memory
npm test -w @arcon/personality
npm test -w @arcon/voice
npm test -w @arcon/serverTerminal 1 — Python inference service:
$env:ARCON_BASE_MODEL = "Qwen/Qwen3-4B"
$env:ARCON_ADAPTER_PATH = "training/outputs/arcon-v1/adapter"
$env:ARCON_ADAPTER_NAME = "arcon-v1"
python services/arcon-inference/main.pyTerminal 2 — Node.js runtime:
$env:ARCON_INFERENCE_BACKEND = "arcon-lora"
$env:ARCON_INFERENCE_BASE_URL = "http://127.0.0.1:8000"
$env:ARCON_ADAPTER_NAME = "arcon-v1"
npm startapps/
server/ # Canonical Express runtime
desktop/ # Desktop UI (out of scope)
packages/
ai/ # Chat orchestration, cognitive core, prompt building, inference, tool execution
cognition/ # Reasoning engine, intent plugins, strategy plugins
logger/ # Structured runtime logging
memory/ # SQLite repositories, memory pipeline, retrieval, reflection
personality/ # Identity, emotions, mood, interests, experiences
shared/ # Shared interfaces and common types
voice/ # Voice interface layer (STT/TTS)
services/
arcon-inference/ # Python FastAPI inference service (supports tools/tool_choice)
training/ # LoRA/QLoRA training scripts and datasets
docs/ # Architecture, design decisions, specifications
Use the GitHub issue tracker. Include:
- Environment (OS, Node version, Python version, GPU)
- Arcon version/commit
- Reproduction steps
- Expected vs actual behavior
- Relevant logs or error output
- Runtime configuration (redact secrets)
Use the GitHub issue tracker. Include:
- Problem statement
- Proposed solution
- Alternatives considered
- Architectural impact on memory, retrieval, cognition, or reflection
Use the GitHub issue tracker with the architecture label. Include:
- Problem
- Current architecture
- Proposed change
- Tradeoffs
- Memory/retrieval/cognitive implications
- Fork the repository and create a feature branch.
- Make your changes.
- Add tests for new behavior. Tests should cover both positive and negative cases.
- Ensure all existing tests pass.
- Update documentation if the change affects architecture or behavior.
- Submit a pull request using the PR template.
- Keep changes focused and reviewable.
- Do not combine unrelated changes in one PR.
- Do not introduce new architectural phases or major subsystems without prior discussion.
- Do not add vector databases, graph databases, or chain-of-thought exposure.
- Do not bypass existing memory lifecycle rules.
- Do not add model training runs or large artifacts.
Contributors should understand the following principles:
- Memory lifecycle is authoritative. All memory changes must flow through
MemoryPipeline. - Retrieval distinguishes relevance from validity. Invalid or stale memories must be excluded from normal retrieval.
- Memory scope matters. Scope filtering is enforced at the retrieval level.
- ContextSnapshot is structured internal state. It is not raw context exposed to the model.
- CognitiveDecision is structured cognitive output. It is not exposed chain-of-thought.
- Reflection must go through the memory lifecycle. Reflection proposes;
MemoryPipelinedecides. - The LLM is not the database, memory manager, personality manager, or source of truth.
- Update README.md if the change affects user-facing behavior.
- Update
docs/architecture.mdif the change affects architecture. - Update
docs/decisions.mdif the change introduces or modifies an architectural decision. - Update
docs/CHANGELOG.mdfor user-visible changes.
- Write clear, descriptive commit messages.
- Reference issue numbers when applicable.
- Do not commit secrets, local runtime data, or generated artifacts.
This project follows the Contributor Covenant. Be respectful and constructive.