Skip to main content

A local-first, extensible AI agent framework in Python

Project description

Tiphys

The autonomous research agent that learns.

License Python 3.11+

Drop Tiphys into any system. It explores, hypothesizes, experiments, and builds knowledge over time. The longer it runs, the deeper it understands.

Powered by the Castor security kernel for checkpoint/replay, budget control, and human-in-the-loop approval.

Early alpha. APIs will change. Feedback welcome.

Install

pip install tiphys-ai

Quick Start

# Interactive setup (configure LLM provider + API key)
tiphys onboard

# Run autonomous research on a system
tiphys research "Find performance bottlenecks in this API"

# View what the agent has learned
tiphys genome

# Start the web gateway
tiphys gateway

What It Does

Research — Give it a goal. It decomposes the goal into questions, investigates each one (hypothesis → experiment → conclusion), and writes findings as human-readable markdown documents.

Learn — It learns from failures. The evolution subsystem analyzes past mistakes, distills them into skills and knowledge, and injects them into the agent's prompt. It gets better over time.

Safe — Budget caps prevent runaway costs. Human-in-the-loop gates block risky actions. Checkpoint/replay enables rollback and time-travel debugging.

Key Capabilities

  • Autonomous Research — Planner decomposes goals, Researcher runs hypothesis-experiment-conclusion loops, findings accumulate as documents
  • Self-Evolution — Consolidator learns from failures, Tool Forge builds new tools, Arena validates via counterfactual replay
  • 22 Built-in Tools — File I/O, code search (grep/glob), structured editing, shell execution, memory, scheduling
  • Document-Based Knowledge — Findings stored as markdown with frontmatter (confidence, evidence, tags) — readable by humans and LLMs
  • Checkpoint/Replay — Crash recovery, time-travel rollback, fork for counterfactual evaluation
  • Multi-Agent — Spawn sub-agents with isolated sessions and delegated budgets
  • Proactive — Background observer suggests actions (uncommitted changes, untested code, new learnings)

License

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiphys_ai-0.4.0.tar.gz (7.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tiphys_ai-0.4.0-py3-none-any.whl (258.9 kB view details)

Uploaded Python 3

File details

Details for the file tiphys_ai-0.4.0.tar.gz.

File metadata

  • Download URL: tiphys_ai-0.4.0.tar.gz
  • Upload date:
  • Size: 7.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tiphys_ai-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4fd6621cf4de92d1c1fd19f2ffe8d3bb21a70044b6674a08a3ab533794ee5587
MD5 687e174c77e01c3fa9c7d576fb017754
BLAKE2b-256 238102a8525c915c0b0bed042d5c2ae795c6d0f73ff5212b180d8306e423b365

See more details on using hashes here.

File details

Details for the file tiphys_ai-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: tiphys_ai-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 258.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tiphys_ai-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afbc19d08fb205578a3676c118b5b880e5298b7cacb7d54b33c0f8481c0658aa
MD5 4bfc8f539259f051bed2c8bfbeeaaa5f
BLAKE2b-256 47039d8900792370cf1916242c2d11b9ff78114fb8958445c448e972fc6e705d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page