Metadata-Version: 2.4
Name: berry-cli
Version: 0.1.3
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: System :: Shells
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: llama-cpp-python>=0.2.0
Requires-Dist: numpy>=1.24
Requires-Dist: tqdm>=4.60
Requires-Dist: pytest>=7.0 ; extra == 'dev'
Requires-Dist: ruff ; extra == 'dev'
Provides-Extra: dev
License-File: LICENSE
Summary: Berry CLI — High-performance Rust autonomous agent runtime: shell, tasks, processes, files, env by Cognitus Lab.
Keywords: berry,berry-cli,agent,autonomous-agents,runtime,rust,cli,ai
Author: Cognitus Lab
Requires-Python: >=3.9
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/Cognitus-Lab/Berry_CLI
Project-URL: Issues, https://github.com/Cognitus-Lab/Berry_CLI/issues
Project-URL: Repository, https://github.com/Cognitus-Lab/Berry_CLI

# Berry CLI

[![PyPI Version](https://img.shields.io/pypi/v/berry-cli.svg)](https://pypi.org/project/berry-cli/)
[![Python Versions](https://img.shields.io/pypi/pyversions/berry-cli.svg)](https://pypi.org/project/berry-cli/)
[![License: Proprietary](https://img.shields.io/badge/License-Cognitus%20Proprietary-red.svg)](./LICENSE)

**Berry CLI™** is an enterprise-grade autonomous developer agent and execution runtime engineered by **Cognitus Lab**. Designed for deep code intelligence, automated debugging, and terminal operations, Berry is built on a compiled, high-performance native Rust core (`axim_core`) and a hardened C-native agentic execution engine.

---

> ### ⚠️ Proprietary Notice & License Terms
> **Berry CLI™ is 100% Cognitus Lab Property.**
> This software is licensed for execution only under the terms of the **Cognitus Lab Proprietary End User License Agreement (EULA)**.
> - **Execution-Only License:** Conditioned upon compliance with the EULA, users are licensed to download and run compiled packages for personal and development workflows.
> - **Strict Restrictions:** Resale, sublicensing, unauthorized mirroring, commercial redistribution, and decompilation/reverse-engineering are strictly prohibited.
> - See the full [LICENSE](./LICENSE) for legal terms.

---

## Key Features

- **⚡ Native Rust Execution Core:** Built with a compiled, symbol-stripped Rust runtime managing high-speed shell execution, background task pipelines, file operations, and process sandboxing.
- **🛡️ Security Governor:** Enforces strict path containment, command allowlists, secret redaction, and auditable governance logs for every automated action.
- **🤖 Autonomous Agent Loop:** Capable of multi-step problem solving, automated git operations, test execution, and code synthesis.
- **🧠 Crash-Resilient RCR Memory:** Real-time contextual recall (RCR) and episodic memory for long-running developer sessions.
- **🔒 Anti-Reverse-Engineering Architecture:** Production wheels ship as stripped native machine code binaries (`.so` / `.pyd`) with zero plaintext source code.

---

## Installation

Install Berry CLI directly from PyPI:

```bash
pip install berry-cli
```

---

## Quick Start

Once installed, the `berry` command is available directly in your terminal:

```bash
# View all available commands and options
berry --help

# Start an interactive agent chat session
berry chat

# Run an autonomous task in your project directory
berry run "Inspect the git status, run the test suite, and summarize failures"
```

### Python API Integration

You can also embed Berry's execution primitives directly in your Python workflows:

```python
from axim import Shell, Tasks, Procs, Env, Files, Sys, AximAgent

# 1. Execute a sandboxed shell command
result = Shell.run("git status --short")
print(result.stdout)

# 2. Launch an autonomous agent task
agent = AximAgent()
result = agent.run("Review recent commits and report changes")
print(result)
```

---

## Support & Enterprise Licensing

For enterprise deployments, commercial licensing, or support:
- **Organization:** Cognitus Lab
- **Repository:** [https://github.com/Cognitus-Lab/Berry_CLI](https://github.com/Cognitus-Lab/Berry_CLI)
- **License:** 100% Cognitus Lab Property (EULA) — See [LICENSE](./LICENSE).

