Skip to main content

Atomsh

Your autonomous coding agent for science.

Atomsh reads and edits files, searches the codebase, and runs commands from your terminal — and it can look a material up while doing it. It runs on AtomGPT alone: one account, no other provider.

Install

curl -fsSL https://atomgpt.org/install | bash

The installer uses uv when it is present, falls back to a virtualenv, and bootstraps uv if the system Python is unusable. Everything lands in an isolated environment with a launcher in ~/.local/bin. No sudo.

Connect

atomsh login

This opens atomgpt.org in your browser, you approve once, and the credential is stored 0600 in ~/.config/atomsh/auth.json. On a headless machine use atomsh login --key and paste an API key instead.

Use

atomsh                            # interactive session
atomsh "fix the failing test"     # run one prompt and exit
atomsh -c                         # resume this directory's last session
git diff | atomsh "review this"   # read a prompt from stdin
Flag Effect
-m, --model Pick a model (default gemma-4-26b)
-c, --continue Resume the most recent session for this directory
--yolo Do not ask before writing files or running commands
--readonly Refuse all writes and shell commands
--no-materials Leave out the AtomGPT materials tools

Commands: login, logout, whoami, models.

In a session: !<command> runs a shell command yourself, /history replays the conversation, /model switches model, /clear starts a fresh thread. Escape interrupts a response while it is streaming.

Permissions

By default atomsh asks before anything that writes a file or runs a command; reads and searches happen unattended. Answering a allows that tool for the rest of the session. A path outside the working directory always prompts, even after a.

Models

atomsh models lists what your account can use. The mcp.* models are excluded on purpose: those run the AtomGPT materials agent on the server and answer in prose rather than making tool calls, so they cannot drive a coding loop. Use them through a chat client instead.

Tools

read_file, write_file, edit_file, list_dir, glob_files, grep_files, bash.

Materials tools

atomsh connects to the AtomGPT MCP server with the same credential and carries six more tools by default: explore, build, predict, characterize, apply, validate. Each dispatches to a family of AtomGPT apps — JARVIS-DFT lookups, ALIGNN predictions, band structures, XRD, interfaces, protein folding — so the agent can look a material up instead of answering from the model's memory:

$ atomsh --materials "bandgap of silicon JVASP-1002 from JARVIS-DFT"
  · explore(app=/jarvis_dft/query, params={"jid": "JVASP-1002"})
OptB88vdW 0.731 eV · mBJ 1.277 eV · HSE 1.22 eV

The tool list is cached under ~/.local/share/atomsh/ and refreshed daily, and the MCP session is opened on first use, so carrying them costs nothing at startup. --no-materials leaves them out — worth doing for pure coding work, where a narrower tool surface is easier for the model.

Development

uv venv && uv pip install -e .
ATOMSH_API_KEY=sk-… atomsh --readonly "what does this repo do?"

ATOMSH_API_BASE points the client at a different deployment.

install.sh here is the canonical installer; atomgpt.org/install serves a copy of it.

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atomsh-0.1.0.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atomsh-0.1.0-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file atomsh-0.1.0.tar.gz.

File metadata

  • Download URL: atomsh-0.1.0.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for atomsh-0.1.0.tar.gz
Algorithm Hash digest
SHA256 28d7dbbe317aa663ae4741bb94c905a283d0e0acb137ba5a907d5661ea9bfde2
MD5 65e97b8a372aae2946885fce10dc3a4d
BLAKE2b-256 203a3aed063bed4c2ed96396cf15012623f2107492c296360389d8aaa8f971ef

See more details on using hashes here.

File details

Details for the file atomsh-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: atomsh-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for atomsh-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a21d691f0bf2fddf1844757f8bab48cdf60fafac8ffc158fb99673ebb5c431e
MD5 7c404a0d369082a80fa4c54d060e8497
BLAKE2b-256 23ec9589bc8254e90b0b09ec3b9e507a8b30f7947b839ba9b1d9dd8f6d527d50

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.9.2

2 files

2026.9.1

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page