Provider-agnostic coding-agent CLI shims
Project description
agentshim
agentshim is a small Python package that wraps coding-agent CLIs behind a
stable interface for higher-level runtimes.
It currently includes:
- a
CodingAgentbase class and provider registry - CLI adapters for Claude Code, Codex, Gemini, and Opencode
- MCP server config dataclasses
- sandbox settings helpers for Claude Code
- a lightweight litellm client and isolated subagent helper
- a trajectory protocol with a no-op implementation
Install
pip install agentshim
For development:
uv sync --dev
uv run pytest
Quick Example
from agentshim.claude import ClaudeCodeCodingAgent
agent = ClaudeCodeCodingAgent(model="sonnet")
result = agent.generate("Summarize the repository layout.", cwd=".")
print(result)
Publishing
Build locally with:
uv build
Publish with:
uv publish
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentshim-0.1.0.tar.gz.
File metadata
- Download URL: agentshim-0.1.0.tar.gz
- Upload date:
- Size: 201.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14b290db39aa09cc498fde9566c8c127af1d3db2ba05be1e89a1fe6174535ed0
|
|
| MD5 |
da6e824ae02f63d5c55e46f808fdfc12
|
|
| BLAKE2b-256 |
3d6deba163c1bdb4bb474609f5ceb04783c05dc03a79ddbfdcae5a2c4ec6d80a
|
Provenance
The following attestation bundles were made for agentshim-0.1.0.tar.gz:
Publisher:
publish.yml on vic-lsh/agentshim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentshim-0.1.0.tar.gz -
Subject digest:
14b290db39aa09cc498fde9566c8c127af1d3db2ba05be1e89a1fe6174535ed0 - Sigstore transparency entry: 1359011100
- Sigstore integration time:
-
Permalink:
vic-lsh/agentshim@e5db8b0340d3b3affc0845bbaf34c01b3010228a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/vic-lsh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5db8b0340d3b3affc0845bbaf34c01b3010228a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file agentshim-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentshim-0.1.0-py3-none-any.whl
- Upload date:
- Size: 37.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf1a271b8f457d738bc7048a52d7074724e17be1ac1d71f499ea696e93f959e9
|
|
| MD5 |
960e0d9f631e2fcc3a45791fa95d2f6a
|
|
| BLAKE2b-256 |
9e0f1dcb4789fa2a94951c822d4156636b51410fb2ea6ea937a27f347b631cb3
|
Provenance
The following attestation bundles were made for agentshim-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on vic-lsh/agentshim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentshim-0.1.0-py3-none-any.whl -
Subject digest:
cf1a271b8f457d738bc7048a52d7074724e17be1ac1d71f499ea696e93f959e9 - Sigstore transparency entry: 1359011188
- Sigstore integration time:
-
Permalink:
vic-lsh/agentshim@e5db8b0340d3b3affc0845bbaf34c01b3010228a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/vic-lsh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e5db8b0340d3b3affc0845bbaf34c01b3010228a -
Trigger Event:
workflow_dispatch
-
Statement type: