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:
- 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.
Project details
Release history Release notifications | RSS feed
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 copass_config-0.1.0.tar.gz.
File metadata
- Download URL: copass_config-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2402bcfb379db88479ae6b0e241cf9992ee0f7a84f6731778204b9f736ef3b63
|
|
| MD5 |
19d740de7c7f99602c059b31508fc435
|
|
| BLAKE2b-256 |
8a348b0312ccc04bc6cd3208188320cc282e1b2eea9119a7157e04178439dcac
|
File details
Details for the file copass_config-0.1.0-py3-none-any.whl.
File metadata
- Download URL: copass_config-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f4e41e6bad2cd54dd409c042162c156d4a446d853cf4240a077ff8dc693f287
|
|
| MD5 |
b76ec5d58f37c95216b300846b2a4925
|
|
| BLAKE2b-256 |
df779491c0a93c36f1455ee128a5992e659848e7fb04482c84d7da00fcf51ae8
|