Meet Tara, your 24/7 personal assistant powered by Claude Code and OpenAI Codex. Multi-channel messaging, long-term memory, skills, task scheduling, session management, and more — all running locally.
Backend
| Category | Technology |
|---|---|
| Runtime | Bun |
| Language | TypeScript |
| API | Hono |
| Database | SQLite (Bun built-in) + Drizzle ORM |
| Task Queue | Bunqueue |
| Validation | Zod |
| Logging | Pino |
| Date | Day.js |
| Events | EventEmitter3 |
Frontend
| Category | Technology |
|---|---|
| Framework | React 19 + Vite 7 |
| Routing | TanStack Router |
| Data Fetching | TanStack React Query |
| Styling | Tailwind CSS v4 + Shadcn |
| Theme | Dark mode by default |
First, clone the repo and install all its dependencies.
git clone https://github.com/magiccube/agentara.git
cd agentara
make install
Then, run in DEVELOPMENT mode. Both backend server and frontend website will be launched.
make dev
On first run, Agentara creates ~/.agentara with default config, workspace, and data directories.
The backend runs on http://localhost:1984 and the frontend dev server on http://localhost:8000 (proxying API requests to the backend).
Go to your IM client and start chatting with Tara:
/bootstrap
Or schedule a cronjob:
Hey, Tara! Schedule a cronjob to run every 7:30 AM and 5:30 PM to run the `/pulse` skill.
| Variable | Description | Default |
|---|---|---|
AGENTARA_HOME |
Home directory for all Agentara data | ~/.agentara |
AGENTARA_LOG_LEVEL |
Log level (trace, debug, info, warn, error) |
info |
AGENTARA_SERVICE_PORT |
API server port | 1984 |
AGENTARA_SERVICE_HOST |
API server host | localhost |
A config.yaml is auto-generated at $AGENTARA_HOME/config.yaml on first run. Here is an example:
agents:
default:
type: claude # Agent runner to use
tasking:
max_retries: 1 # Max attempts per task before marking as failed
messaging:
default_channel_id: 9e3eae94-fe88-4043-af40-e7f88943a370 # Change it to yours
channels:
- id: 9e3eae94-fe88-4043-af40-e7f88943a370 # Unique ID for the channel
type: feishu
name: Tara
description: Tara's default channel
params:
app_id: $FEISHU_APP_ID # Resolved from environment variable
app_secret: $FEISHU_APP_SECRET
chat_id: oc_xxxxxxxxxxxxx
String values starting with $ are automatically resolved from environment variables at load time. All fields are validated with Zod on startup — missing or invalid values will produce a clear error.
All data lives under $AGENTARA_HOME (~/.agentara by default):
~/.agentara/
├── config.yaml # Configuration file
├── workspace/ # Agent workspace
├── sessions/ # Session JSONL files
├── memory/ # Agent memory
└── data/ # SQLite databases
src/
├── shared/ # Cross-layer types, utilities, conventions
│ ├── agents/ # AgentRunner interface
│ ├── messaging/ # Message types, channels, gateway
│ ├── tasking/ # Task payload types
│ ├── sessioning/ # Session types
│ ├── config/ # Paths and configuration
│ ├── logging/ # Pino logger
│ └── utils/ # Pure utilities
├── kernel/ # Core orchestration
│ ├── agents/ # Agent runner factory
│ ├── sessioning/ # Session, SessionManager
│ ├── tasking/ # TaskDispatcher (Bunqueue)
│ └── messaging/ # Multi-channel message gateway
├── community/ # Provider implementations
│ ├── anthropic/ # Claude agent runner
│ └── feishu/ # Feishu/Lark messaging channel
├── server/ # Hono API server
├── data/ # Database connection
└── boot-loader/ # Bootstrap and integrity verification
web/ # React frontend (separate package)
| Command | Description |
|---|---|
bun run dev |
Start backend and frontend in dev mode |
bun run dev:server |
Start backend only |
bun run dev:web |
Start frontend only |
bun run check |
Type-check and lint |
bun run build:bin |
Compile to a standalone binary |
bun run build:js |
Build JS bundle |
Contributions are welcome! Here's how to get started:
git checkout -b feat/my-featurebun installbash
bun run check # Type-check + lintfeat: for new featuresfix: for bug fixeschore: for maintenancedocs: for documentationmainlogger from @/shared for logging — never use console.log directly@/shared directly, not from sub-paths_$ claude mcp add agentara \
-- python -m otcore.mcp_server <graph>