Skip to main content

A Python Automation Library for Creating Agents

Project description

Maticlib Logo

A high-performance Python Automation Library for Creating Agents.

License: MIT Downloads PyPI version

Maticlib is a developer-centric library designed to build complex, stateful AI workflows with ease. Whether you need a simple chat completion or a multi-node parallel execution graph, Maticlib provides the primitives to build it with a focus on type safety and performance.


Key Features

  • Core Agent Framework: Pure-Python graph workflow engine (MaticGraph) supporting both stateful and stateless execution.
  • Unified LLM Integration: Single interface for OpenAI (modern Responses API), Google Gemini, and Mistral AI.
  • Complex Orchestration: Built-in support for conditional routing, parallel node execution, and loop prevention.
  • Data Integrity: Deep Pydantic integration for standardized response models and type-safe workflow states.
  • Advanced Telemetry: Detailed token usage tracking, including modalities and reasoning tokens for newer models.

Documentation

For complete documentation, visit: https://arvohsoft.github.io/maticlib/


Installation

pip install maticlib

Quick Start

from maticlib.llm.openai import OpenAIClient

# Initialize client (uses OPENAI_API_KEY from environment)
client = OpenAIClient()

# Make a request
response = client.complete("Explain quantum computing in one sentence.")
print(client.get_text_response(response))

Roadmap

Core Library

  • Google Gemini integration
  • Mistral AI integration
  • OpenAI Responses API integration
  • Graph-based workflow engine
  • Parallel node execution
  • Automated documentation system
  • Anthropic Claude integration
  • Streaming support for all providers

Advanced Features

  • Unified tool/function calling interface
  • Multi-agent collaboration protocols
  • MCP (Model Context Protocol) support
  • Workflow persistence & checkpointing

Project Leadership

Maticlib is developed and maintained by Arvoh Software.


License

This project is licensed under the MIT License - see the LICENSE file for details.

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

maticlib-0.1.7.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

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

maticlib-0.1.7-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file maticlib-0.1.7.tar.gz.

File metadata

  • Download URL: maticlib-0.1.7.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for maticlib-0.1.7.tar.gz
Algorithm Hash digest
SHA256 4b55ced8c1f3ded76c6fdadf48bbf7792c9e68dc6bcb73f31dcda661e0754450
MD5 b72c1e4f734a002a91073cfc93965024
BLAKE2b-256 08101a418d191e739d2c7174c026a1b389fef2314f377d94b761cb0777f475b6

See more details on using hashes here.

File details

Details for the file maticlib-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: maticlib-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 40.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for maticlib-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 06c20133c45048b1778370d61c18a817023314498712d41fe25c75362c09b237
MD5 c21196c00c0c8f1315e74d69f35b4251
BLAKE2b-256 227c6a33e0f89219fc1e65b4a0bc9ac4b3cc2588dabbc2dbf322994e16d668e5

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