Metadata-Version: 2.4
Name: agentic-ai-mcp
Version: 0.4.1
Summary: A lightweight agentic AI framework with MCP tool serving
Author-email: Jawad Chowdhury <hasanjawad001@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/hasanjawad001/agentic-ai-mcp
Project-URL: Documentation, https://github.com/hasanjawad001/agentic-ai-mcp#readme
Project-URL: Repository, https://github.com/hasanjawad001/agentic-ai-mcp.git
Project-URL: Issues, https://github.com/hasanjawad001/agentic-ai-mcp/issues
Keywords: ai,agents,multi-agent,llm,mcp,langgraph,anthropic
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastmcp>=2.0.0
Requires-Dist: mcp>=1.0.0
Requires-Dist: langchain>=0.3.0
Requires-Dist: langchain-anthropic>=0.3.0
Requires-Dist: langgraph>=0.2.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.24.0; extra == "dev"
Requires-Dist: pytest-cov>=5.0.0; extra == "dev"
Requires-Dist: mypy>=1.11.0; extra == "dev"
Requires-Dist: ruff>=0.6.0; extra == "dev"
Requires-Dist: pre-commit>=3.8.0; extra == "dev"
Dynamic: license-file

# Agentic AI MCP

Lightweight agentic AI with MCP tools.

## Install

```bash
pip install agentic-ai-mcp
```

## Setup

Set your Anthropic API key in `.env` file:
```bash
ANTHROPIC_API_KEY=sk-...
```

## Usage

```python
from agentic_ai_mcp import AgenticAI

# 1. Define functions
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

# 2. Create AgenticAI and register tools
ai = AgenticAI()
ai.register_tool(add)
ai.register_tool(greet)

# 3. Run MCP server
ai.run_mcp_server()

# 4. Execute agentic workflow
result = await ai.run("Calculate 2+3 and greet Tom the result times")
print(result)
```

## License

MIT
