Skip to main content

🧠 Cognitive Agent

Cognitive Agent is a lightweight, model-agnostic framework for building intelligent, reasoning-driven agents.
It supports planning, acting, reflection, tool use, and supervised replanning — without requiring LangChain or any external orchestration library.

This package is designed for developers who want full control and transparency over the agent reasoning pipeline.


🚀 Features

  • Model-Agnostic Core – Works with any callable LLM (OpenAI, Gemini, Anthropic, Ollama, or your custom model).
  • 3-Tier Memory System
    • short_term – recent context
    • working – temporary per-run state
    • long_term – persistent summary storage
  • Supervisor Loop – Automatic replanning if confidence is low.
  • Tool Integration – Register and dynamically select from a set of external functions.
  • Knowledge Graph Extraction – Builds a simple knowledge graph from text.
  • Streaming Support – Stream model thinking and responses with callbacks.
  • Metrics & Token Accounting – Aggregates usage, time, and step statistics.
  • Plugin-Ready Hooks – Customizable planner and reflector logic.

🧩 Installation

pip install cognitive-agent

Metadata

Release files for cognitive-agent 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cognitive-agent 0.1.2
File Size Uploaded Provenance
cognitive_agent-0.1.2.tar.gz 5.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cognitive-agent 0.1.2
File Interpreter ABI Platform
cognitive_agent-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / cognitive_agent-0.1.2.tar.gz

Download URL cognitive_agent-0.1.2.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
971e8b282f8a73534dd1384c68d999ca8108385b8acc3cde976b830c97e8004d
BLAKE2b-256 checksum
How to use checksums
6fb54cf17ffa70589801adaaf5ee9be6f57c1e782b5fdcc60a4a89876e6639e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / cognitive_agent-0.1.2-py3-none-any.whl

Download URL cognitive_agent-0.1.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b3e5b52ab4861483400ab25de1465a485a4c0946372a7409a8e65d73a10014b
BLAKE2b-256 checksum
How to use checksums
ec76f4fab7c48b674968f99ca49c41f910935032e4c593e17077fe68b2c4435e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for cognitive-agent 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page