Submission: Easa-Cognee (Omid Mohajerani) - #34
Open
Omid-Mohajerani wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Solo submission for the Cognee Cloud Hackathon (2026-06-19) — Easa-Cognee by Omid Mohajerani.
Filled
templates/SUBMISSION.mdatcognee-cloud-hackathon-2026-06-19/submissions/easa-cognee/SUBMISSION.md. Full writeup below.Team Submission
Team
Company Brain Overview
Easa is a personal business assistant that answers your phone. Easa-Cognee gives it a self-improving brain on Cognee, with a twist: Easa has two sides, and the human-in-the-loop feedback step is itself a phone call. Customers call the owner's mobile +4915226002320 and reach Easa as a receptionist; it answers from the brain and every call is scored, with gaps it couldn't answer logged. The owner calls +4989309072485, asks "what's happening?", hears where Easa struggled, and teaches a fact or approves a behaviour change by voice — so the next customer call is better. You can literally hear the agent improve itself.
The Three Operations
Ingest
cognee.remember(...)viabrain/adapter.py; seed loaded byingest_seed.brain/core.py::ingest_seed, per-callbrain/core.py::remember_call.Query + Self-improve
lookupKnowledgetool →/recall→cognee.recall(...).brain/scorer.py: answered-vs-deflected, language consistency, callback captured, spam declined) and explicit owner feedback by voice.skill_feedbackproposal; on owner approval the brain applies it (run_improvement→improve) and re-renders behaviour. In parallel, call transcripts are distilled from session memory into the permanent graph so recall returns the new facts.brain/core.py::run_improvement,brain/scorer.py::score_call.Lint
/lint(and surfaced to the owner by voice for resolution).brain/core.py::lint.Self-Improvement Evidence
Reproducible, no phone required, via the harness. Demo business: an independent consultant; the seed deliberately omits the hourly rate so the first call hits a gap.
Baseline Run
success_score < 0.50(deflected).Improved Run
success_score >= 0.70.Reproduce:
python -m harness.improve --fake→ both scripted bad calls score< 0.50, generate proposals, and apply.Architecture
brain/— the only module touching Cognee (remember/recall/forget/improve/serve/push), pluscore.py,scorer.py, and afake_adapter.pymirroring the interface for deterministic tests.service/— FastAPI onhttps://cognee.voipdevops.com(Debian 12, Caddy TLS, shared-secret auth): a voice webhook (call start + end-of-call report),lookupKnowledge(customer), owner tools (reviewActivity/teachFact/applyImprovement), and/recall /remember /improve /lint /health.remember → recallround-trip confirmed.Cognee Cloud (optional, rewarded)
The brain is pushed to a Cognee Cloud tenant via
cloud_push.py(cognee.serve(url, api_key)+cognee.push(...)).session_id = call id): raw call transcripts and per-call working notes.session_id): durable business facts (services, hours, taught rate), recurring questions, and skills.COGNEE_CLOUD_URL+COGNEE_CLOUD_API_KEY, thenpython cloud_push.py.Agents / Skills
Reproduction
Environment variables required:
Demo
Links