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.1.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.1-py3-none-any.whl (266.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tiphys_ai-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 dac8a0c687059cd1a75752f8a3320a0174ddd8b4822c6f2035848c1d7dc65675
MD5 2c54edddd9db696dc1618d510a293649
BLAKE2b-256 7ddc8b4f66a942b9ead323d563a67ce1871b8a96099a54d9c5599cd75f81ed3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tiphys_ai-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 266.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c7d9fba262d3244e2817e10ac6badfd26baa510481e3273c92af894d3bc9a235
MD5 45b2f145a73ef4bc95ffdf0b148d19f0
BLAKE2b-256 4ec6f2b20bb9781526693e9f7502d436e3e168c642718935ca84f48895ef25d7

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