Skip to main content

A lightweight agentic AI framework with MCP tool serving

Project description

Agentic AI MCP

Lightweight agentic AI with MCP tools.

Install

pip install agentic-ai-mcp

Usage

from agentic_ai_mcp import AgenticAI

ai = AgenticAI()

def add(a: int, b: int) -> int:
    """Add two numbers."""
    return a + b

def greet(name: str, times: int = 1) -> str:
    """Greet someone."""
    return ("Hello, " + name + "! ") * times

ai.register_tool(add)
ai.register_tool(greet)
ai.run_mcp_server()

result = await ai.run("Calculate 2+3 and greet Tom the result times")

Environment

ANTHROPIC_API_KEY=sk-...

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

agentic_ai_mcp-0.4.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

agentic_ai_mcp-0.4.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file agentic_ai_mcp-0.4.0.tar.gz.

File metadata

  • Download URL: agentic_ai_mcp-0.4.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agentic_ai_mcp-0.4.0.tar.gz
Algorithm Hash digest
SHA256 bade13339bd3f6dccee8eb6330cab74ebb28d0d7001ce622b53838d7b43dec31
MD5 28db94a87c216903c92af510d6937d6f
BLAKE2b-256 163861dbd648ec3015525e843a352a07340fb671c4882b7e94f6d0fd37a9803d

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_ai_mcp-0.4.0.tar.gz:

Publisher: cd.yml on hasanjawad001/agentic-ai-mcp

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

File details

Details for the file agentic_ai_mcp-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: agentic_ai_mcp-0.4.0-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.7

File hashes

Hashes for agentic_ai_mcp-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c254d48a9f58af45817aa83014b2810d9827e10f4c1f1119a1092768358d4b53
MD5 3f68b48ca4153f3f71668d35162fe178
BLAKE2b-256 57ced2e2c4c065116b9351867aee0103cd9878362ba586941ac5c116e9047202

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_ai_mcp-0.4.0-py3-none-any.whl:

Publisher: cd.yml on hasanjawad001/agentic-ai-mcp

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