Let $(a_n)\subset (\frac{1}{2},1)$. Define the sequence $x_0=0,\displaystyle x_{n+1}=\frac{a_{n+1}+x_n}{1+a_{n+1}x_n}$. Is this sequence convergent? If yes find the limit.
1. **Base Case:**
   We start by verifying the base case for \( n = 0 \). Given \( x_0 = 0 \) and \( x_1 = a_1 \in \left( \frac{1}{2}, 1 \right) \), it is clear that \( 0 \leq x_0 < x_1 < 1 \).

2. **Inductive Step:**
   Assume that for some \( k \geq 0 \), \( 0 \leq x_k < x_{k+1} < 1 \). We need to show that \( 0 \leq x_{k+1} < x_{k+2} < 1 \).

   - From the definition of the sequence, we have:
     \[
     x_{k+2} = \frac{a_{k+2} + x_{k+1}}{1 + a_{k+2} x_{k+1}}
     \]
   - Since \( a_{k+2} \in \left( \frac{1}{2}, 1 \right) \) and \( 0 \leq x_{k+1} < 1 \), we need to show that \( 0 \leq x_{k+2} < 1 \).

   - Consider the inequality \( (1 - a_{k+2})(1 - x_{k+1}) > 0 \):
     \[
     1 - a_{k+2} > 0 \quad \text{and} \quad 1 - x_{k+1} > 0
     \]
     This implies:
     \[
     1 > a_{k+2} \quad \text{and} \quad 1 > x_{k+1}
     \]
     Therefore:
     \[
     1 > \frac{a_{k+2} + x_{k+1}}{1 + a_{k+2} x_{k+1}} = x_{k+2}
     \]

   - Next, consider the inequality \( 1 + a_{k+2} x_{k+1} > 0 \):
     \[
     1 > x_{k+1} \quad \text{and} \quad a_{k+2} > 0
     \]
     Therefore:
     \[
     1 + a_{k+2} x_{k+1} > 0
     \]

   - Finally, since \( x_{k+1} > 0 \):
     \[
     x_{k+2} = \frac{a_{k+2} + x_{k+1}}{1 + a_{k+2} x_{k+1}} > x_{k+1} > 0
     \]

   - Thus, \( 0 \leq x_{k+1} < x_{k+2} < 1 \).

   By induction, \( 0 \leq x_n < x_{n+1} < 1 \) for all \( n \geq 0 \).

3. **Monotonic Convergence Theorem:**
   Since \( (x_n) \) is a bounded and strictly increasing sequence, it must converge. Let \( l \in [0, 1] \) be its limit.

4. **Limit Calculation:**
   Since \( (a_n) \subset \left( \frac{1}{2}, 1 \right) \), it has a convergent subsequence \( (a_{n_k}) \) with limit \( w \in \left[ \frac{1}{2}, 1 \right] \).

   - Taking the limit as \( k \to \infty \) in the recurrence relation:
     \[
     x_{n_k} = \frac{a_{n_k} + x_{n_k-1}}{1 + a_{n_k} x_{n_k-1}}
     \]
     We get:
     \[
     l = \frac{w + l}{1 + w l}
     \]

   - Solving for \( l \):
     \[
     l (1 + w l) = w + l
     \]
     \[
     l + w l^2 = w + l
     \]
     \[
     w l^2 = w
     \]
     \[
     l^2 = 1
     \]
     \[
     l = 1 \quad \text{(since \( l \in [0, 1] \))}
     \]

Therefore, the sequence \( (x_n) \) converges to 1.

The final answer is \( \boxed{ 1 } \)