Skip to content
Menu

Install

One line, then the API you already have.

Then wire the API you already have. The key stays in the environment.

Command

terminal
curl -fsSL https://angularai-hq.github.io/AngularAI/install.sh | sh

The script puts angularai on your PATH. It does not read or store a key. If uv is missing, it installs it first. Run it as your user, not as root. ANGULARAI_INSTALL_PLAN=1 prints what it would do and changes nothing.

Read install.sh

Wire

The cortex is ~/.angularai/default, readable only by you. The key is not a field in the cortex.

angularai setup

Pick a provider, a model, and a key. The key is hidden as you type and never shown again, only its tail: sk-…a1b2. One tiny call tests it, then it is saved and made active. angularai in a terminal with nothing set up offers this first.

Or keep the key in the environment and wire the cortex:

export OPENAI_API_KEY=...
angularai wire openai --model <model>

export ANTHROPIC_API_KEY=...
angularai wire anthropic --model <model>

export ANGULARAI_API_KEY=local
angularai wire compatible --model <model> --base-url http://127.0.0.1:11434/v1

From a checkout, uv sync then uv run angularai. uv tool install --editable . puts the command on your PATH.

Speak

angularai say "I have a blue notebook."
angularai say "What color is the notebook?"
angularai

angularai in a terminal is the session. / opens the commands. /clear clears the screen. The cortex stays on disk. angularai say prints only the reply.

The session opens on the mark for about a second, before the setup offer. A key skips it. NO_COLOR shows it still. ANGULARAI_NO_BOOT=1 leaves it out.

Verify

uv run ruff check
uv run ruff format --check
uv run mypy
uv run pytest --cov
uv build

CI runs the same five on Linux and macOS, Python 3.12 and 3.13, for every pull request and every push to main, then the same five in packages/angularai-mcp. Coverage under 80% fails, in each. uv sync --all-packages installs both.

tests/test_prop_*.py are Hypothesis properties: the budget, secrets, the lock, the sandbox, the log, the provider layer, and cortexes that talk. HYPOTHESIS_PROFILE=ci runs more examples from a fixed seed, as CI does. The default is dev.

The invariant is tests/test_membrane.py, and for the agent tests/test_agent.py. A fact from the start of a long life is in the workspace, an unrelated episode that would have fit is not, and every call stays inside the budget. The agent reads the file it asked for. The file it did not ask for is not sent.