Skip to main content

Multi-Component Platform System (MCPS) - A framework for managing distributed services and agents

Project description

PyPI-Server Project generated with PyScaffold

MCPS

Multi-Component Platform System (MCPS) - A framework for managing distributed services and agents

MCPS is a comprehensive framework for managing distributed services and intelligent agents. It provides tools for service discovery, lifecycle management, and runtime execution in various environments.

Features

  • Agent Discovery: Find and query agents using natural language or capability matching

  • Lifecycle Management: Deploy, start, stop, and monitor agents

  • Runtime Environments: Support for Python, Docker, and other runtime environments

  • Service Integration: Connect agents with tools and services

  • Caching Strategy: Efficient caching of messages, logs, and agent state

  • CLI Interface: Command-line tools for managing agents and services

Installation

pip install mcps

Quick Start

from mcps import MCPS_Client
from mcps import Agents_Client

# Query for tools
mcps_tools_client = MCPS_Client(api_key="YOUR_KEY")
tools = mcps_tools_client.query("北京的天气怎么样?", topk=1)[0]

# Query for agents
mcps_agent_client = Agents_Client(api_key="YOUR_KEY")
agent = mcps_agent_client.call_from_query("北京的天气怎么样?", topl=1)[0]

# Run agent with tools
result = agent.run(query="北京的天气怎么样?", tools=tools)

CLI Usage

# List available agents
mcps agent list

# Query for agents
mcps agent query "weather forecast"

# Deploy and run an agent
mcps agent deploy weather_agent_1
mcps agent start weather_agent_1
mcps agent run weather_agent_1 "What's the weather in Beijing?"
mcps agent stop weather_agent_1
mcps agent cleanup weather_agent_1

License

MIT License

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

mcps-0.1.dev12.tar.gz (101.1 kB view details)

Uploaded Source

Built Distribution

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

mcps-0.1.dev12-py3-none-any.whl (73.5 kB view details)

Uploaded Python 3

File details

Details for the file mcps-0.1.dev12.tar.gz.

File metadata

  • Download URL: mcps-0.1.dev12.tar.gz
  • Upload date:
  • Size: 101.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for mcps-0.1.dev12.tar.gz
Algorithm Hash digest
SHA256 05d19c992bacb013d7eff234857a30bd8630a3e0202987c1ed2800a39c467456
MD5 fd5d01b215e73840bae1ccf3646f95dd
BLAKE2b-256 fda9096506f552fa3ca11a23c3c59b9cafbef8bd0223e243a7835754911ef9c5

See more details on using hashes here.

File details

Details for the file mcps-0.1.dev12-py3-none-any.whl.

File metadata

  • Download URL: mcps-0.1.dev12-py3-none-any.whl
  • Upload date:
  • Size: 73.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for mcps-0.1.dev12-py3-none-any.whl
Algorithm Hash digest
SHA256 3448cf6be562162203bf1e0503e8861c1c3279d95cc76e5a48114ee6e6956079
MD5 e512af32373c2b13c6645ef15d56cf11
BLAKE2b-256 5e191efa264956c68d0988883e545cbeb2b94842ce70eb9f164f1dbada0a50c3

See more details on using hashes here.

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