Skip to main content
          :@@@@@@@@@@@@@=-
         @.              @@@%-=
      @@@                    @@
    @@+  =+  @@@@@@@@@@@+=+: .
   *@@=@@@@%@#%%#****##@@@@@@@*-  @@:=
  @ @@           *@@@@@@#++ ::=*#%  @-=
  @-                 +@@@%*   +*%%* .:-
   @@@@@@@@@@@@@@@@@  @  @@@#*+#%@*+ @.=
 = @%+@@@@@@@@@@@@@@@@@   @#%=+%@+@@@@.+=
 @ @#@@@@@@@@@@@@@@@@@@@ . %#+#@+ #+:@==.
@@ @*@@      @@@@@@@@@@@@-=@#%%@ @ +@+%
@% @=@@      @@@@@@@@@@@@.=@%%@@@@:%-@ %%
%@ @=@@      @@      @@@@ =@%#@*@%@*%@ @%
 - @=@@      @@      @@@@ +@%#@@@@@*%@ @@
   @+@#%%@@@@@@@@@@@@@@@@ +@%%%@.@-%@@@%
   @#@@@@@#@@%%%@%@@@@@@@ +@%%%#.=@#@#
   @@@%%%@%%%@%%@%@@@@%@@-=%%#@+% +=+
      @@@@@@@@@@@@@@@@@@   %%@@*%#
    =@    @@@@@@@@@@@@@  @@@@@*=
      @@@@@*+         -@@@@@@%#  %
      -=#@@@@@@@@@@@@@@@@@@-.  @@@

  ██████╗ ██████╗ ███████╗███╗   ███╗ ██████╗
 ██╔════╝██╔═══██╗╚══███╔╝████╗ ████║██╔═══██╗
 ██║     ██║   ██║  ███╔╝ ██╔████╔██║██║   ██║
 ██║     ██║   ██║ ███╔╝  ██║╚██╔╝██║██║   ██║
 ╚██████╗╚██████╔╝███████╗██║ ╚═╝ ██║╚██████╔╝
  ╚═════╝ ╚═════╝ ╚══════╝╚═╝     ╚═╝ ╚═════╝

Cozmo

CLI coding agent for your repo. One command. Provider setup. Then it indexes and works.

pip install cozmo-agent
cd ~/your-project
cozmo

Requires Python 3.11+.


What happens

  1. Install cozmo-agent (CLI binary is still cozmo)
  2. Run cozmo in any project
  3. First run: pick provider → paste key → pick model
  4. Cozmo writes config, indexes the repo, opens an interactive session

Type questions at the prompt. Exit with Ctrl+C or an empty quit.

cozmo                # interactive agent (normal use)
cozmo setup          # change provider / model / key

Config (where files land)

Path What
~/.cozmo/config.json Global settings + API key (created on first run)
$XDG_CONFIG_HOME/cozmo/config.json Same, if XDG_CONFIG_HOME is set
<repo>/.cozmo/ Index, traces, code graph
<repo>/.cozmo/config.json Optional project overrides
cozmo config         # print exact paths
cozmo config --show  # print JSON (key masked)
cozmo doctor         # effective settings
Example ~/.cozmo/config.json
{
  "provider": "openai",
  "model": "gpt-4o-mini",
  "api_key": "sk-...",
  "allow_write": true,
  "allow_shell": false,
  "max_agent_steps": 8
}

Load order: CLI flags → COZMO_* env → cwd .env → project config → global config → defaults


Commands

cozmo Interactive agent (default)
cozmo setup Interactive reconfigure
cozmo config Config paths
cozmo index Force re-index
cozmo chat LLM only, no tools
cozmo doctor Diagnose settings
cozmo -m "…" Optional one-shot (no REPL)

Stack (short)

  • Owned ReAct loop (no LangChain)
  • Tools: read/write, search, semantic search, git, symbols, graphs (shell gated)
  • Hybrid RAG: BM25 + embeddings
  • Providers: OpenAI, OpenRouter, Ollama, any OpenAI-compatible API
cozmo → config → index → AgentRunner
              LLM ↔ tools ↔ your files

Dev

git clone https://github.com/ShashwatXD/cozmo.git
cd cozmo
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest -q

Fun fact: Named after Anki Cozmo, the robot pet I always wanted. Learning project, not affiliated. PyPI package is cozmo-agent.

MIT

Metadata

Release files for cozmo-agent 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cozmo-agent 0.2.0
File Size Uploaded
cozmo_agent-0.2.0.tar.gz 76.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cozmo-agent 0.2.0
File Interpreter ABI Platform
cozmo_agent-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 154.4 kB

Release files / cozmo_agent-0.2.0.tar.gz

Download URL cozmo_agent-0.2.0.tar.gz
Size 76.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6e9109f9029c5496501f55d0dfb67711edfd761c2b14b19c2a2ab656b2b3b0f9
BLAKE2b-256 checksum
How to use checksums
35e5f7bcb12d7ef0e08b58a1923dfc257ba517075a6a16d98688510ab3b8c4f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

Release files / cozmo_agent-0.2.0-py3-none-any.whl

Download URL cozmo_agent-0.2.0-py3-none-any.whl
Size 77.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a647fc707285f5a86ba8070a57a79ab29a249af0b669df9075fe9194b158f91
BLAKE2b-256 checksum
How to use checksums
68ca9f75691c1b401a61433e4c459b49317e63c94a7aac70a956d5c6ecf3c95b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release 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