Learn by example. Each directory contains a complete, working agent.
pip install entity-core
cd hello_agent && python hello_agent.py- hello_agent - Zero config agent (3 lines)
- agent_personality - YAML-driven personalities
- conversation_memory - Persistent state
- tool_usage - Custom plugins and tools
- simple_chat - Complete chat system
- streaming_responses - Real-time output
- code_reviewer - Production code analysis
- research_assistant - Multi-source research
- framework_showcase - All features demo
# Every agent follows: Agent = Resources + Workflow
from entity import Agent
agent = Agent() # Defaults
await agent.chat("Hello!")from entity.plugins.base import Plugin
class MyTool(Plugin):
supported_stages = ["do"]
async def _execute_impl(self, context):
return f"Processed: {context.message}"
# Use it
agent = Agent(plugins={"do": [MyTool()]})# config.yaml
plugins:
think: [reasoning_plugin]
do: [calculator, web_search]agent = Agent.from_config("config.yaml")python examples/<name>/<name>.py