Skip to main content

AIccel is a versatile Python library for building lightweight AI agents with multiple LLM providers

Project description

AICCEL Framework 3.1: The Production-Grade Agentic Library

AICCEL (AI-Accelerated Agentic Library) is a security-first, high-performance framework for building orchestrated AI systems. Designed for developers who need speed (~50ms startup), modularity, and enterprise-grade safety.


📦 Installation

AICCEL is modular. Install only what you need to keep your deployment lightweight.

# 🚀 Core Framework (Lightweight)
pip install aiccel

# 🛡️ Production Security (Jailbreak Detection & Transformers)
pip install aiccel[safety]

# 🕵️‍♀️ Privacy Suite (PII Masking with GLiNER)
pip install aiccel[privacy]

# 📦 The Full Suite (Recommended for Dev)
pip install aiccel[all]

🏗️ Building Agents

The Agent class handles LLM interaction, tool execution, and session memory.

Quick Start

from aiccel import Agent, GeminiProvider, AgentConfig

# 1. Setup
provider = GeminiProvider(api_key="...", model="gemini-2.5-flash")
config = AgentConfig(safety_enabled=True, verbose=True)

# 2. Initialize
agent = Agent(
    provider=provider, 
    config=config,
    instructions="You are a helpful analyst."
)

# 3. Run (Sync or Async)
result = agent.run("Summarize the impact of AI on medicine.")
print(result['response'])

Advanced Configuration (AgentConfig)

Flag Default Description
verbose False Enable detailed thinking & tool logs.
timeout 60.0 Max seconds per generation.
safety_enabled False Enable transformer-based Jailbreak guard.
lightweight False Disable heavy model loading for serverless/edge.

🎼 Orchestration: The Agent Manager

Manage multiple specialized agents using the Plan-Execute-Synthesize workflow.

from aiccel.manager import AgentManager

# 1. Initialize specialized agents
researcher = Agent(name="Researcher", description="Finds facts.")
writer = Agent(name="Writer", description="Writes articles.")

# 2. Orchestrate
manager = AgentManager(llm_provider=provider, agents=[researcher, writer])
response = await manager.collaborate_async("Research fusion energy and write a summary.")

🛡️ Security & Privacy Suite

1. Jailbreak Guard

Automatically blocks malicious prompts designed to bypass instructions.

# Enabled via config.safety_enabled = True
# Uses 'traromal/AIccel_Jailbreak' model

2. PII Masking

Protects sensitive data (Email, Phone, Names) from leaving your server.

from aiccel.privacy import mask_text, unmask_text

result = mask_text("Contact John at john@example.com")
# Output: "Contact [PERSON_1] at [EMAIL_1]"

3. Pandora: Isolated Execution

AICCEL's data analysis engine (Pandora) supports three isolation modes:

  • local: Restricted builtins (Fast).
  • subprocess: Fresh OS process (Medium Isolation).
  • service: Remote microservice (Maximum Security).
from aiccel.pandora import Pandora
pan = Pandora(provider, execution_mode="subprocess")
df = pan.do(df, "Calculate growth rate and mask customer names")

🔀 Workflow DAGs

Build deterministic pipelines using a Directed Acyclic Graph.

from aiccel import WorkflowBuilder, WorkflowExecutor

workflow = (
    WorkflowBuilder("data_pipeline")
    .add_agent("fetch", agent1, output_key="raw_data")
    .add_agent("process", agent2, input_key="raw_data")
    .chain("fetch", "process")
    .build()
)

result = await WorkflowExecutor().run(workflow, inputs)

🔌 API Reference & Extensibility

Supported Providers

  • GeminiProvider (Google)
  • OpenAIProvider (OpenAI)
  • GroqProvider (Llama 3.1, Mixtral)

Custom Tools

Subclass BaseTool to extend your agents' capabilities with JSON-schema validation.


Built for speed, built for safety. Built by the AICCEL Team.

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

aiccel-3.1.0.tar.gz (688.2 kB view details)

Uploaded Source

Built Distribution

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

aiccel-3.1.0-py3-none-any.whl (196.9 kB view details)

Uploaded Python 3

File details

Details for the file aiccel-3.1.0.tar.gz.

File metadata

  • Download URL: aiccel-3.1.0.tar.gz
  • Upload date:
  • Size: 688.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for aiccel-3.1.0.tar.gz
Algorithm Hash digest
SHA256 7fbb48d9e3218f6cb217db68bb0998707391ffab779d46d83451ea828171deea
MD5 2031ccc345939429e7556d2b42fcc8bb
BLAKE2b-256 863f1ddf84a5caf8face82d99816f055ca8baa5dff316834e00c96147ea462bd

See more details on using hashes here.

File details

Details for the file aiccel-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: aiccel-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 196.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for aiccel-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a92e4590319b19e427057fe8b29336dad7408a4529ce32ee5141e7a2e10a9860
MD5 c73e5a799ddcfe46cdd02b98358f5a81
BLAKE2b-256 4dc2f1430bc6d5700e9dea120f057bc632713d0b3d2cb7d22408aafe9ee00e20

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