Quick Start
Install
Section titled “Install”curl -fsSL https://archcore.ai/install.sh | bashDownload archcore.exe from the latest release and add it to your PATH.
# Example: move to a directory in your PATHMove-Item archcore.exe C:\Users\$env:USERNAME\.local\bin\Install WSL, then run inside it:
curl -fsSL https://archcore.ai/install.sh | bashInitialize Your Project
Section titled “Initialize Your Project”cd your-projectarchcore initThis does three things:
- Creates
.archcore/directory withsettings.json - Auto-detects your coding agents (Claude Code, Cursor, Copilot, etc.)
- Installs MCP server config and session hooks for detected agents
Create Your First Document
Section titled “Create Your First Document”The easiest way is to ask your AI agent:
“Create an ADR about using PostgreSQL for our database”
The agent will use the create_document MCP tool and generate a document from the ADR template with the proper structure, frontmatter, and required sections.
You can also create documents manually:
mkdir -p .archcore/databaseCreate .archcore/database/use-postgres.adr.md:
---title: Use PostgreSQL as Primary Databasestatus: accepted---
## Context
We need a reliable relational database for our application.
## Decision
Use PostgreSQL for all persistent data storage.
## Alternatives Considered
- MySQL — fewer advanced features (JSONB, arrays, CTEs)- MongoDB — doesn't fit our relational data model
## Consequences
### Positive- Strong ACID guarantees- Excellent ecosystem and tooling- JSONB for semi-structured data when needed
### Negative- Requires schema migrations for changes- Horizontal scaling is more complex than NoSQLValidate
Section titled “Validate”Check that everything is structured correctly:
archcore validateUse With Your Agent
Section titled “Use With Your Agent”Start a conversation with your coding agent. It now has access to your .archcore/ documents through MCP.
Try asking:
- “What architectural decisions have been made?”
- “Create a rule for database migrations based on the PostgreSQL ADR”
- “List all documents and their relations”
Update
Section titled “Update”To update to the latest version:
archcore updateWhat’s Next
Section titled “What’s Next”- Philosophy — the design principles behind archcore
- Document Types — learn all 10 types and when to use each
- CLI Commands — full reference for the CLI