AI Agents
Project-local skills are documented in Agent Skills.
Codex
Login in through the TUI.
Claude Code
Home Manager installs Claude Code and writes ~/.claude/settings.json.
Claude Code uses the Umans Anthropic-compatible API:
https://api.code.umans.ai/v1/messages
The base URL in config is https://api.code.umans.ai; Claude Code appends the
Anthropic API path itself.
Authentication comes from apiKeyHelper, which reads:
/run/secrets/umans_key
This keeps the API key out of the Nix store.
Ownership
conf/shared.nix:pkgsUnstable.claude-codeconf/shared.nix:home.file.".claude/settings.json"conf/shared.nix:sops.secrets.umans_keyconf/secrets/owais.yaml: encryptedumans_key
Models
Default model:
umans-glm-5.2
Fallback model:
umans-coder
The settings map Claude Code's model aliases to Umans models:
fable,opus, andsonnet:umans-glm-5.2haiku:umans-coder
Gateway model discovery is enabled. No external search provider is configured; web search should come from the model/provider if Umans exposes it natively.
Validate
After rebuilding, open a fresh shell and run:
claude doctor
claude
Inside Claude Code, run:
/status
/model
/status should show the Umans base URL.
/model should show the configured models or the aliases mapped to those models.