Catalog PyPI
Back to packageRELEASE DETAILS

0.7.0.54

PyPI

agentmatrix-core

Core execution engine for building AI agent applications — MicroAgent, AgentShell protocol, Cerebellum, and skill system

agentsaiframeworkllmmulti-agent
Published11 Aug 2026
Direct dependencies10
Transitive dependenciesNot calculated

README

Version 0.7.0.54 documentation

agentmatrix-core

Let LLMs think. Don't make them write JSON.

A Python execution engine for building AI agent applications. Separates reasoning from formatting: the large model thinks in natural language, a dedicated module handles the structured output.


What It Is

agentmatrix-core provides the execution engine behind AgentMatrix. It includes:

  • MicroAgent — A task execution engine with think-negotiate-act loop
  • AgentShell Protocol — Clean boundary between execution and I/O
  • Cerebellum — Intent parsing and parameter negotiation
  • Action System — Pluggable skill registry and execution
  • SessionStore — Conversation persistence
  • Auto-Compression — Working Notes for arbitrarily long tasks
  • Signal System — Event-driven communication

The core knows nothing about desktop apps, file systems, or networks. All external interaction goes through the AgentShell protocol, which you implement for your target environment.


Install

pip install agentmatrix-core

Requires Python 3.12+.


Quick Example

from agentmatrix import AgentMatrix, Email

# Create the runtime
matrix = AgentMatrix("./MatrixWorld")

# Send an email to an agent
email = Email(
    sender="User",
    recipient="Researcher",
    subject="Search for Python 3.13 features",
    body="Find and summarize the major new features in Python 3.13"
)

# Dispatch via PostOffice
await matrix.post_office.dispatch(email)

For a complete minimal example implementing AgentShell, see the CLI tutorial in the repository.


Architecture

┌─────────────────────────────────────────────┐
│  Your App (Desktop / CLI / Server)          │
├─────────────────────────────────────────────┤
│  AgentShell Protocol (you implement this)   │
├─────────────────────────────────────────────┤
│  MicroAgent Engine (this package)           │
│  - Brain (reasoning in natural language)    │
│  - Cerebellum (intent → action params)      │
│  - Action Registry                          │
│  - SessionStore                             │
└─────────────────────────────────────────────┘

Key Design

  • No JSON output required — Brain reasons in plain text
  • Dynamic skill composition — Mixins assembled at runtime per task
  • Checkpoint-based pause/resume — Cooperative, not forced interruption
  • Auto context compression — LLM-generated Working Notes prevent overflow
  • Nested MicroAgents — Tasks can spawn sub-tasks with different skill sets

Documentation


License

Apache License 2.0

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 10

Native requirements
10 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
pyyaml
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
pyyaml>=6.0runtime
python-dotenv
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
python-dotenv>=1.0.0runtime
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
requests>=2.31.0runtime
aiohttp
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
aiohttp>=3.8.0runtime
Jinja2
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
Jinja2>=3.1.0runtime
pydantic
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
pydantic>=2.0.0runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
pytest>=7.0; extra == "dev"runtime
black
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
black>=23.0; extra == "dev"runtime
flake8
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
flake8>=6.0; extra == "dev"runtime
mypy
Environment
{
  "extras": "",
  "marker": "extra == \"dev\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
mypy>=1.0; extra == "dev"runtime

Distribution files

2 collected
agentmatrix_core-0.7.0.54-py3-none-any.whl

bdist_wheel · 91.61 KB · Python py3

Source file
agentmatrix_core-0.7.0.54.tar.gz

sdist · 82.64 KB · Python source

Source file

Repository

PENDING
webdkt/agentmatrix

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:39 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:a9821672515955a35d3eb089de733ea2824ad927e69f0a2b476bfb71d150dc6f

Other collected versions

View all collected versions →