alpiecode 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ Metadata-Version: 2.4
2
+ Name: alpiecode
3
+ Version: 0.6.0
4
+ Summary: AlpieCode — Autonomous AI Coding Agent CLI powered by local 169Pi GGUF VLM
5
+ Requires-Python: >=3.9
6
+ Requires-Dist: huggingface_hub>=0.20.0
7
+ Requires-Dist: rich>=13.0
8
+ Requires-Dist: click>=8.0
9
+ Requires-Dist: openai>=1.0.0
10
+ Requires-Dist: httpx>=0.24.0
11
+ Requires-Dist: duckduckgo-search>=7.0.0
12
+ Requires-Dist: beautifulsoup4>=4.12.0
13
+ Requires-Dist: yt-dlp>=2024.0.0
14
+ Requires-Dist: imageio-ffmpeg>=0.4.0
@@ -0,0 +1,74 @@
1
+ # AlpieCode
2
+
3
+ Autonomous AI Coding Agent CLI backed by 169Pi Alpie VLM / OpenAI-compatible endpoint
4
+ (speaks the `/v1/chat/completions` tool-calling protocol).
5
+
6
+ ```
7
+ _ _ _ ____ _
8
+ / \ | |_ _| | ___ / ___|___ __| | ___
9
+ / _ \ | | '_ \ |/ _ \ | / _ \ / _` |/ _ \
10
+ / ___ \| | |_) | | __/ |__| (_) | (_| | __/
11
+ /_/ \_\_|_.__/|_|\___|\____\___/ \__,_|\___|
12
+ ```
13
+
14
+ ## Quick Start
15
+
16
+ ```bash
17
+ git clone <repo-url>
18
+ cd codeagent-poc
19
+ uv venv && source .venv/bin/activate
20
+ uv pip install -e .
21
+ ```
22
+
23
+ The defaults point directly to the team's Alpie VLM endpoint (`http://20.245.200.125:8000/v1` with model `169Pi/grpo_phase_2_merged`), so you can start using it immediately:
24
+
25
+ ```bash
26
+ cd your-repo
27
+ alpiecode "explain what this project does"
28
+ # or
29
+ alpiecode run "fix the failing test in tests/test_foo.py"
30
+ ```
31
+
32
+ ## Usage
33
+
34
+ ### 1. Direct Task Execution
35
+ ```bash
36
+ alpiecode "create a python script to calculate fibonacci numbers and add unit tests"
37
+ ```
38
+
39
+ ### 2. Explicit Run Subcommand
40
+ ```bash
41
+ alpiecode run "refactor database connection in main.py" --max-turns 30
42
+ ```
43
+
44
+ ### 3. Interactive Chat Mode
45
+ ```bash
46
+ alpiecode chat
47
+ ```
48
+ Maintains context across multiple prompts in an interactive REPL session. Type `exit` or `quit` to stop.
49
+
50
+ ### 4. Configuration (Optional)
51
+ ```bash
52
+ alpiecode init
53
+ ```
54
+ Configures custom endpoint settings saved to `~/.alpiecode/config.json`. Or set env vars:
55
+ ```bash
56
+ export ALPIECODE_BASE_URL=http://your-host:8000/v1
57
+ export ALPIECODE_MODEL=169Pi/grpo_phase_2_merged
58
+ ```
59
+
60
+ ## Built-in Tool Support
61
+ AlpieCode comes equipped with native tool calling:
62
+ - **`list_files`**: Inspect repository directory structure.
63
+ - **`read_file`**: Read file contents with line range filtering.
64
+ - **`write_file`**: Create new files or overwrite existing ones.
65
+ - **`edit_file`**: Make exact, targeted line string replacements.
66
+ - **`bash`**: Execute shell commands/tests in the repository directory.
67
+
68
+ ## Automatic Checkpoints
69
+ AlpieCode automatically initializes `git` if not already present and creates a commit checkpoint after every turn.
70
+ If you ever need to rollback:
71
+ ```bash
72
+ git log --oneline
73
+ git reset --hard <checkpoint-sha>
74
+ ```
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "alpiecode"
7
+ version = "0.6.0"
8
+ description = "AlpieCode — Autonomous AI Coding Agent CLI powered by local 169Pi GGUF VLM"
9
+ requires-python = ">=3.9"
10
+ dependencies = [
11
+ "huggingface_hub>=0.20.0",
12
+ "rich>=13.0",
13
+ "click>=8.0",
14
+ "openai>=1.0.0",
15
+ "httpx>=0.24.0",
16
+ "duckduckgo-search>=7.0.0",
17
+ "beautifulsoup4>=4.12.0",
18
+ "yt-dlp>=2024.0.0",
19
+ "imageio-ffmpeg>=0.4.0",
20
+ ]
21
+
22
+ [project.scripts]
23
+ alpiecode = "codeagent.cli:main"
24
+ codeagent = "codeagent.cli:main"
25
+
26
+ [tool.setuptools.packages.find]
27
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,14 @@
1
+ Metadata-Version: 2.4
2
+ Name: alpiecode
3
+ Version: 0.6.0
4
+ Summary: AlpieCode — Autonomous AI Coding Agent CLI powered by local 169Pi GGUF VLM
5
+ Requires-Python: >=3.9
6
+ Requires-Dist: huggingface_hub>=0.20.0
7
+ Requires-Dist: rich>=13.0
8
+ Requires-Dist: click>=8.0
9
+ Requires-Dist: openai>=1.0.0
10
+ Requires-Dist: httpx>=0.24.0
11
+ Requires-Dist: duckduckgo-search>=7.0.0
12
+ Requires-Dist: beautifulsoup4>=4.12.0
13
+ Requires-Dist: yt-dlp>=2024.0.0
14
+ Requires-Dist: imageio-ffmpeg>=0.4.0
@@ -0,0 +1,20 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/alpiecode.egg-info/PKG-INFO
4
+ src/alpiecode.egg-info/SOURCES.txt
5
+ src/alpiecode.egg-info/dependency_links.txt
6
+ src/alpiecode.egg-info/entry_points.txt
7
+ src/alpiecode.egg-info/requires.txt
8
+ src/alpiecode.egg-info/top_level.txt
9
+ src/codeagent/__init__.py
10
+ src/codeagent/agent.py
11
+ src/codeagent/cli.py
12
+ src/codeagent/compaction.py
13
+ src/codeagent/config.py
14
+ src/codeagent/github.py
15
+ src/codeagent/guardian.py
16
+ src/codeagent/local_model.py
17
+ src/codeagent/media.py
18
+ src/codeagent/memory.py
19
+ src/codeagent/tools.py
20
+ src/codeagent/updater.py
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ alpiecode = codeagent.cli:main
3
+ codeagent = codeagent.cli:main
@@ -0,0 +1,9 @@
1
+ huggingface_hub>=0.20.0
2
+ rich>=13.0
3
+ click>=8.0
4
+ openai>=1.0.0
5
+ httpx>=0.24.0
6
+ duckduckgo-search>=7.0.0
7
+ beautifulsoup4>=4.12.0
8
+ yt-dlp>=2024.0.0
9
+ imageio-ffmpeg>=0.4.0
@@ -0,0 +1 @@
1
+ codeagent
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0"