Skip to main content

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:

  1. Update the matching constant in src/copass_config/.
  2. Bump the minor version in pyproject.toml and __init__.py.
  3. 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)

Source distribution for copass-config 1.4.9
File Size Uploaded
copass_config-1.4.9.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for copass-config 1.4.9
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.4.9 This release

2 release files

1.4.8

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page