Local CLI coding agent that turns plans into reviewed, PR-ready code.
Bring your own model. Sandboxed by default.
Get Started
Alysis Code requires Python 3.11+ and runs on macOS, Linux, and Windows.
1 — Install
pipx install alysis-code
2 — Launch in your project
cd your-project
alysis-code
The first run opens a guided setup wizard: choose Use an API key or Use an AI subscription,
connect a provider, and pick your default model. Re-run it anytime with alysis-code setup.
(alysis works too, as a short alias.)
3 — Start building
alysis-code chat # interactive coding session
alysis-code run "Fix the failing tests" # one-shot task
Bring your own key from any supported provider — or point Alysis Code at a local endpoint (Ollama,
LM Studio, vLLM) and run fully offline. The /config picker lists every preset. Full walkthrough:
Quickstart guide.
Why Alysis Code
- Easy to use — a full coding agent behind a clean, convenient terminal interface that anyone can pick up and play with in minutes: slash commands, interactive pickers, and live status built in.
- Built for every developer — from solo scripts to team servers and CI, the same agent fits every workflow.
- Forge Mode — plan-driven execution for larger work: plan, dispatch parallel workers, verify each task, ship PR-ready code.
- Orchestrated subagents — isolated workers run in parallel, verification is pinned to their exact candidates, and changes apply only after host-side conflict checks.
- Free built-in web search — model-independent
web_searchthat works with any provider, at no extra cost. - Bring your own model — OpenAI, Anthropic, DeepSeek, Qwen, Gemini, Mistral, Xiaomi MiMo, OpenRouter, xAI, and more — plus local endpoints (Ollama, LM Studio, vLLM) for fully offline use.
- Deeply extensible — skills, custom tools, MCP servers, hooks, subagents, and plugins, bundled in one declarative manifest.
- Sandboxed by default — Docker or Bubblewrap
isolation with an always-on denylist that refuses
rm -rf /,curl | sh, andsudo— even infullaccess.
Shell and verification commands default to strict sandboxing. Verification can run outside that
sandbox only when explicitly configured with verify_sandbox.mode="off" or
ALYSIS_VERIFY_SANDBOX_MODE=off.
Modes & Personas
Two layers control what the agent may do — one enforces, one focuses.
Execution modes are the enforcement layer. Choose one per command with --mode, switch in chat
with /mode, or set a default with alysis-code config set default_mode <mode>:
| Mode | Behavior |
|---|---|
readonly |
Inspection only — no file writes, shell, MCP, or subagent delegation. |
review |
The safe default — previews and asks before every write and shell command. |
auto |
Applies routine edits with fewer prompts; dangerous operations stay blocked. |
fullaccess |
No mode-level prompts for trusted workspaces — the denylist and audit log stay active. |
Personas are working postures layered on top. Switch with /persona, or cycle with Tab in
the TUI:
| Persona | Posture |
|---|---|
code |
Implementation — the default, full coding workflow. |
architect |
Planning and design — may write markdown documents only. |
ask |
Read-only questions and codebase exploration. |
debug |
Reproduce the failure first, then fix minimally and rerun the reproduction. |
A persona is a convention, never a permission: it can keep or lower your execution mode, but can
never raise it. Define your own in .alysis_personas/*.md.
Learn more
Project Links
- Website
- Documentation — also mirrored in docs/
- Changelog
- Contributing — local setup and PR expectations
- Security policy — report vulnerabilities privately, never through public issues
License
Apache-2.0. You're free to use, modify, and distribute this code, including commercially, as long as you keep the attribution and license notices. See LICENSE and NOTICE.
FAQ
Where did Alysis Code come from?
Alysis Code is not a fork. The agent runtime, Forge orchestration, subagent system, terminal interface, and sandbox layer were designed and built from zero by the Alysis AI team.
Is Alysis Code really open source?
Yes. The entire CLI is Apache-2.0 licensed. Bring your own API key from any supported provider, or run fully offline against a local endpoint — nothing in the agent requires a paid account.
More questions? See the full FAQ.
Join the community — X | GitHub Issues
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alysis_code-0.13.6.tar.gz.
File metadata
- Download URL: alysis_code-0.13.6.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fff3aa9735049951f2a248b8f5b26eb40b12480255c115d9448c560fe2812b9b
|
|
| MD5 |
db8a0d6a6b84d85b8f66b6fe844a79e9
|
|
| BLAKE2b-256 |
3a900315e28d60e8f15a76e235e3a17b26a44ee94b0e6f3cc3bcacb61b69da3c
|
Provenance
The following attestation bundles were made for alysis_code-0.13.6.tar.gz:
Publisher:
release.yml on AlysisAi/alysis-code
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alysis_code-0.13.6.tar.gz -
Subject digest:
fff3aa9735049951f2a248b8f5b26eb40b12480255c115d9448c560fe2812b9b - Sigstore transparency entry: 2756520564
- Sigstore integration time:
-
Permalink:
AlysisAi/alysis-code@1eb180372c2c78043167d3d312f685e63ddf31d6 -
Branch / Tag:
refs/tags/v0.13.6 - Owner: https://github.com/AlysisAi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1eb180372c2c78043167d3d312f685e63ddf31d6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file alysis_code-0.13.6-py3-none-any.whl.
File metadata
- Download URL: alysis_code-0.13.6-py3-none-any.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e61d41ab916a8fb6fbea46dc0c8fb7bf39989d296ee3ccedacc7beaa167e69a
|
|
| MD5 |
b948afee03bf36885fcba47671bab894
|
|
| BLAKE2b-256 |
c3e1ade0a5d66400a7e821dd940116165347f69f1ba4b34ef2797e586283e8e2
|
Provenance
The following attestation bundles were made for alysis_code-0.13.6-py3-none-any.whl:
Publisher:
release.yml on AlysisAi/alysis-code
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alysis_code-0.13.6-py3-none-any.whl -
Subject digest:
1e61d41ab916a8fb6fbea46dc0c8fb7bf39989d296ee3ccedacc7beaa167e69a - Sigstore transparency entry: 2756520611
- Sigstore integration time:
-
Permalink:
AlysisAi/alysis-code@1eb180372c2c78043167d3d312f685e63ddf31d6 -
Branch / Tag:
refs/tags/v0.13.6 - Owner: https://github.com/AlysisAi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1eb180372c2c78043167d3d312f685e63ddf31d6 -
Trigger Event:
push
-
Statement type: