Skip to content

Praxile-Alpha/Praxile

Repository files navigation

Praxile

Governed local experience for coding agents

Turn coding-agent runs into reviewable, reusable, repository-local experience.

简体中文 · English

Python 3.11+ MIT License Alpha Local First


Why Praxile?

d20b5d3d-0950-44ba-be6b-a86406aef4a0

Coding agents can fix code, run tools, and complete tasks.
But most of what they learn during a run disappears when the run ends.

Praxile adds a governed experience layer to each repository:

  • record how an agent run unfolded;
  • extract evidence from trajectories, tool results, and user feedback;
  • turn repeated lessons into reviewable proposals;
  • store only approved experience under .praxile/;
  • retrieve useful local experience in future runs.

Praxile is not a model trainer, a hidden memory system, or a fully autonomous agent.
It is an agent harness for making repository-specific experience safe to keep and easy to reuse.


What Praxile gives you

Need What Praxile adds
Reuse project knowledge Local memories, skills, rules, and failure patterns
Keep control Proposal-driven evolution; durable changes require review
Understand decisions praxile explain latest shows loaded experience and generated proposals
Use feedback Positive / negative feedback affects reward and future proposal confidence
Reduce model waste Role-based model routing; local models can act as semantic judges
Keep data local Repository state lives under .praxile/

Quick start

1. Install from source

git clone https://github.com/<your-org>/praxile.git
cd praxile
python -m pip install -e .

For development:

python -m pip install -e ".[dev]"

Optional extras:

python -m pip install -e ".[http]"     # HTTP gateway
python -m pip install -e ".[vector]"   # vector retrieval
python -m pip install -e ".[browser]"  # browser evidence capture
python -m playwright install chromium

2. Run the local demo

praxile demo --fast --accept-first

3. Initialize a repository

cd /path/to/your/project
praxile init
praxile setup
praxile doctor --online

4. Run a task

praxile run "Fix the failing parser test" --test-command "python -m pytest"

5. Review what Praxile learned

praxile review --interactive
praxile explain latest

6. Add feedback

praxile feedback latest --positive "Good fix. The scope was correct."
praxile feedback prop_123 --negative "This proposal is too generic."

Architecture at a glance

flowchart LR
    classDef user fill:#EEF4FF,stroke:#5B8DEF,color:#16325C,stroke-width:1.5px;
    classDef runtime fill:#F6F8FA,stroke:#7B8794,color:#1F2937,stroke-width:1.5px;
    classDef exp fill:#EFFAF0,stroke:#45A66A,color:#12351F,stroke-width:1.5px;
    classDef review fill:#FFF7E8,stroke:#D8942A,color:#4A3200,stroke-width:1.5px;
    classDef model fill:#F7F0FF,stroke:#8B5CF6,color:#352063,stroke-width:1.5px;

    U["User task<br/>feedback"]:::user --> R["Praxile runtime<br/>run · record · reward"]:::runtime
    R --> E["Experience pipeline<br/>evidence · episode · pattern"]:::runtime
    E --> P["Reviewable proposals"]:::review
    P -->|accept| A["Local assets<br/>memory · skill · rule"]:::exp
    P -->|reject| X["Rejected history"]:::review
    A --> Q["Future retrieval"]:::exp
    Q --> R

    M["Model roles<br/>coding · extraction · judging"]:::model -. assist .-> R
    M -. assist .-> E
Loading

Core loop

flowchart LR
    classDef step fill:#F6F8FA,stroke:#7B8794,color:#1F2937,stroke-width:1.3px;
    classDef review fill:#FFF7E8,stroke:#D8942A,color:#4A3200,stroke-width:1.3px;
    classDef asset fill:#EFFAF0,stroke:#45A66A,color:#12351F,stroke-width:1.3px;

    A["Run"]:::step --> B["Reward"]:::step --> C["Evidence"]:::step --> D["Pattern"]:::step --> E["Proposal"]:::step --> F["Review"]:::review
    F -->|accept| G["Local asset"]:::asset
    F -->|reject| H["No durable change"]:::review
    G --> I["Retrieve next time"]:::asset --> A
Loading

Main concepts

Concept Meaning
Trajectory What happened during a run
Evidence Structured facts extracted from a trajectory
Episode A learnable slice of a run
Pattern A recurring project-specific lesson
Proposal A reviewable durable change
Asset Approved memory, skill, rule, or failure pattern

Common commands

praxile init                 Initialize .praxile in the current repository
praxile setup                Configure providers and model roles
praxile demo --fast          Run a local self-evolution demo
praxile run "..."            Execute an agent task
praxile review --interactive Review pending proposals
praxile explain latest       Explain retrieval, reward, and proposals
praxile feedback latest ...  Add explicit feedback
praxile doctor --online      Validate configuration and local state

Local state

Praxile writes repository-local state under .praxile/.

.praxile/
  config.json
  memory/
  skills/
  rules/
  experience/
    evidence/
    episodes/
    patterns/
    proposals/
    feedback/
  db/
  logs/
  backups/

Safety boundaries

Praxile is designed around governed evolution.

It does:

  • record trajectories;
  • compute reward reports;
  • extract evidence and patterns;
  • generate reviewable proposals;
  • retrieve approved local experience;
  • incorporate explicit feedback.

It does not:

  • fine-tune models;
  • silently rewrite long-term memory;
  • auto-approve project rules;
  • export project knowledge to hidden global memory;
  • replace human review.

Project status

Praxile is currently alpha.

Available:

  • repository-local experience
  • proposal-driven evolution
  • hybrid reward
  • user feedback loop
  • model roles
  • semantic judges
  • pattern mining
  • asset lifecycle governance

Experimental:

  • HTTP gateway
  • browser adapter
  • production hardening

Documentation

Recommended next reads:

  • docs/GETTING_STARTED.md
  • docs/ARCHITECTURE.md
  • docs/CONFIGURATION.md
  • docs/STATE_LAYOUT.md
  • docs/experience-governance.md
  • docs/proposal-decision-guide.md

Contributing

Contributions are welcome.

Good first areas:

  • model-role ergonomics
  • retrieval quality
  • semantic-judge evaluation
  • proposal review UX
  • explainability
  • experience governance

Please read CONTRIBUTING.md and SECURITY.md before submitting changes.


License

MIT License. See LICENSE.

About

Praxile v0.1.0-alpha: Governed local experience layer for coding agents

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages