The official Python library for the arklex API
Project description
🧠 Arklex AI · Agent-First Framework
Build, deploy, and scale intelligent AI agents with enterprise-grade reliability
🚀 Quick Start • 📚 Documentation • 💡 Examples
🚀 Get Started in 5 Minutes
Install & Setup
# Install
pip install arklex[all]
# Create .env file
echo "OPENAI_API_KEY=your_key_here" > .env
# Create your first agent
python create.py \
--config ./examples/customer_service/customer_service_config.json \
--output-dir ./examples/customer_service \
--llm_provider openai \
--model gpt-4o-mini
# Run agent
python run.py --input-dir ./examples/customer_service
# Deploy as API (optional)
python model_api.py --input-dir ./examples/customer_service
▶️ Watch: Build a Customer Service Agent in 20 Minutes
⚡ Key Features
- 🚀 90% Faster Development — Deploy agents in days, not months
- 🧠 Agent-First Design — Purpose-built for multi-agent orchestration
- 🔌 Model Agnostic — OpenAI, Anthropic, Gemini, and more
- 📊 Built-in Evaluation — Comprehensive testing suite
- 🛡️ Enterprise Security — Authentication and rate limiting
- ⚡ Production Ready — Monitoring, logging, auto-scaling
🏗️ Architecture
graph TB
A[Task Graph] --> B[Orchestrator]
B --> C[Workers]
B --> D[Tools]
C --> E[RAG Worker]
C --> F[Database Worker]
C --> G[Custom Workers]
D --> I[API Tools]
D --> J[External Tools]
Core Components:
- Task Graph — Declarative DAG workflows
- Orchestrator — Runtime engine with state management
- Workers — RAG, database, web automation
- Tools — Shopify, HubSpot, Google Calendar integrations
💡 Use Cases
Domain | Capabilities |
---|---|
Customer Service | RAG chatbots, ticket routing, support workflows |
E-commerce | Order management, inventory tracking, recommendations |
Business Process | Scheduling, CRM operations, document processing |
📚 Examples
Example | Description | Complexity |
---|---|---|
Customer Service | RAG-powered support | ⭐⭐ |
Shopify Integration | E-commerce management | ⭐⭐⭐ |
HubSpot CRM | Contact management | ⭐⭐⭐ |
Calendar Booking | Scheduling system | ⭐⭐ |
Human-in-the-Loop | Interactive workflows | ⭐⭐⭐⭐ |
🔧 Configuration
Requirements: Python 3.10+, API keys
# Required: Choose one LLM provider
OPENAI_API_KEY=your_key_here
# OR ANTHROPIC_API_KEY=your_key_here
# OR GEMINI_API_KEY=your_key_here
# Optional: Enhanced features
MILVUS_URI=your_milvus_uri
MYSQL_USERNAME=your_username
TAVILY_API_KEY=your_tavily_key
📖 Documentation
- 📚 Full Documentation
- 🚀 Quick Start
- 🛠️ API Reference
- 🏗️ Architecture
- 🚀 Deployment
🤝 Community
- 🐛 Report Issues
- 💬 Discord
- 📧 Email Support
📄 License
Arklex AI is released under the MIT License. See LICENSE for details.
This means you can:
- ✅ Use Arklex AI for commercial projects
- ✅ Modify and distribute the code
- ✅ Use it in proprietary applications
- ✅ Sell applications built with Arklex AI
The only requirement is that you include the original license and copyright notice.
🙏 Acknowledgments
Thanks to all our contributors and the open-source community for making this project possible!
🌟 Contributors
🤝 Open Source Dependencies
Arklex AI builds on the shoulders of giants:
- LangChain — LLM framework and tooling
- FastAPI — Modern web framework
- Pydantic — Data validation
- SQLAlchemy — Database ORM
- Milvus — Vector database
- And many more...
Made with ❤️ by the Arklex AI Team
Website • Documentation • GitHub • Discord • LinkedIn
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 Distribution
Built Distribution
File details
Details for the file arklex-0.0.18.tar.gz
.
File metadata
- Download URL: arklex-0.0.18.tar.gz
- Upload date:
- Size: 6.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
485888022ca3837061e35b449bc4592c842ae1f20f8b9e43b8fc8a2900ee2014
|
|
MD5 |
608fb56b99424483fa6f72e6dde024a4
|
|
BLAKE2b-256 |
b0e1fbb2a043f6bfde1cd1161ca9edfcc79d9488e1b2f6c7a2aceb5758138f2e
|
Provenance
The following attestation bundles were made for arklex-0.0.18.tar.gz
:
Publisher:
release.yml
on arklexai/Agent-First-Organization
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
arklex-0.0.18.tar.gz
-
Subject digest:
485888022ca3837061e35b449bc4592c842ae1f20f8b9e43b8fc8a2900ee2014
- Sigstore transparency entry: 259895379
- Sigstore integration time:
-
Permalink:
arklexai/Agent-First-Organization@fa55f1ff103b9254ded3a91a013876e06ce19ca9
-
Branch / Tag:
refs/tags/v0.0.18
- Owner: https://github.com/arklexai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@fa55f1ff103b9254ded3a91a013876e06ce19ca9
-
Trigger Event:
release
-
Statement type:
File details
Details for the file arklex-0.0.18-py3-none-any.whl
.
File metadata
- Download URL: arklex-0.0.18-py3-none-any.whl
- Upload date:
- Size: 365.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0e85f84560652dc79c50e4e1f1813c8e93a94bc644d6afd86325c3efbeb66841
|
|
MD5 |
83ea846987db6338d19d7a6015d81c3e
|
|
BLAKE2b-256 |
6ff336b51e45cfa7fb450dbc8c3452de3eedd748fbd565d481980a30e211da8b
|
Provenance
The following attestation bundles were made for arklex-0.0.18-py3-none-any.whl
:
Publisher:
release.yml
on arklexai/Agent-First-Organization
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
arklex-0.0.18-py3-none-any.whl
-
Subject digest:
0e85f84560652dc79c50e4e1f1813c8e93a94bc644d6afd86325c3efbeb66841
- Sigstore transparency entry: 259895391
- Sigstore integration time:
-
Permalink:
arklexai/Agent-First-Organization@fa55f1ff103b9254ded3a91a013876e06ce19ca9
-
Branch / Tag:
refs/tags/v0.0.18
- Owner: https://github.com/arklexai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@fa55f1ff103b9254ded3a91a013876e06ce19ca9
-
Trigger Event:
release
-
Statement type: