Metadata-Version: 2.4
Name: aicp-eat
Version: 1.1.0
Summary: AI Connects Python — Eat Every Python Library → HTTP API
Project-URL: Homepage, https://github.com/woozheng/aicp-eat
Author: dvwoo
License: MIT
License-File: LICENSE
Keywords: agent,ai,api,auto-api,eat,http,library,llm,protocol,python
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: aiohttp>=3.9
Requires-Dist: openai>=1.0
Requires-Dist: pyyaml>=6.0
Description-Content-Type: text/markdown

# AICP-EAT

## Eat Every Python Library → HTTP API.

```bash
pip install aicp-eat
```
## Eat whatever you want

```bash
pip install pandas
python eater/eat.py pandas            # Standard library — feed it to eat.py

pip install numpy
python eater/eat.py numpy             # Standard library — feed it to eat.py

pip install pillow
python eater/eat_pil.py               # Nested modules — throw it to AI, let it generate a custom script

pip install langchain-community
python eater/eat_langchain.py         # Nested modules — throw it to AI, let it generate a custom script
```

```text
plugins/
├── pandas.py              → 102 functions
├── numpy.py               → 460 functions
├── PIL.py                 → 664 functions
└── langchain_community.py → 7512 functions
────────────────────────────────────────
Total: 8738 functions. 4 files.
```
and more. Come eat.

## Run

```bash
# Set your API key in aicp.yaml, or:
export AGGREGATOR_API_KEY="sk-your-key"  # Windows: setx AGGREGATOR_API_KEY "sk-your-key"

aicp
```
```bash
curl -X POST http://localhost:9000/api/pandas \
  -H "Content-Type: application/json" \
  -d '{"function":"array","args":{"data":[1,2,3,4,5]}}'
```
Return

```json
{
  "result": "IntegerArray\n[1, 2, 3, 4, 5]\nLength: 5, dtype: Int64",
  "source": "pandas"
}
```
Open http://localhost:9000, browse the API menu at /api/pandas, /api/numpy, /api/PIL, /api/langchain_community. Each one has a help() with all functions listed.


## [Why eat the entire Python ecosystem? →](/docs/Journey.md)

Go calls pandas. Rust calls numpy. Frontend calls LangChain. Any language, HTTP everything.

##  AI reads help(). AI orchestrates. 80 lines engine.AI-Generated Experiments 

AI read the AICP protocol and generated complete systems across seven domains. Each from a single human sentence.

| Experiment | Domain | Human Said |
|---|---|---|
| [aicp-os-kernel](https://github.com/woozheng/aicp-os-kernel) | OS Kernel | Microkernel OS |
| [aicp-quantum](https://github.com/woozheng/aicp-quantum) | Quantum Computing | Quantum computing simulator |
| [aicp-protein](https://github.com/woozheng/aicp-protein) | Protein Folding | Protein folding |
| [aicp-llm-trainer](https://github.com/woozheng/aicp-llm-trainer) | LLM Training | LLM distributed training |
| [aicp-riemann](https://github.com/woozheng/aicp-riemann) | Riemann Hypothesis | How to approach and verify the Riemann Hypothesis |
| [aicp-ai-chip](https://github.com/woozheng/aicp-ai-chip) | AI Chip | AI intelligent chip computing system |
| [aicp-raw-experiments](https://github.com/woozheng/aicp-raw-experiments) | Raw Experiments | More raw experiments |

[→ More about the protocol](/docs/AICP_Protocol_v3.md)

## Dependencies

- Python >= 3.10
- aiohttp >= 3.9
- openai >= 1.0
- pyyaml >= 6.0

*Eat it, Eat it, Eat it, Eat it*  
*No one wants to be defeated*  
*Showin' how funky and strong is your fight*  
*It doesn't matter who's wrong or right*  
*Just eat it, eat it*  
*Just eat it, eat it*

---
[See More →](/docs/Journey.md)

## [MIT License](LICENSE) · Dvwoo