Skip to main content

Production-grade Python library for building scalable agentic AI systems with MCP and A2A integration

Project description

AgentiCore — Python Agentic Library


What Is AgentiCore?

AgentiCore is a production-grade, open-source Python library for building scalable agentic AI systems. It provides:

  • A composable core framework — build any agent type without being forced into a specific pattern
  • Built-in reasoning strategies — ReAct, Plan-Execute, Reflection, Tree-of-Thought, and custom
  • Tiered memory system — working, episodic, semantic (RAG), and procedural memory
  • Type-safe tool system — define, validate, and compose tools with full schema enforcement
  • Multi-agent orchestration — supervisor, pipeline, fan-out, debate, swarm patterns
  • Built-in Web UI — visual agent builder, tool creator, real-time run viewer, trace inspector
  • Plugin ecosystem — extend anything without forking the library
  • First-class observability — structured tracing, cost tracking, step logging out of the box

Design Philosophy

1. Explicit Over Magic

No hidden auto-wiring. Every component is explicitly configured. If an agent calls a tool, you see exactly where and why.

2. Composable, Not Opinionated

The core module is pure Python with zero mandatory dependencies. LangGraph, Qdrant, OpenAI — all are optional integrations, not requirements.

3. Schema-First

Every interface (tool inputs/outputs, agent state, memory schema, API payloads) is defined with strict types before implementation. Prevents entire classes of bugs.

4. Production-Ready From Day One

Retries, timeouts, cost budgets, circuit breakers, human-in-the-loop, and audit logging are built-in — not afterthoughts.

5. Observable By Default

Every agent step, tool call, LLM invocation, and memory operation emits structured events. You never wonder "what is the agent doing right now?"

6. Developer Experience First

The Web UI exists so that non-engineers can configure, run, and monitor agents without writing code. But engineers get full programmatic control of everything the UI does.


Library Name & Namespace

Package name:  hembramagenticcore
Import as:     import hembramagenticcore as ag
PyPI slug:     hembramagenticcore
CLI command:   hembramagenticcore

Core Value Propositions

Other Libraries AgentiCore
Lock you into one reasoning pattern Support all patterns, switchable at runtime
Memory is bolted on Memory is a first-class design concern
No Web UI — code only Full Web UI with visual builder
Framework-heavy (forces LangChain/LangGraph) Framework-agnostic core, optional integrations
Hard to extend tools Plugin system + decorator-based tool registration
Poor observability Structured tracing, cost tracking, step logging built-in
No multi-language vision Python first, then Rust/C++/JS with shared protocols

Quick Concept Demo (Target API)

import hembramagenticcore as ag

# 1. Define a tool with a decorator
@ag.tool(description="Search the web for current information")
def search_web(query: str, max_results: int = 5) -> list[ag.SearchResult]:
    ...

# 2. Build an agent
agent = (
    ag.AgentBuilder()
    .name("ResearchAgent")
    .llm(ag.LLM.GPT4O)
    .reasoning(ag.ReAct)
    .tools([search_web, ag.tools.CodeExecutor()])
    .memory(ag.memory.Qdrant(url="localhost:6333"))
    .max_steps(20)
    .build()
)

# 3. Run it
result = agent.run("Summarize key AI releases from Q1 2026")
print(result.output)
print(result.trace)   # Full step-by-step trace
print(result.cost)    # Token cost in USD

# 4. Or launch the Web UI
ag.serve(agents=[agent], port=8080)

License & Contributing

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

hembramagenticcore-1.1.1.tar.gz (90.0 kB view details)

Uploaded Source

Built Distribution

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

hembramagenticcore-1.1.1-py3-none-any.whl (129.8 kB view details)

Uploaded Python 3

File details

Details for the file hembramagenticcore-1.1.1.tar.gz.

File metadata

  • Download URL: hembramagenticcore-1.1.1.tar.gz
  • Upload date:
  • Size: 90.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for hembramagenticcore-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b5278611408f7602dea9840b9f926689753c18d0b745223958e999ebb9f85bc9
MD5 58eeba115805e60f5d2f91cf5539e842
BLAKE2b-256 4c2a4e63fb0d272b2d15a600a3af7879e4751dbf906a894501e4bd14a86cd352

See more details on using hashes here.

File details

Details for the file hembramagenticcore-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hembramagenticcore-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1656045c9f274fc6f87f2075e775a75eebda51742440ff059d10548aa7b1f1d
MD5 a8283ae78250dd47e13b1b68491c93c9
BLAKE2b-256 60da426403068ed31fb447a3f456c4c7d27f52de927a7d4c491f53431d412a8f

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