A foundational Python library providing core components for building LLM-driven applications using an event-based agent structure.
Project description
fabricatio-core
A foundational Python library providing core components for building LLM-driven applications using an event-based agent structure.
📦 Installation
This package is part of the fabricatio monorepo and is available as a single package:
pip install fabricatio
🔍 Overview
Provides essential tools for:
- Event-based architecture patterns
- Role-based agent execution framework
- Task scheduling and management
- File system operations and content detection
- Logging and diagnostics
- Template rendering and configuration handling
- Type-safe data models for common entities
- Asynchronous execution utilities
Built on a hybrid Rust/Python foundation for performance-critical operations.
🧩 Key Features
- Event System: Reactive architecture with event emitters and listeners
- Role Framework: Agent roles with workflow dispatching capabilities
- Task Engine: Status-aware task management with dependencies
- Toolbox System: Callable tool registry with rich metadata
- Type Models: Pydantic-based models for consistent data structures
- File Utilities: Smart file operations with content type detection
- Template Engine: Handlebars-based template rendering system
- Language Tools: Language detection and text processing utilities
📁 Structure
fabricatio-core/
├── capabilities/ - Core capability definitions
├── decorators.py - Common function decorators
├── emitter.py - Event emission and handling
├── fs/ - File system operations
├── journal.py - Logging infrastructure
├── models/ - Core data models
│ ├── action.py - Action base classes
│ ├── generic.py - Base traits (Named, Described, etc.)
│ ├── role.py - Role definitions
│ ├── task.py - Task abstractions
│ └── tool.py - Tool interfaces
├── parser.py - Text parsing utilities
├── rust.pyi - Rust extension interfaces
├── utils.py - General utility functions
└── __init__.py - Package entry point
📄 License
MIT – see LICENSE
GitHub: github.com/Whth/fabricatio
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fabricatio_core-0.1.3.dev0-cp313-cp313-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: fabricatio_core-0.1.3.dev0-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b97e5131c846198acdd5d9d5005453f55b006f183e9ebf8c8a76914cd85b6a4
|
|
| MD5 |
dbfe77c46504847ef2e7911438ffdde9
|
|
| BLAKE2b-256 |
f269bd40690f42a0d1a132a8edbf2c315ce8609d8c06f84c032b36a0095dcabf
|
File details
Details for the file fabricatio_core-0.1.3.dev0-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: fabricatio_core-0.1.3.dev0-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
675391e7cbb54e75ed0a54c7ec2cf1bea50fd5c50584a1aff68f0e9d019001b2
|
|
| MD5 |
c228009303230ebe14f71758fe11709b
|
|
| BLAKE2b-256 |
a38a843248ed2df0fdda4833aaa75bb597377fcd34d7c54e4c59c337238228d8
|