Skip to main content

Canonical tool descriptions, parameter descriptions, and system prompts shared across every Copass Python adapter

Project description

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.

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

copass_config-1.4.5.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

copass_config-1.4.5-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file copass_config-1.4.5.tar.gz.

File metadata

  • Download URL: copass_config-1.4.5.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for copass_config-1.4.5.tar.gz
Algorithm Hash digest
SHA256 dd1d31c0aa0a94ce32ab1fba14957f98e77a67b22edecea788a7f5cc7010c945
MD5 cfba14424cb00a2496783be9e99f586e
BLAKE2b-256 c1f3d06ed6951e27dc3accc231dc2469ea2f5163200001d80658f07321d85cdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for copass_config-1.4.5.tar.gz:

Publisher: release-python.yml on olane-labs/copass

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file copass_config-1.4.5-py3-none-any.whl.

File metadata

  • Download URL: copass_config-1.4.5-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for copass_config-1.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f437733b8ec58584afff451729b5ee1cdb29202bd00d4f31567756949a6dd92b
MD5 a70646b066fcc84c264e992b89ba8784
BLAKE2b-256 a65bf115ea376ad7cadf5b9ebea5ea1ee900e359c3efbbfda19d82fcf5a0b6b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for copass_config-1.4.5-py3-none-any.whl:

Publisher: release-python.yml on olane-labs/copass

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page