Getting Started
A-Society is a standalone repository that sits alongside your project. This guide walks you from zero to your first initialized project flow.
Requirements: Node.js ≥ 18, npm, git.
One-line install
Clone the framework and install runtime dependencies in a single step — no PATH changes, no global installs:
curl -fsSL https://a-society.dev/install.sh | bashTo install into a specific directory, pass it as an argument:
curl -fsSL https://a-society.dev/install.sh | bash -s -- /path/to/workspaceThen start the runtime and continue from Step 3 below:
npm --prefix ./a-society/runtime startPrefer to set it up by hand? Follow the manual steps below.
Step 1 — Set up your workspace
Clone A-Society into a workspace directory. Any projects you want to use with it live alongside it in the same parent folder — not inside it.
your-workspace/├── a-society/ ← the framework (clone here)└── my-project/ ← your project (or create one from the UI)git clone https://github.com/KartikGS/a-society.gitA-Society never modifies files in your project directory. It adds an a-docs/ folder inside your project during initialization, and that’s the only change it makes to your project’s structure.
Step 2 — Install and start the runtime
npm --prefix ./a-society/runtime installnpm --prefix ./a-society/runtime run build:uinpm --prefix ./a-society/runtime startThe runtime opens at http://localhost:3000.
The first time you start, the Settings panel opens automatically and stays open until you configure and activate a model. Subsequent starts go directly to the project selector.
Step 3 — Configure a model
Fill in the Settings panel:
| Field | What to enter |
|---|---|
| Provider | Any OpenAI-compatible provider (via its base URL), or Anthropic |
| API key | From your provider’s dashboard |
| Model ID | From your provider’s model catalog |
Any OpenAI-compatible provider (Hugging Face, OpenRouter, self-hosted, and others) or Anthropic’s API is supported. Get your API key from your provider’s dashboard, and for an OpenAI-compatible provider enter its base URL in the Provider field. See Model Configuration for provider types and reasoning options.
Click Save then Set as Active. The settings panel closes and you’re taken to the project selector.
Step 4 — Select or create a project
The project selector shows three categories:
Initialized projects — projects with a complete a-docs/ layer. Click any of these to see its existing records and open a new one.
Uninitialized projects — project folders found in your workspace that lack a-docs/. Click one to run the scaffold and initialization flow.
Create New Project — enter a project name. The runtime creates a folder in your workspace, scaffolds the compulsory a-docs/ surfaces, and immediately opens the Owner initialization flow.
What initialization does
The initialization flow runs an Owner agent session that:
- Reads your project (or asks targeted questions for a new project)
- Fills the scaffolded
a-docs/surfaces:agents.md, roles, indexes, workflow, and project-information documents - Asks you to review and approve each surface before the project is considered ready
This typically takes one focused session. Once complete, the project is initialized and all future flows work through the designed workflow.
Step 5 — Start your first flow
From the initialized project view, click New Record. The runtime opens a draft flow and routes it to the Owner node. The Owner reads the active context (your a-docs/, the workflow contract, and any relevant handoff artifacts) and asks what you want to work on.
What happens at the end of a flow
When the forward pass closes, the runtime optionally runs a backward-pass meta-analysis: each participating role reflects on what went well, what caused friction, and what could improve. The runtime offers two modes — graph-based (roles reflect in reverse order of participation, following the flow structure) or parallel (all participating roles reflect concurrently). Afterward, the runtime optionally asks whether to generate upstream feedback for A-Society.
Next steps
- Runtime Guide — full reference for the browser UI and operator-facing behavior
- Concepts — mental models for
a-docs/, roles, workflows, flows, and the backward pass