Skip to main content

High performance, flexable, lightweight agent framework.

Project description

AmritaCore

Logo

PyPI Version Python Version License AmritaCore Discord QQ Group

AmritaCore is a lightweight agent framework with infrastructure-level positioning, serving as the foundational building block for intelligent agent development. AmritaCore is designed to be interactive-first, enabling real-time, responsive agent applications through its native async streaming architecture. Think of it as providing the essential "operating system" capabilities for AI agents – offering core primitives and abstractions that enable robust, production-ready agent applications without the overhead of heavyweight frameworks.

🚀 What is AmritaCore?

AmritaCore is not a replacement for existing frameworks like LangChain or LlamaIndex. Instead, it is a lightweight, infrastructure-focused agent framework designed to provide the essential building blocks for AI agent development. Built with modern Python technologies, it delivers fundamental components needed for AI-powered applications with features like event-driven architecture, tool integration, and multi-modal support – all while maintaining minimal dependencies and maximum performance.

🎯 Mission and Value Proposition

The mission of AmritaCore is to provide a lightweight yet powerful foundation for agent development that prioritizes simplicity, performance, and flexibility. Our core value propositions include:

  • Stream-based Design: All message outputs are designed as asynchronous streams for real-time responses
  • Security: Built-in cookie security detection to ensure session safety
  • Vendor Agnostic: Data types and conversation management are independent of specific providers, offering high portability
  • Extensibility: Integrated MCP client in extension mechanisms for enhanced system scalability

🔑 Key Features

  1. Every is a Stream: All message outputs are asynchronous stream-based designs supporting real-time responses
  2. Cookie Security Detection: Built-in cookie security detection functionality to protect session security
  3. Provider Independent Mechanism: Data types and conversation management are independent of specific vendors, with high portability
  4. MCP Client Support: Extension mechanisms integrate MCP clients, enhancing system expansion capabilities
  5. Event-Driven Architecture: Comprehensive event system for flexible and reactive agent behavior
  6. Tool Integration Framework: Robust system for integrating external tools and services
  7. Advanced Memory Management: Sophisticated context handling with automatic summarization and token optimization
  8. Built-in Anthropic support: AmritaCore provides a native adapter for Anthropic's AI models
  9. High-Performance: Lightweight and efficient, with high performance.

📖 Documentation

Please view Docs for more information.

🛠️ Quick Start

To quickly start using AmritaCore, check out the examples in the demo directory. The basic example demonstrates how to initialize the core, configure settings, and run a simple chat session with the AI assistant.

🤝 Contributing

We welcome contributions! Please see our contribution guidelines for more information.

📄 License

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

Notes

All versions of AmritaCore are released under the Apache 2.0 License (Although the past versions are released under the MIT/LGPL V3 License, when this readme is created, we will release all versions under the Apache 2.0 License).

Other files

Unstable Features

  • Python 3.14+ Supporting: we are not sure if it will work well on Python 3.14+(No GIL Version).

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

amrita_core-0.9.3.tar.gz (113.2 kB view details)

Uploaded Source

Built Distribution

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

amrita_core-0.9.3-py3-none-any.whl (91.1 kB view details)

Uploaded Python 3

File details

Details for the file amrita_core-0.9.3.tar.gz.

File metadata

  • Download URL: amrita_core-0.9.3.tar.gz
  • Upload date:
  • Size: 113.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for amrita_core-0.9.3.tar.gz
Algorithm Hash digest
SHA256 59a84697b8121f1fbc814c5e2ed8067418c55962967d3da07e1fd3b412762217
MD5 25c3dc798ba6034d27c858cfd3dc750f
BLAKE2b-256 d6c0c8ba5b44d45d6a0d6f46ff7d716bef6b401a61cbacb1c2b60ba1bb3b1bd0

See more details on using hashes here.

File details

Details for the file amrita_core-0.9.3-py3-none-any.whl.

File metadata

  • Download URL: amrita_core-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 91.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for amrita_core-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f996decb4a4777086c2dee2a8a4567ee94ecac0fb2f4012e6f2144a25f1cb02e
MD5 1f174001e648b260e46a6547a2746f00
BLAKE2b-256 dbbc63c59a0e6dbbf3fe5844834f01f6f9011c15699851cc97a2fb9f889b4e08

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