Metadata-Version: 2.4
Name: honcho-crewai
Version: 0.2.0
Summary: CrewAI integration with Honcho for persistent agent memory
Author-email: Plastic Labs <hello@plasticlabs.ai>
Maintainer-email: Plastic Labs <hello@plasticlabs.ai>
License: AGPL-3.0-or-later
Project-URL: Homepage, https://honcho.dev
Project-URL: Documentation, https://docs.honcho.dev/v3/integrations/crewai
Project-URL: Repository, https://github.com/plastic-labs/honcho
Project-URL: Bug Tracker, https://github.com/plastic-labs/honcho/issues
Project-URL: Changelog, https://github.com/plastic-labs/honcho/blob/main/CHANGELOG.md
Keywords: honcho,crewai,ai-agents,memory,agent-memory,persistent-memory
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Framework :: Pydantic
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: crewai>=0.134.0
Requires-Dist: honcho-ai>=2.0.0
Requires-Dist: openai>=1.0.0
Requires-Dist: python-dotenv>=1.0.0
Dynamic: license-file

# Honcho CrewAI Integration

Build CrewAI agents with persistent memory and reasoning capabilities powered by Honcho.

## Installation

```bash
pip install honcho-crewai
```

## Quick Start

```python
from crewai import Agent, Task, Crew, Process
from crewai.memory.external.external_memory import ExternalMemory
from honcho_crewai import HonchoStorage

# Initialize Honcho storage
storage = HonchoStorage(user_id="user-123")
external_memory = ExternalMemory(storage=storage)

# Create agent with memory
agent = Agent(
    role="AI Assistant",
    goal="Help users with persistent memory",
    backstory="You remember past conversations.",
)

# Create crew with external memory
crew = Crew(
    agents=[agent],
    tasks=[task],
    external_memory=external_memory
)
```

## Features

- **Automatic Memory**: CrewAI agents automatically store and retrieve conversation context
- **Semantic Search**: Find relevant past messages using vector similarity
- **Logical Reasoning**: Query what the system knows about users via the Dialectic API
- **Multi-Agent Support**: Give each agent distinct memory and identity
- **Tools Integration**: `HonchoGetContextTool`, `HonchoDialecticTool`, and `HonchoSearchTool` for explicit memory control

## Documentation

For comprehensive guides, examples, and API reference, visit:
**[https://docs.honcho.dev/v3/integrations/crewai](https://docs.honcho.dev/v3/integrations/crewai)**

## Examples

Check out complete examples in the [GitHub repository](https://github.com/plastic-labs/honcho/tree/main/examples/crewai/python/examples).

## License

AGPL-3.0-or-later

## Support

- Report issues: [GitHub Issues](https://github.com/plastic-labs/honcho/issues)
- Documentation: [docs.honcho.dev](https://docs.honcho.dev)
- Website: [honcho.dev](https://honcho.dev)
