copass-config
Canonical strings shared across every Python Copass adapter. Python mirror of @copass/config.
This package owns the single source of truth (for Python) for:
- Tool descriptions the LLM sees (
DISCOVER_DESCRIPTION,INTERPRET_DESCRIPTION,SEARCH_DESCRIPTION,MCP_DISCOVER_DESCRIPTION) - Parameter descriptions (
DISCOVER_QUERY_PARAM,INTERPRET_ITEMS_PARAM, etc.) - System prompts (
COPASS_AGENT_MCP_SYSTEM_PROMPT,COPASS_AGENT_SDK_SYSTEM_PROMPT)
Every Python Copass adapter (copass-pydantic-ai, copass-langchain, copass-anthropic-agents, etc.) imports from here so the LLM sees identical tool semantics regardless of framework wrapping.
Install
pip install copass-config
Zero runtime dependencies.
Usage
from copass_config import DISCOVER_DESCRIPTION, COPASS_AGENT_SDK_SYSTEM_PROMPT
# Register a tool whose LLM-facing description matches every other
# Copass adapter:
my_tool = Tool(
name="discover",
description=DISCOVER_DESCRIPTION,
...
)
# Seed an agent with the canonical Copass system prompt:
agent = BaseAgent(
identity="copass-agent",
system_prompt=COPASS_AGENT_SDK_SYSTEM_PROMPT,
...
)
Keeping in sync with @copass/config
This package is hand-ported from the TS source. When the TS side changes:
- Update the matching constant in
src/copass_config/. - Bump the minor version in
pyproject.tomland__init__.py. - Republish.
A future release may auto-generate these constants from the TS package's build artifacts.
License
MIT.
Release files for copass-config 1.4.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| copass_config-1.4.9.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| copass_config-1.4.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / copass_config-1.4.9.tar.gz
| Download URL | copass_config-1.4.9.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
374d10e094a6a7219b9ef33d092d44b37730cd90a3e7e1daeebdda74f8a14fe7
|
|
BLAKE2b-256 checksum How to use checksums |
0dc61e27cc5fd3dbda285cf47a73ee294a84981cdc4dc7687b71297aa0732952
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 5, 2026.
Transparency logRelease files / copass_config-1.4.9-py3-none-any.whl
| Download URL | copass_config-1.4.9-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95babe2bb18fcd9ebf3222a1e0fffbbe58a306d31036bf515484261e0014a402
|
|
BLAKE2b-256 checksum How to use checksums |
f948303845a760cf163ba4e4ddb12755b92c6ee5bdd251203fe87754264b04e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 5, 2026.
Transparency log